C# Class Smrf.SocialNetworkLib.ParticipantPair

Represents a pair of participants in a social network.
Inheritance: Object
显示文件 Open project: 2014-sed-team3/term-project Class Usage Examples

Protected Properties

Property Type Description
m_sParticipant1 String
m_sParticipant2 String

Public Methods

Method Description
ParticipantPair ( ) : System

Initializes a new instance of the ParticipantPair class with default values.

Do not use this constructor. It is for XML serialization only.

ParticipantPair ( String participant1, String participant2 ) : System

Initializes a new instance of the ParticipantPair class with specified values.

ToString ( ) : String

Private Methods

Method Description
AssertValid ( ) : void

Method Details

ParticipantPair() public method

Initializes a new instance of the ParticipantPair class with default values.
Do not use this constructor. It is for XML serialization only.
public ParticipantPair ( ) : System
return System

ParticipantPair() public method

Initializes a new instance of the ParticipantPair class with specified values.
public ParticipantPair ( String participant1, String participant2 ) : System
participant1 String /// The first participant. Can't be null or empty. ///
participant2 String /// The second participant. Can't be null or empty. ///
return System

ToString() public method

public ToString ( ) : String
return String

Property Details

m_sParticipant1 protected_oe property

protected String m_sParticipant1
return String

m_sParticipant2 protected_oe property

protected String m_sParticipant2
return String