SimpleVersion
Search Results for

    Show / Hide Table of Contents

    Class VersionCalculator

    Entry point for version calculation.

    Inheritance
    System.Object
    VersionCalculator
    Implements
    IVersionCalculator
    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 Source

    VersionCalculator(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 Source

    GetResult()

    Gets the processed version result.

    Declaration
    public VersionResult GetResult()
    Returns
    Type Description
    VersionResult

    A complete VersionResult instance.

    | Improve this Doc View Source

    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.

    Implements

    IVersionCalculator

    Extension Methods

    TokenRuleExtensions.ResolveTokenRules<T>(T, IVersionContext, IEnumerable<ITokenRule<T>>)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX