Class RosterObjectRefList
Represents a basic Azure document DB document.
Implements
IObjectRefList<System.String>
Inherited Members
Namespace: Microsoft.GNS.Roster.Internal
Assembly: Microsoft.GNS.Roster.Internal.dll
Syntax
public class RosterObjectRefList : RosterDocument, IRosterObjectRefList, IObjectRefList<string>, IRosterDocument, IRosterIdentity, IPropertyObject, IVerifiable
Constructors
View SourceRosterObjectRefList()
Initializes a new instance of the RosterObjectRefList class.
Declaration
public RosterObjectRefList()
RosterObjectRefList(Guid, String, Scope)
Initializes a new instance of the RosterObjectRefList class.
Declaration
public RosterObjectRefList(Guid parentId, string name, Scope scope)
Parameters
Type | Name | Description |
---|---|---|
Guid | parentId | The parent object Id for this list. |
System.String | name | The list name. |
Scope | scope | The list scope. Should match the parent object. |
Fields
View SourceEmpty
Declaration
public static readonly RosterObjectRefList Empty
Field Value
Type | Description |
---|---|
RosterObjectRefList |
Properties
View SourceObjects
Gets the list of objects.
Declaration
public IList<string> Objects { get; }
Property Value
Type | Description |
---|---|
IList<System.String> |
ParentId
Gets the parent Id for the list.
Declaration
public Guid ParentId { get; }
Property Value
Type | Description |
---|---|
Guid |
Methods
View SourceIsEmpty()
Determines if the object is equal to its 'Empty' value.
Declaration
public override bool IsEmpty()
Returns
Type | Description |
---|---|
System.Boolean | True if the object is equal to its 'Empty' value. Otherwise, false. |