Show / Hide Table of Contents

Class SingleFeaturePolicyHeaderValue

Represents value of Feature-Policy header.

Inheritance
System.Object
FeaturePolicyHeaderValue
SingleFeaturePolicyHeaderValue
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Lib.AspNetCore.Security.Http.Headers
Assembly: Lib.AspNetCore.Security.dll
Syntax
[Obsolete("Feature Policy has been replaced with Permissions Policy.")]
public class SingleFeaturePolicyHeaderValue : FeaturePolicyHeaderValue

Constructors

SingleFeaturePolicyHeaderValue()

Instantiates a new SingleFeaturePolicyHeaderValue with default Policy.

Declaration
public SingleFeaturePolicyHeaderValue()

SingleFeaturePolicyHeaderValue(FeaturePolicy)

Instantiates a new SingleFeaturePolicyHeaderValue.

Declaration
public SingleFeaturePolicyHeaderValue(FeaturePolicy policy)
Parameters
Type Name Description
FeaturePolicy policy

The policy to selectively enable and disable use of various browser features and APIs.

Properties

Policy

Gets or sets the policy to selectively enable and disable use of various browser features and APIs.

Declaration
public FeaturePolicy Policy { get; }
Property Value
Type Description
FeaturePolicy

Methods

ToString()

Gets the string representation of header value.

Declaration
public override string ToString()
Returns
Type Description
System.String

The string representation of header value.

Overrides
System.Object.ToString()
Back to top Copyright © 2016 - 2023 Tomasz Pęczek