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