SimpleVersion
Search Results for

    Show / Hide Table of Contents

    Interface IVersionEnvironment

    Contract for accessing environment variables for a version environment.

    Namespace: SimpleVersion.Environment
    Assembly: SimpleVersion.Abstractions.dll
    Syntax
    public interface IVersionEnvironment

    Properties

    | Improve this Doc View Source

    BranchName

    Gets the branch name from the environment.

    Declaration
    string BranchName { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    CanonicalBranchName

    Gets the canonical branch name from the environment.

    Declaration
    string CanonicalBranchName { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    IsValid

    Gets a value indicating whether the environment is valid for the current request.

    Declaration
    bool IsValid { get; }
    Property Value
    Type Description
    System.Boolean

    Extension Methods

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