Class VersionCalculator
Entry point for version calculation.
Inheritance
System.Object
VersionCalculator
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 VersionCalculator : IVersionCalculator
Constructors
| Improve this Doc View SourceVersionCalculator(String)
Initializes a new instance of the VersionCalculator class.
Declaration
public VersionCalculator(string path)
Parameters
Type | Name | Description |
---|---|---|
System.String | path | The path for the repository. |
Methods
| Improve this Doc View SourceGetResult()
Gets the processed version result.
Declaration
public VersionResult GetResult()
Returns
Type | Description |
---|---|
VersionResult | A complete VersionResult instance. |
WriteResult(TextWriter)
Writes the processed version result to the output
.
Declaration
public void WriteResult(TextWriter output)
Parameters
Type | Name | Description |
---|---|---|
System.IO.TextWriter | output | The writer for the result. |