Show / Hide Table of Contents

Class ResolveFieldsHelpers

Extensions to IFieldsViewModel

Inheritance
object
ResolveFieldsHelpers
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Phoenix.Aruba
Assembly: Phoenix.Plugin.Aruba.dll
Syntax
public static class ResolveFieldsHelpers

Methods

View Source

ResolveTokenizedItemsAsync(IList<TokenizedItemViewModel>, TokenResolverRegistry, bool, bool, CancellationTokenSource)

Resolve the given tokens.

Declaration
public static Task<bool> ResolveTokenizedItemsAsync(IList<TokenizedItemViewModel> items, TokenResolverRegistry tokenResolverRegistry, bool skipUnknownResolver, bool skipAdHoc, CancellationTokenSource cts)
Parameters
Type Name Description
IList<TokenizedItemViewModel> items

The tokens.

TokenResolverRegistry tokenResolverRegistry

The token resolver registry.

bool skipUnknownResolver

Whether to skip if resolver is unknown.

bool skipAdHoc

Whether to skip resolving AdHoc tokens. (Don't reset them).

CancellationTokenSource cts

The cancellation token.

Returns
Type Description
Task<bool>

Whether it succeeded in resolving tokens.

View Source

ResolveTokenizedItemsAsync(IList<TokenizedItemViewModel>, List<IGameDevice>, List<int>, TokenResolverRegistry, bool, bool, CancellationTokenSource)

Resolve the given tokens using the given list of devices.

Declaration
public static Task<bool> ResolveTokenizedItemsAsync(IList<TokenizedItemViewModel> items, List<IGameDevice> devices, List<int> indexesOfTokenValuesToUpdate, TokenResolverRegistry tokenResolverRegistry, bool skipUnknownResolver, bool skipAdHoc, CancellationTokenSource cts)
Parameters
Type Name Description
IList<TokenizedItemViewModel> items

The tokens.

List<IGameDevice> devices

A list of devices to resolve tokens on.

List<int> indexesOfTokenValuesToUpdate

The indexes of the values of the token results to update. (Multiple device support).

TokenResolverRegistry tokenResolverRegistry

The token resolver registry.

bool skipUnknownResolver

Whether to skip if resolver is unknown.

bool skipAdHoc

Whether to skip resolving AdHoc tokens. (Don't reset them).

CancellationTokenSource cts

The cancellation token.

Returns
Type Description
Task<bool>

Whether it succeeded in resolving tokens.

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