Esempio n. 1
0
 public static Action Create(IActionCreateIo input)
 {
     Debug.Assert(input.Id != null, "input.Id != null");
     return(new Action(input.Id.Value)
     {
         IsAllowed = input.IsAllowed,
         IsAudit = input.IsAudit,
         Description = input.Description,
         IsPersist = input.IsPersist,
         Name = input.Name,
         OntologyId = input.OntologyId,
         SortCode = input.SortCode,
         Verb = input.Verb
     });
 }
Esempio n. 2
0
 public static Action Create(IActionCreateIo input)
 {
     Debug.Assert(input.Id != null, "input.Id != null");
     return new Action
     {
         IsAllowed = input.IsAllowed,
         IsAudit = input.IsAudit,
         Id = input.Id.Value,
         Description = input.Description,
         IsPersist = input.IsPersist,
         Name = input.Name,
         OntologyId = input.OntologyId,
         SortCode = input.SortCode,
         Verb = input.Verb
     };
 }
Esempio n. 3
0
 public static void AddAction(this IAcDomain acDomain, IAcSession acSession, IActionCreateIo input)
 {
     acDomain.Handle(new AddActionCommand(acSession, input));
 }
Esempio n. 4
0
 public static void AddAction(this IAcDomain acDomain, IAcSession acSession, IActionCreateIo input)
 {
     acDomain.Handle(new AddActionCommand(acSession, input));
 }