Jan-2021 Added VPN URL connection option.
This commit is contained in:
@@ -13,7 +13,20 @@ namespace Sarand.LogisticsMgr.Mobile.Core.App
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
// Construction.
|
||||
public SlmCommand_Mobile (ExecuteFn executeFn, CanExecuteFn canExecuteFn = null) :
|
||||
/// <summary>
|
||||
/// Command with only Execute method - can always be executed.
|
||||
/// </summary>
|
||||
/// <param name="executeFn"></param>
|
||||
public SlmCommand_Mobile (ExecuteFn executeFn) :
|
||||
this(executeFn, CanAlwaysExecute)
|
||||
{
|
||||
}
|
||||
/// <summary>
|
||||
/// Command with Execute and CanExecute methods.
|
||||
/// </summary>
|
||||
/// <param name="executeFn"></param>
|
||||
/// <param name="canExecuteFn"></param>
|
||||
public SlmCommand_Mobile (ExecuteFn executeFn, CanExecuteFn canExecuteFn) :
|
||||
base(executeFn, canExecuteFn)
|
||||
{
|
||||
}
|
||||
@@ -29,6 +42,13 @@ namespace Sarand.LogisticsMgr.Mobile.Core.App
|
||||
protected SlmUserContext_Mobile UserContext { get { return SessionProfile.UserContext_Mobile; } }
|
||||
protected SlmSecurityProfile SecurityProfile { get { return UserContext.SecurityProfile; } }
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
// Execution.
|
||||
public static bool CanAlwaysExecute (object commandParam)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
}
|
||||
//=======================================================================
|
||||
|
||||
Reference in New Issue
Block a user