Class PermissionsPolicyHeaderValue
Represents value of Permissions-Policy header.
Inheritance
System.Object
PermissionsPolicyHeaderValue
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
public class PermissionsPolicyHeaderValue
Constructors
PermissionsPolicyHeaderValue(PolicyControlledFeature[])
Instantiates a new PermissionsPolicyHeaderValue.
Declaration
public PermissionsPolicyHeaderValue(params PolicyControlledFeature[] features)
Parameters
Type | Name | Description |
---|---|---|
PolicyControlledFeature[] | features | The features controlled by Permissions Policy. |
Properties
Features
Gets or sets the features controlled by Permissions Policy.
Declaration
public IList<PolicyControlledFeature> Features { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<PolicyControlledFeature> |
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()