Class Group
The Group class is a data model describing an social aggregation of members and/or content.
Inheritance
System.Object
Group
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Social.Groups.Core
Assembly: EPiServer.Social.Groups.Core.dll
Version: 1.5.4Syntax
public class Group
Constructors
Group(GroupId, String, String)
Constructor
Declaration
public Group(GroupId id, string name, string description)
Parameters
| Type | Name | Description |
|---|---|---|
| GroupId | id | Unique identifier for this group |
| System.String | name | string which identifies the name of the group |
| System.String | description | string which describes the group |
Group(GroupId, String, String, DateTime)
Constructor
Declaration
public Group(GroupId id, string name, string description, DateTime created)
Parameters
| Type | Name | Description |
|---|---|---|
| GroupId | id | Unique identifier for this group |
| System.String | name | string which identifies the name of the group |
| System.String | description | string which describes the group |
| System.DateTime | created | Datetime denoting when the group was created |
Group(String, String)
Constructor
Declaration
public Group(string name, string description)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | string which identifies the name of the group |
| System.String | description | string which describes the group |
Properties
Created
Gets the date on which the group was created.
Declaration
public DateTime Created { get; }
Property Value
| Type | Description |
|---|---|
| System.DateTime |
Description
Gets the description of this group.
Declaration
public string Description { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Id
Gets the identifier representing this group.
Declaration
public GroupId Id { get; }
Property Value
| Type | Description |
|---|---|
| GroupId |
Name
Gets the name of this group.
Declaration
public string Name { get; }
Property Value
| Type | Description |
|---|---|
| System.String |