C# Class Smrf.SocialNetworkLib.EmailParticipantPair

Represents a pair of participants in an email social network.
Inheritance: ParticipantPair
Mostrar archivo Open project: 2014-sed-team3/term-project Class Usage Examples

Protected Properties

Property Type Description
m_iEdgeWeight System.Int32

Public Methods

Method Description
AssertValid ( ) : void
EmailParticipantPair ( ) : System

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

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

EmailParticipantPair ( String participant1, String participant2, Int32 edgeWeight ) : System

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

Method Details

AssertValid() public method

public AssertValid ( ) : void
return void

EmailParticipantPair() public method

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

EmailParticipantPair() public method

Initializes a new instance of the EmailParticipantPair class with specified values.
public EmailParticipantPair ( String participant1, String participant2, Int32 edgeWeight ) : System
participant1 String /// The first participant, as an email address. Can't be null or empty. ///
participant2 String /// The second participant, as an email address. Can't be null or empty. ///
edgeWeight System.Int32 /// The strength of the tie between the participants. Must be /// non-negative. ///
return System

Property Details

m_iEdgeWeight protected_oe property

protected Int32,System m_iEdgeWeight
return System.Int32