Пример #1
0
        public DocumentVisibility AddConfiguration(DocumentVisibilityConfiguration value)
        {
            if (value == null)
            {
                throw new ArgumentNullException("Argument cannot be null");
            }

            _configurations.Add(value);
            return(this);
        }
        public OneSpanSign.API.DocumentVisibilityConfiguration ToAPIVisibilityConfiguration()
        {
            if (sdkConfiguration == null)
            {
                return(apiConfiguration);
            }

            OneSpanSign.API.DocumentVisibilityConfiguration configuration = new OneSpanSign.API.DocumentVisibilityConfiguration();
            configuration.DocumentUid = sdkConfiguration.DocumentUid;
            configuration.RoleUids    = sdkConfiguration.SignerIds;
            return(configuration);
        }
 public DocumentVisibilityConfigurationConverter(OneSpanSign.API.DocumentVisibilityConfiguration apiConfiguration)
 {
     this.apiConfiguration = apiConfiguration;
 }