PackageAccessPolicy Structure

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

Inheritance Hierarchy

Syntax

public struct PackageAccessPolicy

Constructors

Name Description
PackageAccessPolicy(bool canDownload)

Initializes a new instance of the PackageAccessPolicy struct.

PackageAccessPolicy(bool canDownload, string description)

Initializes a new instance of the PackageAccessPolicy struct.

PackageAccessPolicy(System.Collections.Generic.IList<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.