Class TokenReferenceViewModel
Wrapper over a TokenReference that provides additional info.
Inherited Members
Namespace: Phoenix.Aruba
Assembly: Phoenix.Plugin.Aruba.dll
Syntax
public class TokenReferenceViewModel
Constructors
View SourceTokenReferenceViewModel(TokenReference, TokenResolverRegistry, bool)
Initializes a new instance of the TokenReferenceViewModel class.
Declaration
public TokenReferenceViewModel(TokenReference tokenReference, TokenResolverRegistry registry, bool isInvalidToken = false)
Parameters
| Type | Name | Description |
|---|---|---|
| TokenReference | tokenReference | A token reference. |
| TokenResolverRegistry | registry | The token resolver registry. |
| bool | isInvalidToken | Whether the token is representing an invalid token. |
Properties
View SourceResolverName
Gets the resolver name.
Declaration
public string ResolverName { get; }
Property Value
| Type | Description |
|---|---|
| string |
TokenDescription
Gets the token description
Declaration
public string TokenDescription { get; }
Property Value
| Type | Description |
|---|---|
| string |
TokenName
Gets the token name.
Declaration
public string TokenName { get; }
Property Value
| Type | Description |
|---|---|
| string |
TokenReference
Gets the token reference.
Declaration
public TokenReference TokenReference { get; }
Property Value
| Type | Description |
|---|---|
| TokenReference |