SimpleVersion
Search Results for

    Show / Hide Table of Contents

    Class VersionContext

    Encapsulates state for a version request.

    Inheritance
    System.Object
    VersionContext
    Implements
    IVersionContext
    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 Source

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

    Configuration

    Gets the VersionConfiguration.

    Declaration
    public VersionConfiguration Configuration { get; }
    Property Value
    Type Description
    VersionConfiguration
    | Improve this Doc View Source

    Environment

    Gets the IVersionEnvironment.

    Declaration
    public IVersionEnvironment Environment { get; }
    Property Value
    Type Description
    IVersionEnvironment
    | Improve this Doc View Source

    Result

    Gets the VersionResult.

    Declaration
    public VersionResult Result { get; }
    Property Value
    Type Description
    VersionResult

    Implements

    IVersionContext

    Extension Methods

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