public AcsNamespace AddServiceIdentity(Action <ServiceIdentitySpec> configAction) { Guard.NotNull(() => configAction, configAction); var spec = new ServiceIdentitySpec(); configAction(spec); this.commands.Add(new AddServiceIdentityCommand(spec)); return(this); }
public AddServiceIdentityCommand(ServiceIdentitySpec serviceIdentitySpec) { Guard.NotNull(() => serviceIdentitySpec, serviceIdentitySpec); this.serviceIdentitySpec = serviceIdentitySpec; }