Class ScopeEntry
Encapsulates data that represents a section or entry of a Scope
Inherited Members
Namespace: Microsoft.GNS.Roster
Assembly: Microsoft.XboxStudios.SQTech.Roster.Common.dll
Syntax
public class ScopeEntry
Constructors
View SourceScopeEntry(string, Guid)
Initializes a new instance of the ScopeEntry class.
Declaration
public ScopeEntry(string identifier, Guid scopeId)
Parameters
| Type | Name | Description |
|---|---|---|
| string | identifier | The scope identifier. Use identifier constants from Scope. |
| Guid | scopeId | The scope entry Id. |
Properties
View SourceIdentifier
Gets the scope identifier that represents objects such as and Org, Project, Tool, etc...
Declaration
public string Identifier { get; }
Property Value
| Type | Description |
|---|---|
| string |
ScopeId
Gets the database Id of the scope entry.
Declaration
public Guid ScopeId { get; }
Property Value
| Type | Description |
|---|---|
| Guid |
Methods
View SourceTryParse(string[], out ScopeEntry?)
Try to parse an individual section/entry of a scope.
Declaration
public static bool TryParse(string[] entryValues, out ScopeEntry? entry)
Parameters
| Type | Name | Description |
|---|---|---|
| string[] | entryValues | The colon separated values from the section/entry. |
| ScopeEntry | entry | Output ScopeEntry value representing the section/entry provided. |
Returns
| Type | Description |
|---|---|
| bool | True if successfully parsed. Otherwise false. |