Exemplo n.º 1
0
 private void OnProviderValueChanged(Entity.ClientIdpRestriction restriction)
 {
     restriction.Id = Guid.NewGuid().ToString();
     Model.IdentityProviderRestrictions.Add(restriction);
     _provider = new Entity.ClientIdpRestriction();
     HandleModificationState.EntityCreated(restriction);
 }
Exemplo n.º 2
0
 private void OnProviderDeletedClicked(Entity.ClientIdpRestriction restriction)
 {
     Model.IdentityProviderRestrictions.Remove(restriction);
     HandleModificationState.EntityDeleted(restriction);
 }
 private void OnProviderValueChanged(Entity.ClientIdpRestriction restriction)
 {
     Model.IdentityProviderRestrictions.Add(new Entity.ClientIdpRestriction());
     HandleModificationState.EntityCreated(restriction);
 }