public OneSpanSign.Sdk.SigningUiOptions ToSDKSigningUiOptions() { if (apiSigningUiOptions == null) { return(sdkSigningUiOptions); } OneSpanSign.Sdk.SigningUiOptions result = new OneSpanSign.Sdk.SigningUiOptions(); result.CompleteSummaryOptions = new CompleteSummaryOptionsConverter(apiSigningUiOptions.CompleteSummaryOptions).ToSDKCompleteSummaryOptions(); result.InpersonWelcomeOptions = new InpersonWelcomeOptionsConverter(apiSigningUiOptions.InpersonWelcomeOptions).ToSDKInpersonWelcomeOptions(); result.InpersonHostThankYouOptions = new InpersonHostThankYouOptionsConverter(apiSigningUiOptions.InpersonHostThankYouOptions).ToSDKInpersonHostThankYouOptions(); result.NotaryWelcomeOptions = new NotaryWelcomeOptionsConverter(apiSigningUiOptions.NotaryWelcomeOptions).ToSDKNotaryWelcomeOptions(); result.NotaryHostThankYouOptions = new NotaryHostThankYouOptionsConverter(apiSigningUiOptions.NotaryHostThankYouOptions).ToSDKNotaryHostThankYouOptions(); result.OverviewOptions = new OverviewOptionsConverter(apiSigningUiOptions.OverviewOptions).ToSDKOverviewOptions(); return(result); }
public SigningUiOptionsConverter(OneSpanSign.Sdk.SigningUiOptions sdkSigningUiOptions) { this.sdkSigningUiOptions = sdkSigningUiOptions; }