Пример #1
0
 private void OnClaimValueChanged(Entity.ApiScopeClaim claim)
 {
     Model.ApiScopeClaims.Add(claim);
     _claim   = new Entity.ApiScopeClaim();
     claim.Id = Guid.NewGuid().ToString();
     HandleModificationState.EntityCreated(claim);
 }
 private void OnClaimValueChanged(Entity.ApiScopeClaim claim)
 {
     claim.ApiScpope = Model;
     Model.ApiScopeClaims.Add(new Entity.ApiScopeClaim {
         ApiScpope = Model
     });
     HandleModificationState.EntityCreated(claim);
 }
Пример #3
0
 private void OnClaimDeletedClicked(Entity.ApiScopeClaim claim)
 {
     Model.ApiScopeClaims.Remove(claim);
     HandleModificationState.EntityDeleted(claim);
 }