Show / Hide Table of Contents

Class TokenReference

A reference to a Token that can be represented as text. Inherits from Tuple to make use of hashing and comparison.

Inheritance
object
Tuple<string, string>
TokenReference
Implements
IStructuralComparable
IStructuralEquatable
IComparable
ITuple
Inherited Members
Tuple<string, string>.Equals(object)
Tuple<string, string>.GetHashCode()
Tuple<string, string>.ToString()
Tuple<string, string>.Item1
Tuple<string, string>.Item2
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
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 Source

TokenReference(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 Source

IsValid

Gets a value indicating whether the token is valid.

Declaration
public bool IsValid { get; }
Property Value
Type Description
bool
View Source

ResolverName

Gets the resolver name.

Declaration
public string ResolverName { get; }
Property Value
Type Description
string
View Source

TokenName

Gets the token name.

Declaration
public string TokenName { get; }
Property Value
Type Description
string

Methods

View Source

ToString()

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
Tuple<string, string>.ToString()
View Source

ToWrappedString()

Gets the wrapped ToString.

Declaration
public string ToWrappedString()
Returns
Type Description
string

The wrapped ToString with brackets.

Implements

IStructuralComparable
IStructuralEquatable
IComparable
ITuple
  • View Source
In this article
Back to top Generated by DocFX