Struct AgentType
Represents the type of an agent as a string. This is a strongly-typed wrapper around a string, ensuring type safety when working with agent types.
public struct AgentType
- Inherited Members
Remarks
This struct is immutable and provides implicit conversion to and from string.
Fields
Name
The string representation of this agent type.
public required string Name
Field Value
Operators
explicit operator AgentType(Type)
public static explicit operator AgentType(Type type)
Parameters
Returns
implicit operator string(AgentType)
public static implicit operator string(AgentType type)
Parameters
Returns
- string
The string representation of the agent type.
implicit operator AgentType(string)
public static implicit operator AgentType(string type)
Parameters
type
stringThe string representation of the agent type.