C# 클래스 Smrf.SocialNetworkLib.ParticipantPair

Represents a pair of participants in a social network.
상속: Object
파일 보기 프로젝트 열기: 2014-sed-team3/term-project 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
m_sParticipant1 String
m_sParticipant2 String

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
AssertValid ( ) : void

메소드 상세

ParticipantPair() 공개 메소드

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
리턴 System

ParticipantPair() 공개 메소드

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. ///
리턴 System

ToString() 공개 메소드

public ToString ( ) : String
리턴 String

프로퍼티 상세

m_sParticipant1 보호되어 있는 프로퍼티

protected String m_sParticipant1
리턴 String

m_sParticipant2 보호되어 있는 프로퍼티

protected String m_sParticipant2
리턴 String