public static Process Create(IProcessCreateIo input) { Debug.Assert(input.Id != null, "input.Id != null"); return(new Process(input.Id.Value) { Type = input.Type, IsEnabled = input.IsEnabled, Description = input.Description, Name = input.Name, NetPort = input.NetPort, OntologyId = input.OntologyId, CatalogCode = input.CatalogCode }); }
public static Process Create(IProcessCreateIo input) { Debug.Assert(input.Id != null, "input.Id != null"); return new Process { Type = input.Type, Id = input.Id.Value, IsEnabled = input.IsEnabled, Description = input.Description, Name = input.Name, NetPort = input.NetPort, OntologyId = input.OntologyId, CatalogCode = input.CatalogCode }; }
public static void AddProcess(this IAcDomain acDomain, IAcSession acSession, IProcessCreateIo input) { acDomain.Handle(new AddProcessCommand(acSession, input)); }
public static void AddProcess(this IAcDomain acDomain, IAcSession acSession, IProcessCreateIo input) { acDomain.Handle(new AddProcessCommand(acSession, input)); }