Class CspDirectiveBuilder<TDirective>
Represents all directive builder classes.
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
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. |