Represents a policy which describes whether a package can be downloaded.
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) |
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. |