Class TokenReference
A reference to a Token that can be represented as text. Inherits from Tuple to make use of hashing and comparison.
Inherited Members
Namespace: Microsoft.Internal.Studios.Aruba.Infrastructure.Token
Assembly: Aruba.Infrastructure.dll
Syntax
public class TokenReference : Tuple<string, string>, IStructuralComparable, IStructuralEquatable, IComparable, ITuple
Remarks
Initializes a new instance of the TokenReference class.
Constructors
View SourceTokenReference(string, string)
A reference to a Token that can be represented as text. Inherits from Tuple to make use of hashing and comparison.
Declaration
public TokenReference(string resolverName, string tokenName)
Parameters
Type | Name | Description |
---|---|---|
string | resolverName | The resolver name. |
string | tokenName | The token name. |
Remarks
Initializes a new instance of the TokenReference class.
Properties
View SourceIsValid
Gets a value indicating whether the token is valid.
Declaration
public bool IsValid { get; }
Property Value
Type | Description |
---|---|
bool |
ResolverName
Gets the resolver name.
Declaration
public string ResolverName { get; }
Property Value
Type | Description |
---|---|
string |
TokenName
Gets the token name.
Declaration
public string TokenName { get; }
Property Value
Type | Description |
---|---|
string |
Methods
View SourceToString()
Gets the string representing the resolver name and token name.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | The string for resolver and token names. |
Overrides
View SourceToWrappedString()
Gets the wrapped ToString.
Declaration
public string ToWrappedString()
Returns
Type | Description |
---|---|
string | The wrapped ToString with brackets. |