Twoorb Plugins  1.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Twoorb.Utilities.BuildVersion Class Reference

Helper class that increments and keeps track of build versions More...

Inheritance diagram for Twoorb.Utilities.BuildVersion:

Public Member Functions

string GetVersionNumber ()
 Gets the version number of the instance in the form of a string. Major.Minor.Build. More...
 
void IncrementVersionNumber ()
 Increments the version number by one. More...
 
void ParseVersion (string version)
 Tries to parse a version number string with the setup Major.Minor.Build.Revision and set the Build Version to the resulting values More...
 
void SetDefault ()
 Sets the starting default values More...
 

Public Attributes

int m_major = 0
 The Major Version More...
 
int m_minor = 0
 The Minor Version More...
 
int m_build = 0
 The Build Version More...
 
int m_revision = 0
 The Revision Version More...
 

Static Public Attributes

static readonly string AssetName = "BuildVersion"
 The name of the asset More...
 

Properties

int Major [get, set]
 The Major Version More...
 
int Minor [get, set]
 The Minor Version More...
 
int Build [get, set]
 The Build Version More...
 
int Revision [get, set]
 The Revision Version More...
 

Detailed Description

Helper class that increments and keeps track of build versions

Member Function Documentation

string Twoorb.Utilities.BuildVersion.GetVersionNumber ( )

Gets the version number of the instance in the form of a string. Major.Minor.Build.

Returns
The build version in the form of a string
void Twoorb.Utilities.BuildVersion.IncrementVersionNumber ( )

Increments the version number by one.

void Twoorb.Utilities.BuildVersion.ParseVersion ( string  version)

Tries to parse a version number string with the setup Major.Minor.Build.Revision and set the Build Version to the resulting values

Parameters
versionThe version string
void Twoorb.Utilities.BuildVersion.SetDefault ( )

Sets the starting default values

Member Data Documentation

readonly string Twoorb.Utilities.BuildVersion.AssetName = "BuildVersion"
static

The name of the asset

int Twoorb.Utilities.BuildVersion.m_build = 0

The Build Version

int Twoorb.Utilities.BuildVersion.m_major = 0

The Major Version

int Twoorb.Utilities.BuildVersion.m_minor = 0

The Minor Version

int Twoorb.Utilities.BuildVersion.m_revision = 0

The Revision Version

Property Documentation

int Twoorb.Utilities.BuildVersion.Build
getset

The Build Version

int Twoorb.Utilities.BuildVersion.Major
getset

The Major Version

int Twoorb.Utilities.BuildVersion.Minor
getset

The Minor Version

int Twoorb.Utilities.BuildVersion.Revision
getset

The Revision Version


The documentation for this class was generated from the following file: