Class RosterPrincipalRefList
Represents a basic Azure document DB document.
Implements
Inherited Members
Namespace: Microsoft.GNS.Roster.Internal
Assembly: Microsoft.GNS.Roster.Internal.dll
Syntax
public class RosterPrincipalRefList : RosterDocument, IRosterPrincipalRefList, IObjectRefList<string>, IRosterDocument, IRosterIdentity, IPropertyObject, IVerifiable
Constructors
View SourceRosterPrincipalRefList()
Initializes a new instance of the RosterPrincipalRefList class.
Declaration
public RosterPrincipalRefList()
RosterPrincipalRefList(Guid, string, Scope)
Initializes a new instance of the RosterPrincipalRefList class.
Declaration
public RosterPrincipalRefList(Guid parentId, string name, Scope scope)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | parentId | Parent object Id. |
| string | name | Database object base name. |
| Scope | scope | The Roster scope. |
Fields
View SourceEmpty
Declaration
public static readonly RosterPrincipalRefList Empty
Field Value
| Type | Description |
|---|---|
| RosterPrincipalRefList |
Properties
View SourceObjects
Gets the list of objects.
Declaration
[JsonProperty(PropertyName = "Principals")]
public IList<string> Objects { get; }
Property Value
| Type | Description |
|---|---|
| IList<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 |
|---|---|
| bool | True if the object is equal to its 'Empty' value. Otherwise, false. |