Show / Hide Table of Contents

Class CspDirectiveBuilder<TDirective>

Represents all directive builder classes.

Inheritance
Object
CspDirectiveBuilder<TDirective>
CspPluginBuilder
CspSandboxBuilder
CspSourceDirectiveBuilder<TSourceDirective, TBuilder>
CspToSourceDirectiveBuilder<TSourceDirective, TBuilder>
Inherited Members
Object.Equals(Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: IRM.AspNetCore.Http.Headers.Builder
Assembly: IRM.AspNetCore.Mvc.dll
Syntax
public abstract class CspDirectiveBuilder<TDirective>
    where TDirective : ContentSecurityPolicyDirective, new()
Type Parameters
TDirective

The type of directive that the implementation is building.

Fields

Directive

The instance of the ContentSecurityPolicyDirective the builder is configuring.

Declaration
protected readonly TDirective Directive
Field Value
TDirective

Methods

Build()

Builds the directive to be used in ContentSecurityPolicyConfiguration.

Declaration
public virtual TDirective Build()
Returns
TDirective

The directive to be used in ContentSecurityPolicyConfiguration.

Back to top Generated by DocFX