C# Class MBC.Shared.Attributes.VersionAttribute

Provides the version of a Controller.
Inheritance: ControllerAttribute
ファイルを表示 Open project: aiclub/Mohawk_Battleship Class Usage Examples

Public Properties

Property Type Description
Version System.Version

Public Methods

Method Description
ToString ( ) : string
VersionAttribute ( System.Version version ) : System

Sets the System.Version of the Controller to version.

VersionAttribute ( int major, int minor ) : System

Sets the System.Version of the Controller with the major and minor version numbers.

VersionAttribute ( int major, int minor, int build ) : System

Sets the System.Version of the Controller from the major, minor, and build numbers.

VersionAttribute ( int major, int minor, int build, int revision ) : System

Sets the System.Version of the Controller to the given parameters.

VersionAttribute ( string verStr ) : System

Sets the System.Version of the Controller from the verStr.

Method Details

ToString() public method

public ToString ( ) : string
return string

VersionAttribute() public method

Sets the System.Version of the Controller to version.
public VersionAttribute ( System.Version version ) : System
version System.Version The of the .
return System

VersionAttribute() public method

Sets the System.Version of the Controller with the major and minor version numbers.
public VersionAttribute ( int major, int minor ) : System
major int The major number.
minor int The minior number.
return System

VersionAttribute() public method

Sets the System.Version of the Controller from the major, minor, and build numbers.
public VersionAttribute ( int major, int minor, int build ) : System
major int The major number.
minor int The minor number.
build int The build number.
return System

VersionAttribute() public method

Sets the System.Version of the Controller to the given parameters.
public VersionAttribute ( int major, int minor, int build, int revision ) : System
major int The major number.
minor int The minor number.
build int The build number.
revision int The revision number.
return System

VersionAttribute() public method

Sets the System.Version of the Controller from the verStr.
public VersionAttribute ( string verStr ) : System
verStr string A string representation of a .
return System

Property Details

Version public_oe property

Gets the System.Version number of the Controller.
public Version,System Version
return System.Version