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

            var spec = new ServiceIdentityWithX509CertificateSpec();
            configAction(spec);

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

            return this;
        }
        public AddServiceIdentityWithX509CertificateCommand(ServiceIdentityWithX509CertificateSpec serviceIdentityWithX509Spec)
        {
            Guard.NotNull(() => serviceIdentityWithX509Spec, serviceIdentityWithX509Spec);

            this.serviceIdentityWithX509Spec = serviceIdentityWithX509Spec;
        }