mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-16 21:24:54 +00:00
Updates RunRouteAction overloads to work better with MobileControl plugin
This commit is contained in:
@@ -273,9 +273,9 @@ namespace PepperDash.Essentials
|
|||||||
/// <param name="routeKey"></param>
|
/// <param name="routeKey"></param>
|
||||||
/// <param name="souceListKey"></param>
|
/// <param name="souceListKey"></param>
|
||||||
/// <param name="successCallback"></param>
|
/// <param name="successCallback"></param>
|
||||||
public void RunRouteAction(string routeKey, string souceListKey)
|
public void RunRouteAction(string routeKey, string sourceListKey)
|
||||||
{
|
{
|
||||||
throw new NotImplementedException();
|
RunRouteAction(routeKey, new Action(() => { }));
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -284,8 +284,13 @@ namespace PepperDash.Essentials
|
|||||||
/// <param name="routeKey"></param>
|
/// <param name="routeKey"></param>
|
||||||
/// <param name="souceListKey"></param>
|
/// <param name="souceListKey"></param>
|
||||||
/// <param name="successCallback"></param>
|
/// <param name="successCallback"></param>
|
||||||
public void RunRouteAction(string routeKey, string souceListKey, Action successCallback)
|
public void RunRouteAction(string routeKey, string sourceListKey, Action successCallback)
|
||||||
{
|
{
|
||||||
|
if (string.IsNullOrEmpty(sourceListKey))
|
||||||
|
{
|
||||||
|
RunRouteAction(routeKey, successCallback);
|
||||||
|
}
|
||||||
|
else
|
||||||
throw new NotImplementedException();
|
throw new NotImplementedException();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -403,8 +403,13 @@ namespace PepperDash.Essentials
|
|||||||
/// <param name="routeKey"></param>
|
/// <param name="routeKey"></param>
|
||||||
/// <param name="souceListKey"></param>
|
/// <param name="souceListKey"></param>
|
||||||
/// <param name="successCallback"></param>
|
/// <param name="successCallback"></param>
|
||||||
public void RunRouteAction(string routeKey, string souceListKey)
|
public void RunRouteAction(string routeKey, string sourceListKey)
|
||||||
{
|
{
|
||||||
|
if (string.IsNullOrEmpty(sourceListKey))
|
||||||
|
{
|
||||||
|
RunRouteAction(routeKey, new Action(() => { }));
|
||||||
|
}
|
||||||
|
else
|
||||||
throw new NotImplementedException();
|
throw new NotImplementedException();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -414,8 +419,13 @@ namespace PepperDash.Essentials
|
|||||||
/// <param name="routeKey"></param>
|
/// <param name="routeKey"></param>
|
||||||
/// <param name="souceListKey"></param>
|
/// <param name="souceListKey"></param>
|
||||||
/// <param name="successCallback"></param>
|
/// <param name="successCallback"></param>
|
||||||
public void RunRouteAction(string routeKey, string souceListKey, Action successCallback)
|
public void RunRouteAction(string routeKey, string sourceListKey, Action successCallback)
|
||||||
{
|
{
|
||||||
|
if (string.IsNullOrEmpty(sourceListKey))
|
||||||
|
{
|
||||||
|
RunRouteAction(routeKey, successCallback);
|
||||||
|
}
|
||||||
|
else
|
||||||
throw new NotImplementedException();
|
throw new NotImplementedException();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user