C# 클래스 ActivEarth.Objects.Groups.Group

파일 보기 프로젝트 열기: mlcamilli/ActivEarth 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Members List
Wall Wall

공개 메소드들

메소드 설명
Group ( ) : System

Creates a new Group. This constructor used when rebuilding Group object from DB.

Group ( string name, User owner, string description, List hashtags ) : System

Creates a new Group.

Join ( User newUser ) : void

Adds a User to the Group.

Post ( Message message ) : void

Posts a Message to the Group's Wall.

Quit ( User quittingUser ) : void

Removes a User from the Group.

메소드 상세

Group() 공개 메소드

Creates a new Group. This constructor used when rebuilding Group object from DB.
public Group ( ) : System
리턴 System

Group() 공개 메소드

Creates a new Group.
public Group ( string name, User owner, string description, List hashtags ) : System
name string The name of the Group.
owner ActivEarth.Objects.Profile.User The User that created the Group
description string A text description of the Group.
hashtags List A list of hashtags that can be used to search for the Group
리턴 System

Join() 공개 메소드

Adds a User to the Group.
public Join ( User newUser ) : void
newUser ActivEarth.Objects.Profile.User The User to be added to the Group.
리턴 void

Post() 공개 메소드

Posts a Message to the Group's Wall.
public Post ( Message message ) : void
message Message The Message to be added to the Group's Wall.
리턴 void

Quit() 공개 메소드

Removes a User from the Group.
public Quit ( User quittingUser ) : void
quittingUser ActivEarth.Objects.Profile.User The User to be removed from the Group.
리턴 void

프로퍼티 상세

Members 공개적으로 프로퍼티

The list of members in the Group.
public List Members
리턴 List

Wall 공개적으로 프로퍼티

The Group's Wall containing Message and Recent Activity posts.
public Wall,ActivEarth.Objects.Groups Wall
리턴 Wall