public OneSpanSign.API.SigningUiOptions ToAPISigningUiOptions()
        {
            if (sdkSigningUiOptions == null)
            {
                return(apiSigningUiOptions);
            }

            OneSpanSign.API.SigningUiOptions result = new OneSpanSign.API.SigningUiOptions();

            result.CompleteSummaryOptions      = new CompleteSummaryOptionsConverter(sdkSigningUiOptions.CompleteSummaryOptions).ToAPICompleteSummaryOptions();
            result.InpersonWelcomeOptions      = new InpersonWelcomeOptionsConverter(sdkSigningUiOptions.InpersonWelcomeOptions).ToAPIInpersonWelcomeOptions();
            result.InpersonHostThankYouOptions = new InpersonHostThankYouOptionsConverter(sdkSigningUiOptions.InpersonHostThankYouOptions).ToAPIInpersonHostThankYouOptions();
            result.NotaryWelcomeOptions        = new NotaryWelcomeOptionsConverter(sdkSigningUiOptions.NotaryWelcomeOptions).ToAPINotaryWelcomeOptions();
            result.NotaryHostThankYouOptions   = new NotaryHostThankYouOptionsConverter(sdkSigningUiOptions.NotaryHostThankYouOptions).ToAPINotaryHostThankYouOptions();
            result.OverviewOptions             = new OverviewOptionsConverter(sdkSigningUiOptions.OverviewOptions).ToAPIOverviewOptions();

            return(result);
        }
 public SigningUiOptionsConverter(OneSpanSign.API.SigningUiOptions apiSigningUiOptions)
 {
     this.apiSigningUiOptions = apiSigningUiOptions;
 }