Interface ITurnContext<T>
Provides context for a turn of an Agent, where the context's Activity property is strongly typed.
public interface ITurnContext<T> : ITurnContext where T : IActivity
Type Parameters
T
The activity type for this turn of the Agent.
- Inherited Members
Remarks
The Microsoft.Agents.Core.Models.IActivity interface defines properties shared by every type of activity. The interfaces that derive from Microsoft.Agents.Core.Models.IActivity include properties specific to a specific Microsoft.Agents.Core.Models.IActivityIAgentITurnContext
Properties
Activity
Gets the activity for this turn of the Agent.
T Activity { get; }
Property Value
- T
The activity for this turn of the Agent.