Class VersionContext
Encapsulates state for a version request.
Inheritance
System.Object
VersionContext
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: SimpleVersion.Pipeline
Assembly: SimpleVersion.Abstractions.dll
Syntax
public class VersionContext : IVersionContext
Constructors
| Improve this Doc View SourceVersionContext(IVersionEnvironment, VersionConfiguration, VersionResult)
Initializes a new instance of the VersionContext class.
Declaration
public VersionContext(IVersionEnvironment environment, VersionConfiguration configuration, VersionResult result)
Parameters
Type | Name | Description |
---|---|---|
IVersionEnvironment | environment | The IVersionEnvironment for the invocation. |
VersionConfiguration | configuration | The VersionConfiguration for the current branch. |
VersionResult | result | The VersionResult to collect final version details. |
Properties
| Improve this Doc View SourceConfiguration
Gets the VersionConfiguration.
Declaration
public VersionConfiguration Configuration { get; }
Property Value
Type | Description |
---|---|
VersionConfiguration |
Environment
Gets the IVersionEnvironment.
Declaration
public IVersionEnvironment Environment { get; }
Property Value
Type | Description |
---|---|
IVersionEnvironment |
Result
Gets the VersionResult.
Declaration
public VersionResult Result { get; }
Property Value
Type | Description |
---|---|
VersionResult |