C# Class Rankdblib.Users

Datei anzeigen Open project: mono/rank Class Usage Examples

Public Properties

Property Type Description
email List
projects List

Public Methods

Method Description
AddCommit ( string commit, string project ) : bool

Adds a commit to the array if the data hasn't already been submitted.

BugsWorked ( ) : List
BugsWorked ( string bugid ) : void

Add a bug id, only if it hasn't already been added.

BugsWorkedCount ( ) : int

The number of bugs worked on.

CodeAdded ( ) : int

Gets the amount of code added.

CodeAdded ( int value, string project ) : void

Add lines of contributed code.

CodeCurved ( ) : int
CodeCurved ( int value, string project ) : void
CodeRemoved ( ) : int

Gets the amount of code removed.

CodeRemoved ( int value, string project ) : void

Add lines of removed code.

CommitCount ( ) : int

Total Number of commits sent to Mono.

GetProject ( string project ) : Projects

Find the Project, else create the project.

Score ( ) : int

Returns a cumulative score based on contribution to Mono.

Users ( ) : System

Creates a new user that is not present in the database.

Users ( string inEmail, string inName ) : System

Sets the user information.

Method Details

AddCommit() public method

Adds a commit to the array if the data hasn't already been submitted.
public AddCommit ( string commit, string project ) : bool
commit string /// Commit ID ///
project string
return bool

BugsWorked() public method

public BugsWorked ( ) : List
return List

BugsWorked() public method

Add a bug id, only if it hasn't already been added.
public BugsWorked ( string bugid ) : void
bugid string /// The bugs id ///
return void

BugsWorkedCount() public method

The number of bugs worked on.
public BugsWorkedCount ( ) : int
return int

CodeAdded() public method

Gets the amount of code added.
public CodeAdded ( ) : int
return int

CodeAdded() public method

Add lines of contributed code.
public CodeAdded ( int value, string project ) : void
value int /// Lines of code to add ///
project string
return void

CodeCurved() public method

public CodeCurved ( ) : int
return int

CodeCurved() public method

public CodeCurved ( int value, string project ) : void
value int
project string
return void

CodeRemoved() public method

Gets the amount of code removed.
public CodeRemoved ( ) : int
return int

CodeRemoved() public method

Add lines of removed code.
public CodeRemoved ( int value, string project ) : void
value int
project string
return void

CommitCount() public method

Total Number of commits sent to Mono.
public CommitCount ( ) : int
return int

GetProject() public method

Find the Project, else create the project.
public GetProject ( string project ) : Projects
project string
return Projects

Score() public method

Returns a cumulative score based on contribution to Mono.
public Score ( ) : int
return int

Users() public method

Creates a new user that is not present in the database.
public Users ( ) : System
return System

Users() public method

Sets the user information.
public Users ( string inEmail, string inName ) : System
inEmail string /// User's e-mail address ///
inName string /// User's name ///
return System

Property Details

email public_oe property

public List email
return List

projects public_oe property

public List projects
return List