TopicLookup Class

.NET Framework 4.5

Represents a collection of topic that is used as a lookup.

System::Object
  Microsoft.AspNet.SignalR.Messaging::TopicLookup

Namespace:  Microsoft.AspNet.SignalR.Messaging
Assembly:  Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)

public ref class TopicLookup sealed : IEnumerable<KeyValuePair<String^, Topic^>>, 
	IEnumerable

The TopicLookup type exposes the following members.

  NameDescription
Public methodTopicLookupInitializes a new instance of the TopicLookup class.
Top

  NameDescription
Public propertyCountGets the number of all (general and group) topics in the collection.
Public propertyItemGet the topic with the specified key.
Top

  NameDescription
Public methodClearRemoves all topics from the collection.
Public methodContainsKeyDetermines whether the topic with the specified key is contained in the collection.
Public methodEquals (Inherited from Object.)
Public methodGetEnumeratorGets the enumerator that iterates through the collection.
Public methodGetHashCode (Inherited from Object.)
Public methodGetOrAddAdds a topic to the collection by using the specified function, if the key does not already exist.
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from Object.)
Public methodTryGetValueAttempts to get the topic with the specified key from the collection.
Public methodTryRemoveAttempts to remove and return the topic that has the specified key from the collection.
Top

  NameDescription
Explicit interface implemetationPrivate methodIEnumerable::GetEnumeratorGets the enumerator that iterates through the collection.
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: