PackageAccessPolicy Class

Represents a policy which describes whether a package can be downloaded.

Inheritance Hierarchy

Syntax

public sealed class PackageAccessPolicy : System.ValueType

Constructors

Name Description
PackageAccessPolicy(bool canDownload, string description)

Initializes a new instance of the PackageAccessPolicy struct.

PackageAccessPolicy(System.Collections.Generic.IReadOnlyList<PackageAccessPolicy> policies)

Properties

Name Description
Allowed

Gets a PackageAccessPolicy that allows access.

CanDownload

Gets a value indicating whether the package can be downloaded.

Description

Gets a description of the policy.