Class GitVersionRepository
Represents a git repository.
Inheritance
System.Object
GitVersionRepository
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
Assembly: SimpleVersion.Core.dll
Syntax
public class GitVersionRepository : IVersionRepository
Constructors
| Improve this Doc View SourceGitVersionRepository(String, IVersionEnvironment, ISerializer, IEnumerable<IVersionProcessor>)
Initializes a new instance of the GitVersionRepository class.
Declaration
public GitVersionRepository(string path, IVersionEnvironment environment, ISerializer serializer, IEnumerable<IVersionProcessor> processors)
Parameters
Type | Name | Description |
---|---|---|
System.String | path | The path to the repository. |
IVersionEnvironment | environment | The environment for the invocation. |
ISerializer | serializer | The serializer for reading documents. |
System.Collections.Generic.IEnumerable<IVersionProcessor> | processors | The processors to be called on. |
Methods
| Improve this Doc View SourceGetResult()
Gets the VersionResult for the repository.
Declaration
public VersionResult GetResult()
Returns
Type | Description |
---|---|
VersionResult | A populated VersionResult. |