Show / Hide Table of Contents

Class GameClientTokenTargetMethod

A class representing a method used to resolve a token.

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

Properties

View Source

AllPossibleTargetMethods

Gets all the possible target methods.

Declaration
public static List<GameClientTokenTargetMethod> AllPossibleTargetMethods { get; }
Property Value
Type Description
List<GameClientTokenTargetMethod>
View Source

Method

Gets or sets the Method Info.

Declaration
public MethodInfo Method { get; set; }
Property Value
Type Description
MethodInfo

Methods

View Source

AddGameClientInstanceMethodsFromType(Type, Func<IGameClient, object>)

Adds the methods from the provided type.

Declaration
public static void AddGameClientInstanceMethodsFromType(Type targetType, Func<IGameClient, object> targetInstanceGetter)
Parameters
Type Name Description
Type targetType

The type to grab methods from.

Func<IGameClient, object> targetInstanceGetter

Function to access the instance of the given type.

View Source

AddGameClientStaticMethodsFromType(Type)

Adds the static methods from the provided type.

Declaration
public static void AddGameClientStaticMethodsFromType(Type targetType)
Parameters
Type Name Description
Type targetType

The type to grab static methods from.

View Source

Equals(object)

Custom equals for comparing two GameClientTokenTargetMethods

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
object obj

The object to compare to.

Returns
Type Description
bool

Whether the objects are equal.

Overrides
object.Equals(object)
View Source

FromMethod(MethodInfo)

Build a Game Client Token Target Method from the Method Info.

Declaration
public static GameClientTokenTargetMethod FromMethod(MethodInfo method)
Parameters
Type Name Description
MethodInfo method

The method info.

Returns
Type Description
GameClientTokenTargetMethod

The created GameClientTokenTargetMethod

View Source

GetHashCode()

Gets the Hash Code for the method.

Declaration
public override int GetHashCode()
Returns
Type Description
int

The hash code.

Overrides
object.GetHashCode()
View Source

InvokeOnTargetAsync(IGameClient, Guid, Guid)

Call the method.

Declaration
public Task<object> InvokeOnTargetAsync(IGameClient gameClient, Guid bugResolveId, Guid resolvePassId)
Parameters
Type Name Description
IGameClient gameClient

The game client to invoke the method on.

Guid bugResolveId

The id associated with this bug.

Guid resolvePassId

The id associated with this resolve pass.

Returns
Type Description
Task<object>

An object that is the result of invoking the method.

View Source

RemoveGameClientMethodsByDeclaringType(Type)

Removes methods based on their declaring type.

Declaration
public static void RemoveGameClientMethodsByDeclaringType(Type declaringType)
Parameters
Type Name Description
Type declaringType

The declaring type of the methods to remove.

View Source

ToString()

Converts method to a string.

Declaration
public override string ToString()
Returns
Type Description
string

The method string.

Overrides
object.ToString()
  • View Source
In this article
Back to top Generated by DocFX