C# Class gov.va.medora.mdo.PhoneNum

Mostrar archivo Open project: OSEHRA/mdo Class Usage Examples

Public Methods

Method Description
Equals ( object obj ) : bool

Asserts all parts of phone number are equal

GetHashCode ( ) : int

Calls ToString().GetHashCode() to retrieve the hashcode of the string representation of a PhoneNum object

PhoneNum ( ) : System
PhoneNum ( string phoneNum ) : System
PhoneNum ( string areaCode, string exchange, string number ) : System
ToString ( ) : string

Area Code + Exchange + Number

Method Details

Equals() public method

Asserts all parts of phone number are equal
public Equals ( object obj ) : bool
obj object PhoneNum
return bool

GetHashCode() public method

Calls ToString().GetHashCode() to retrieve the hashcode of the string representation of a PhoneNum object
public GetHashCode ( ) : int
return int

PhoneNum() public method

public PhoneNum ( ) : System
return System

PhoneNum() public method

public PhoneNum ( string phoneNum ) : System
phoneNum string
return System

PhoneNum() public method

public PhoneNum ( string areaCode, string exchange, string number ) : System
areaCode string
exchange string
number string
return System

ToString() public method

Area Code + Exchange + Number
public ToString ( ) : string
return string