Show / Hide Table of Contents

Class MultipleFeaturePolicyHeaderValue

Represents value of Feature-Policy header.

Inheritance
System.Object
FeaturePolicyHeaderValue
MultipleFeaturePolicyHeaderValue
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 MultipleFeaturePolicyHeaderValue : FeaturePolicyHeaderValue

Constructors

MultipleFeaturePolicyHeaderValue()

Instantiates a new MultipleFeaturePolicyHeaderValue with single default FeaturePolicy.

Declaration
public MultipleFeaturePolicyHeaderValue()

MultipleFeaturePolicyHeaderValue(FeaturePolicy[])

Instantiates a new MultipleFeaturePolicyHeaderValue.

Declaration
public MultipleFeaturePolicyHeaderValue(params FeaturePolicy[] policies)
Parameters
Type Name Description
FeaturePolicy[] policies

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

Properties

Policies

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

Declaration
public IList<FeaturePolicy> Policies { get; }
Property Value
Type Description
System.Collections.Generic.IList<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