docs.unity3d.com
    Show / Hide Table of Contents

    Struct SemanticVersion

    Namespace: Unity.VisualScripting
    Syntax
    public struct SemanticVersion : IComparable<SemanticVersion>

    Constructors

    SemanticVersion(Int32, Int32, Int32, String, Int32)

    Declaration
    public SemanticVersion(int major, int minor, int patch, string label, int increment)
    Parameters
    Type Name Description
    Int32 major
    Int32 minor
    Int32 patch
    String label
    Int32 increment

    Fields

    increment

    Declaration
    [Serialize]
    public readonly int increment
    Field Value
    Type Description
    Int32

    label

    Declaration
    [Serialize]
    public readonly string label
    Field Value
    Type Description
    String

    major

    Declaration
    [Serialize]
    public readonly int major
    Field Value
    Type Description
    Int32

    minor

    Declaration
    [Serialize]
    public readonly int minor
    Field Value
    Type Description
    Int32

    patch

    Declaration
    [Serialize]
    public readonly int patch
    Field Value
    Type Description
    Int32

    Properties

    semanticLabel

    Declaration
    public SemanticLabel semanticLabel { get; }
    Property Value
    Type Description
    SemanticLabel

    Methods

    CompareTo(SemanticVersion)

    Declaration
    public int CompareTo(SemanticVersion other)
    Parameters
    Type Name Description
    SemanticVersion other
    Returns
    Type Description
    Int32

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj
    Returns
    Type Description
    Boolean
    Overrides
    ValueType.Equals(Object)

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32
    Overrides
    ValueType.GetHashCode()

    Parse(String)

    Declaration
    public static SemanticVersion Parse(string s)
    Parameters
    Type Name Description
    String s
    Returns
    Type Description
    SemanticVersion

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    Overrides
    ValueType.ToString()

    TryParse(String, out SemanticVersion)

    Declaration
    public static bool TryParse(string s, out SemanticVersion result)
    Parameters
    Type Name Description
    String s
    SemanticVersion result
    Returns
    Type Description
    Boolean

    Operators

    Equality(SemanticVersion, SemanticVersion)

    Declaration
    public static bool operator ==(SemanticVersion a, SemanticVersion b)
    Parameters
    Type Name Description
    SemanticVersion a
    SemanticVersion b
    Returns
    Type Description
    Boolean

    GreaterThan(SemanticVersion, SemanticVersion)

    Declaration
    public static bool operator>(SemanticVersion a, SemanticVersion b)
    Parameters
    Type Name Description
    SemanticVersion a
    SemanticVersion b
    Returns
    Type Description
    Boolean

    GreaterThanOrEqual(SemanticVersion, SemanticVersion)

    Declaration
    public static bool operator >=(SemanticVersion a, SemanticVersion b)
    Parameters
    Type Name Description
    SemanticVersion a
    SemanticVersion b
    Returns
    Type Description
    Boolean

    Implicit(String to SemanticVersion)

    Declaration
    public static implicit operator SemanticVersion(string s)
    Parameters
    Type Name Description
    String s
    Returns
    Type Description
    SemanticVersion

    Inequality(SemanticVersion, SemanticVersion)

    Declaration
    public static bool operator !=(SemanticVersion a, SemanticVersion b)
    Parameters
    Type Name Description
    SemanticVersion a
    SemanticVersion b
    Returns
    Type Description
    Boolean

    LessThan(SemanticVersion, SemanticVersion)

    Declaration
    public static bool operator <(SemanticVersion a, SemanticVersion b)
    Parameters
    Type Name Description
    SemanticVersion a
    SemanticVersion b
    Returns
    Type Description
    Boolean

    LessThanOrEqual(SemanticVersion, SemanticVersion)

    Declaration
    public static bool operator <=(SemanticVersion a, SemanticVersion b)
    Parameters
    Type Name Description
    SemanticVersion a
    SemanticVersion b
    Returns
    Type Description
    Boolean

    Extension Methods

    XAnalyserProvider.Analyser(Object, IGraphContext)
    XAnalyserProvider.Analyser<TAnalyser>(Object, IGraphContext)
    XAnalyserProvider.Analysis(Object, IGraphContext)
    XAnalyserProvider.Analysis<TAnalysis>(Object, IGraphContext)
    XAnalyserProvider.Analyser(Object, GraphReference)
    XAnalyserProvider.Analyser<TAnalyser>(Object, GraphReference)
    XAnalyserProvider.Analysis(Object, GraphReference)
    XAnalyserProvider.Analysis<TAnalysis>(Object, GraphReference)
    XDescriptorProvider.Describe(Object)
    XDescriptorProvider.HasDescriptor(Object)
    XDescriptorProvider.Descriptor(Object)
    XDescriptorProvider.Descriptor<TDescriptor>(Object)
    XDescriptorProvider.Description(Object)
    XDescriptorProvider.Description<TDescription>(Object)
    Cloning.Clone(Object, ICloner, Boolean)
    Cloning.Clone<T>(T, ICloner, Boolean)
    Cloning.CloneViaFakeSerialization(Object)
    Cloning.CloneViaFakeSerialization<T>(T)
    ConversionUtility.IsConvertibleTo(Object, Type, Boolean)
    ConversionUtility.IsConvertibleTo<T>(Object, Boolean)
    ConversionUtility.ConvertTo(Object, Type)
    ConversionUtility.ConvertTo<T>(Object)
    TypeUtility.ToShortString(Object, Int32)
    Serialization.CloneViaSerialization<T>(T, Boolean)
    Serialization.CloneViaSerializationInto<TSource, TDestination>(TSource, ref TDestination, Boolean)
    Serialization.Serialize(Object, Boolean)
    LinqUtility.Yield<T>(T)
    UnityObjectUtility.IsUnityNull(Object)
    UnityObjectUtility.ToSafeString(Object)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023