BuildMaster SDK Reference
Version:

SourceControlContext Class

Represents contextual information for source control operations.

Inheritance Hierarchy

  • object
    • Inedo.BuildMaster.Extensibility.Providers.SourceControl.SourceControlContext

Syntax

public class SourceControlContext

Constructors

Name Description
SourceControlContext

Properties

Name Description
Branch

Gets the branch that should be used by source control operations.

Label

Gets the label/tag that should be used by source control operations, or null (Nothing in Visual Basic) if no label/tag is specified.

Repository

Gets the selected repository for multiple repository providers.

RepositoryRelativePath

Gets the source control path relative to the repository root.

WorkspaceDiskPath

Gets the disk path of the current repository/workspace that will be used for source control operations.

Methods

Name Description
ToLegacyPathString

Converts this instance to a pre-v4.7 string format.