Exemplo n.º 1
0
        public AcsNamespace AddServiceIdentity(Action <ServiceIdentitySpec> configAction)
        {
            Guard.NotNull(() => configAction, configAction);

            var spec = new ServiceIdentitySpec();

            configAction(spec);

            this.commands.Add(new AddServiceIdentityCommand(spec));

            return(this);
        }
Exemplo n.º 2
0
        public AddServiceIdentityCommand(ServiceIdentitySpec serviceIdentitySpec)
        {
            Guard.NotNull(() => serviceIdentitySpec, serviceIdentitySpec);

            this.serviceIdentitySpec = serviceIdentitySpec;
        }