Exemplo n.º 1
0
 public static Project Create(EventAudit eventAudit, Guid id, string name)
 {
     return(new Project(id, name, new List <Environment>(), new List <Toggle>(), AggregateAudit.Create(eventAudit)));
 }
Exemplo n.º 2
0
 public static Account Create(EventAudit eventAudit, Guid accountId)
 {
     return(new Account(accountId, new List <Project>(), AggregateAudit.Create(eventAudit)));
 }
Exemplo n.º 3
0
 public static Environment Create(EventAudit eventAudit, Guid projectId, string key, string name)
 {
     return(new Environment(projectId, key, name, AggregateAudit.Create(eventAudit)));
 }
Exemplo n.º 4
0
 public static Toggle Create(EventAudit eventAudit, Guid projectId, string key, string name)
 {
     return(new Toggle(projectId, key, name, AggregateAudit.Create(eventAudit)));
 }