InedoSDK Reference
Version:

AssetSourceId Class

Represents a unique identifier for an asset directory

Inheritance Hierarchy

  • object
    • System.ValueType
      • Inedo.Extensions.PackageSources.AssetSourceId

Syntax

public sealed class AssetSourceId : System.ValueType, IEquatable<T>

Constructors

Name Description
AssetSourceId(string idString)

Initializes a new instance of the AssetSourceId struct.

Properties

Name Description
Format

Gets the ID format.

Remarks

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]

Strings with a "/" are a ProGetServiceCredential name + Asset Directory, and "feed::" is shorthand for "global::ProGet/"