Class Association

The Association class is a data model describing a relationship associating a resource with a social group.

Inheritance
System.Object
Association
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.4
Syntax
public class Association

Constructors

Association(Reference, GroupId)

Constructor

Declaration
public Association(Reference resourceReference, GroupId groupId)
Parameters
Type Name Description
Reference resourceReference

Reference which uniquely identifies the resource assigned to a group

GroupId groupId

ID of the group to which the resource is assigned

Association(AssociationId, Reference, GroupId)

Constructor

Declaration
public Association(AssociationId id, Reference resourceReference, GroupId groupId)
Parameters
Type Name Description
AssociationId id

Unique identifier for this association

Reference resourceReference

Reference which uniquely identifies the resource assigned to a group

GroupId groupId

ID of the group to which the resource is assigned

Properties

Group

Gets the ID of the group to which the resource has been associated.

Declaration
public GroupId Group { get; }
Property Value
Type Description
GroupId

Id

Gets the unique identifier representing this association.

Declaration
public AssociationId Id { get; }
Property Value
Type Description
AssociationId

Resource

Gets the reference which uniquely identifies the resource which is associated with the group.

Declaration
public Reference Resource { get; }
Property Value
Type Description
Reference
arrow_upward