NameIdPair Class: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{Template:APIClass|Repository Class|Repository}}  
{{Template:APIClass|Repository Class|Repository}}  
This class represents the name and ID of a project.
This class represents the name and ID of a project.
<!--== Constructors ==
== Constructors ==
*NameIdPair {{APIComment|Creates a new class that represents a Name and ID pair.}}
*NameIdPair {{APIComment|Creates a new class that represents a Name and ID pair.}}


== Methods ==
== Methods ==
*'''[[NameIdPair.ToString|ToString]]''' {{APIComment|Overridable function that returns the Name.}}-->
*'''[[NameIdPair.ToString|ToString]]''' {{APIComment|Overridable function that returns the Name.}}
== Properties  ==
== Properties  ==
*Name (as ''string'') {{APIComment|Gets or set the project name.}}
*Name (as ''string'') {{APIComment|Gets or set the project name.}}
*ID (as ''integer'') {{APIComment|Gets or set the project ID number.}}
*ID (as ''integer'') {{APIComment|Gets or set the project ID number.}}

Revision as of 21:12, 28 February 2014


This class represents the name and ID of a project.

Constructors

  • NameIdPair Creates a new class that represents a Name and ID pair.

Methods

  • ToString Overridable function that returns the Name.

Properties

  • Name (as string) Gets or set the project name.
  • ID (as integer) Gets or set the project ID number.