Interface ISubscriptionDefinition
Defines a subscription that matches topics and maps them to agents.
Properties
Id
Gets the unique identifier of the subscription.
Property Value
Methods
Equals(ISubscriptionDefinition?)
Determines whether the specified subscription is equal to the current subscription.
Parameters
other
ISubscriptionDefinition The subscription to compare.
Returns
- bool
true
if the subscriptions are equal; otherwise,false
.
Equals(object?)
Determines whether the specified object is equal to the current subscription.
Parameters
obj
objectThe object to compare with the current instance.
Returns
- bool
true
if the specified object is equal to this instance; otherwise,false
.
GetHashCode()
Returns a hash code for this subscription.
Returns
- int
A hash code for the subscription.
MapToAgent(TopicId)
Maps a Topictrue
.
Parameters
topic
TopicId The topic to map.
Returns
Matches(TopicId)
Checks if a given Topic
Parameters
topic
TopicId The topic to check.
Returns
- bool
true
if the topic matches the subscription; otherwise,false
.