/// <summary>
        /// Constructor overload implementation
        /// </summary>
        public AdapterPresentation(AuthenticationProvider provider, IAuthenticationContext context, string message, ProviderPageMode suite, bool disableoptions = false)
        {
            if (provider == null)
            {
                throw new ArgumentNullException("Provider");
            }
            if (provider.Config == null)
            {
                throw new ArgumentNullException("Config");
            }
            switch (provider.Config.UiKind)
            {
            case ADFSUserInterfaceKind.Default2019:
                _adapter = new AdapterPresentation2019(provider, context, message, suite, disableoptions);
                _adapter.UseUIPaginated = provider.Config.UseUIPaginated;
                break;

            default:
                _adapter = new AdapterPresentationDefault(provider, context, message, suite, disableoptions);
                _adapter.UseUIPaginated = false;
                break;
            }
        }
        /// <summary>
        /// Constructor implementation
        /// </summary>
        public AdapterPresentation(AuthenticationProvider provider, IAuthenticationContext context)
        {
            if (provider == null)
            {
                throw new ArgumentNullException("Provider");
            }
            if (provider.Config == null)
            {
                throw new ArgumentNullException("Config");
            }
            switch (provider.Config.UiKind)
            {
            case ADFSUserInterfaceKind.Default2019:
                _adapter = new AdapterPresentation2019(provider, context);
                _adapter.UseUIPaginated = provider.Config.UseUIPaginated;
                break;

            default:
                _adapter = new AdapterPresentationDefault(provider, context);
                _adapter.UseUIPaginated = false;
                break;
            }
        }