Show / Hide Table of Contents

Class ScopeEntry

Encapsulates data that represents a section or entry of a Scope

Inheritance
System.Object
ScopeEntry
Namespace: Microsoft.GNS.Roster
Assembly: Microsoft.GNS.Roster.Common.dll
Syntax
public class ScopeEntry : object

Constructors

View Source

ScopeEntry(String, Guid)

Initializes a new instance of the ScopeEntry class.

Declaration
public ScopeEntry(string identifer, Guid scopeId)
Parameters
Type Name Description
System.String identifer

The scope identifier. Use identifier constants from Scope.

Guid scopeId

The scope entry Id.

Properties

View Source

Identifier

Gets the scope identifier that represents objects such as and Org, Project, Tool, etc...

Declaration
public string Identifier { get; }
Property Value
Type Description
System.String
View Source

ScopeId

Gets the database Id of the scope entry.

Declaration
public Guid ScopeId { get; }
Property Value
Type Description
Guid

Methods

View Source

TryParse(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
System.String[] entryValues

The colon separated values from the section/entry.

ScopeEntry entry

Output ScopeEntry value representing the section/entry provided.

Returns
Type Description
System.Boolean

True if successfully parsed. Otherwise false.

  • View Source
In This Article
Back to top Generated by DocFX