Exemple #1
0
 public PermissionStateDto()
 {
     this._state = new PermissionState();
 }
Exemple #2
0
 public static CreatePermission ToCreatePermission(this PermissionState state)
 {
     return(state.ToCreatePermission <CreatePermission>());
 }
Exemple #3
0
 public static DeletePermission ToDeletePermission(this PermissionState state)
 {
     return(state.ToDeletePermission <DeletePermission>());
 }
Exemple #4
0
 public static MergePatchPermission ToMergePatchPermission(this PermissionState state)
 {
     return(state.ToMergePatchPermission <MergePatchPermission>());
 }
Exemple #5
0
 public static IPermissionCommand ToCreateOrMergePatchPermission(this PermissionState state)
 {
     return(state.ToCreateOrMergePatchPermission <CreatePermission, MergePatchPermission>());
 }