Show / Hide Table of Contents

Class RecommendedAction<T>

Represents an action that has a weight (an urgency) corresponding to it.

Inheritance
object
RecommendedAction<T>
Implements
IRecommendedAction<T>
IRecommendedAction
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: Microsoft.XboxStudios.BotBrain
Assembly: BotBrain.Core.dll
Syntax
public class RecommendedAction<T> : IRecommendedAction<T>, IRecommendedAction
Type Parameters
Name Description
T

The type of the action.

Remarks

Initializes a new instance of the RecommendedAction<T> class.

Constructors

View Source

RecommendedAction(double, T)

Represents an action that has a weight (an urgency) corresponding to it.

Declaration
[JsonConstructor]
public RecommendedAction(double urgency, T action)
Parameters
Type Name Description
double urgency

The urgency for the action.

T action

The action.

Remarks

Initializes a new instance of the RecommendedAction<T> class.

View Source

RecommendedAction(T)

Initializes a new instance of the RecommendedAction<T> class.

Declaration
public RecommendedAction(T action)
Parameters
Type Name Description
T action

The action.

Properties

View Source

Action

Gets the action.

Declaration
public T Action { get; }
Property Value
Type Description
T
View Source

Urgency

Gets the urgency for the action.

Declaration
public double Urgency { get; }
Property Value
Type Description
double

Methods

View Source

ToString()

Returns a string that represents the current object.

Declaration
public override string ToString()
Returns
Type Description
string

A string that represents the current object.

Overrides
object.ToString()

Implements

IRecommendedAction<TAction>
IRecommendedAction
  • View Source
In this article
Back to top Generated by DocFX