C# Класс ActivEarth.Objects.Groups.Group

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
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