public CspOptions BuildCspOptions()
        {
            _options.Script = AllowScripts.BuildOptions();
            _options.Style  = AllowStyles.BuildOptions();
#pragma warning disable CS0618 // Type or member is obsolete
            _options.Child = AllowChildren.BuildOptions();
#pragma warning restore CS0618 // Type or member is obsolete
            _options.Connect        = AllowConnections.BuildOptions();
            _options.Manifest       = AllowManifest.BuildOptions();
            _options.Default        = ByDefaultAllow.BuildOptions();
            _options.Font           = AllowFonts.BuildOptions();
            _options.FormAction     = AllowFormActions.BuildOptions();
            _options.FrameAncestors = AllowFraming.BuildOptions();
            _options.Img            = AllowImages.BuildOptions();
            _options.Media          = AllowAudioAndVideo.BuildOptions();
            Tuple <CspObjectSrcOptions, CspPluginTypesOptions> pluginOptions = AllowPlugins.BuildOptions();
            _options.Object          = pluginOptions.Item1;
            _options.PluginTypes     = pluginOptions.Item2;
            _options.Sandbox         = _sandboxBuilder.BuildOptions();
            _options.Frame           = AllowFrames.BuildOptions();
            _options.Worker          = AllowWorkers.BuildOptions();
            _options.Prefetch        = AllowPrefetch.BuildOptions();
            _options.BaseUri         = AllowBaseUri.BuildOptions();
            _options.RequireSri      = RequireSri.BuildOptions();
            _options.OnSendingHeader = OnSendingHeader;
            return(_options);
        }
        public CspOptions BuildCspOptions()
        {
            _options.Script         = AllowScripts.BuildOptions();
            _options.Style          = AllowStyles.BuildOptions();
            _options.Child          = AllowChildren.BuildOptions();
            _options.Connect        = AllowConnections.BuildOptions();
            _options.Default        = ByDefaultAllow.BuildOptions();
            _options.Font           = AllowFonts.BuildOptions();
            _options.FormAction     = AllowFormActions.BuildOptions();
            _options.FrameAncestors = AllowFraming.BuildOptions();
            _options.Img            = AllowImages.BuildOptions();
            _options.Media          = AllowAudioAndVideo.BuildOptions();
            Tuple <CspObjectSrcOptions, CspPluginTypesOptions> pluginOptions = AllowPlugins.BuildOptions();

            _options.Object      = pluginOptions.Item1;
            _options.PluginTypes = pluginOptions.Item2;
            _options.Sandbox     = _sandboxBuilder.BuildOptions();
            return(_options);
        }