Show / Hide Table of Contents

Class TokenResolverUtils

Token resolver utilities.

Inheritance
object
TokenResolverUtils
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Microsoft.Internal.Studios.Aruba.Infrastructure.Token
Assembly: Aruba.Infrastructure.dll
Syntax
public static class TokenResolverUtils

Methods

View Source

GetAllSupportedTokenReferences(TokenResolverRegistry)

Get a list of all possible token references currently supported through the given registry.

Declaration
public static IEnumerable<TokenReference> GetAllSupportedTokenReferences(TokenResolverRegistry registry)
Parameters
Type Name Description
TokenResolverRegistry registry

The token resolver registry.

Returns
Type Description
IEnumerable<TokenReference>

The token references.

View Source

GetCopyOfSupportedTokenDefinitionsForResolver(ITokenResolver)

Get a copy of each token definition object held by the resolver.

Declaration
public static IEnumerable<BasicTokenDefinition> GetCopyOfSupportedTokenDefinitionsForResolver(ITokenResolver resolver)
Parameters
Type Name Description
ITokenResolver resolver

The token resolver.

Returns
Type Description
IEnumerable<BasicTokenDefinition>

Supported token definitions.

View Source

GetTokenDescriptionProperty()

Get token description property.

Declaration
public static TokenPropertyInfo GetTokenDescriptionProperty()
Returns
Type Description
TokenPropertyInfo

The token property info.

View Source

GetTokenPropertiesForResolver(ITokenResolver)

Get a list of descriptions of properties associated with the given ITokenResolver's token definition.

Declaration
public static IList<TokenPropertyInfo> GetTokenPropertiesForResolver(ITokenResolver resolver)
Parameters
Type Name Description
ITokenResolver resolver

The token resolver.

Returns
Type Description
IList<TokenPropertyInfo>

The list of token property info.

View Source

GetTokenResolver(TokenResolverRegistry, string)

Get the resolver with the given name. Returns null if the name is not registered.

Declaration
public static ITokenResolver GetTokenResolver(TokenResolverRegistry registry, string resolverName)
Parameters
Type Name Description
TokenResolverRegistry registry

The token resolver registry.

string resolverName

The resolver name.

Returns
Type Description
ITokenResolver

The token resolver.

  • View Source
In this article
Back to top Generated by DocFX