Represents a unique identifier for an asset directory
Name | Description | |
---|---|---|
AssetSourceId(string idString) |
Initializes a new instance of the AssetSourceId struct. |
Name | Description | |
---|---|---|
Format |
Gets the ID format. |
Name | Description | |
---|---|---|
Equals(object obj) | ||
GetAllAssetSourcesAsync(Inedo.Extensibility.Credentials.ICredentialResolutionContext context, System.Threading.CancellationToken cancellationToken) | ||
GetAssetDirectoryName |
Returns the asset directory name if Format is AssetSourceIdFormat.ProGetAssetDirectory; otherwise throws. |
|
GetHashCode | ||
GetProGetServiceCredentialName |
Returns the credential name if Format is AssetSourceIdFormat.ProGetAssetDirectory; otherwise throws. |
|
GetResourceName |
Returns the asset directory name if Format is AssetSourceIdFormat.ProGetAssetDirectory; otherwise throws. |
|
ToString |
This effectively wraps a string that can take one of two formats and provides helper methods.
Example strings include:
global::ProGet/MyDirectoryName [Format=ProGetAssetDirectory]
feed::MyDirectoryName [Format=ProGetAssetDirectory]
global::ProGetOtherInstance/MyOtherDirectoryName [Format=ProGetAssetDirectory]
MyNuGetOrgResource [Format=SecureResource]