C# Class ElectionsMandateCalculator.Models.Candidate

Model from Candidates.txt ex: 1;1;“Кандидат 1 в МИР 1 – Партия 1“ 1;2;“Кандидат 2 в МИР 1 – Партия 1“ 1;1000;“Независим кандидат 1 в МИР 1“ 2;1001;“Независим кандидат 1 в МИР 2“
Show file Open project: elections-contest/pe2013 Class Usage Examples

Public Methods

Method Description
Candidate ( int mirId, int partyId, string name ) : System
Equals ( Candidate otherObj ) : bool
Equals ( object obj ) : bool

Method Details

Candidate() public method

public Candidate ( int mirId, int partyId, string name ) : System
mirId int
partyId int
name string
return System

Equals() public method

public Equals ( Candidate otherObj ) : bool
otherObj Candidate
return bool

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool