C# Class ActivEarth.Objects.Groups.Group

Afficher le fichier Open project: mlcamilli/ActivEarth Class Usage Examples

Méthodes publiques

Свойство Type Description
Members List
Wall Wall

Méthodes publiques

Méthode Description
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.

Method Details

Group() public méthode

Creates a new Group. This constructor used when rebuilding Group object from DB.
public Group ( ) : System
Résultat System

Group() public méthode

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
Résultat System

Join() public méthode

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

Post() public méthode

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.
Résultat void

Quit() public méthode

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

Property Details

Members public_oe property

The list of members in the Group.
public List Members
Résultat List

Wall public_oe property

The Group's Wall containing Message and Recent Activity posts.
public Wall,ActivEarth.Objects.Groups Wall
Résultat Wall