src/HardHat/ContentSecurityPolicyBuilder.cs
/// <summary>
/// The default-src is the default policy for loading content such as JavaScript, Images, CSS, Font's, AJAX requests, Frames, HTML5 Media.
/// </summary>
/// <param name="includeSelf"></param>
/// <param name=""></param>
/// <returns></returns>
The default-src is the default policy for loading content such as JavaScript, Images, CSS, Font's, AJAX requests, Frames, HTML5 Media.
The default - src is the default policy for loading content such as JavaScript Images CSS Font ' s AJAX requests Frames HTML5 Media .
public ContentSecurityPolicyBuilder WithDefaultSource(params string[] sources)
        {
            if(sources == null || sources.Length < 1)
            {
                throw new ArgumentException(nameof(sources));
            }
            Policy.DefaultSrc.UnionWith(sources);
            return this;
        }
public ContentSecurityPolicyBuilder WithDefaultSource ( params string [ ] sources ) { if ( sources == null || sources . Length < 1 ) { throw new ArgumentException ( nameof ( sources ) ) ; } Policy . DefaultSrc . UnionWith ( sources ) ; return this ; }
The default-src is the default policy for loading content such as JavaScript, Images, CSS, Font's, AJAX requests, Frames, HTML5 Media.
The default - src is the default policy for loading content such as JavaScript Images CSS Font ' s AJAX requests Frames HTML5 Media .
None
includeSelf
None
None