Inhaltsverzeichnis

Klasse TypePrefixSubscriptionAttribute

Namespace
Microsoft.AutoGen.Core
Assembly
Microsoft.AutoGen.Core.dll
[AttributeUsage(AttributeTargets.All)]
public class TypePrefixSubscriptionAttribute : Attribute, IUnboundSubscriptionDefinition
Vererbung
TypePrefixSubscriptionAttribute
Implementiert
Geerbte Member

Konstruktoren

TypePrefixSubscriptionAttribute(string)

public TypePrefixSubscriptionAttribute(string topic)

Parameter

topic string

Eigenschaften

Topic

public string Topic { get; }

Eigenschaftswert

string

Methoden

Bind(AgentType)

Bindet das Abonnement an einen bestimmten Agententyp und erstellt eine konkrete ISubscriptionDefinition.

public ISubscriptionDefinition Bind(AgentType agentType)

Parameter

agentType AgentType

Der Agententyp, der dem Abonnement zugeordnet werden soll.

Rückgabe

ISubscriptionDefinition

Eine neue ISubscriptionDefinition, die an den angegebenen Agententyp gebunden ist.