Click or drag to resize

ServiceMap Class

Describes a collection of services deployed to Kubernetes or that run in a simulated unit test environment. This is simply a dictionary mapping case sensitive service names to ServiceDescription records for each service.
Inheritance Hierarchy
SystemObject
  System.Collections.GenericDictionaryString, ServiceDescription
    Neon.ServiceServiceMap
      Neon.ServiceNeonServiceMap

Namespace:  Neon.Service
Assembly:  Neon.Common (in Neon.Common.dll) Version: 2.1.0
Syntax
public class ServiceMap : Dictionary<string, ServiceDescription>

The ServiceMap type exposes the following members.

Constructors
  NameDescription
Public methodServiceMap
Initializes a new instance of the ServiceMap class
Top
Properties
  NameDescription
Public propertyComparer (Inherited from DictionaryString, ServiceDescription.)
Public propertyCount (Inherited from DictionaryString, ServiceDescription.)
Public propertyItem
Indexer mapping service names to their ServiceDescription.
Public propertyKeys (Inherited from DictionaryString, ServiceDescription.)
Public propertyValues (Inherited from DictionaryString, ServiceDescription.)
Top
Methods
  NameDescription
Public methodAdd(ServiceDescription)
Adds a service description to the map.
Public methodAdd(String, ServiceDescription)
Adds the named service description.
Public methodClear (Inherited from DictionaryString, ServiceDescription.)
Public methodContainsKey (Inherited from DictionaryString, ServiceDescription.)
Public methodContainsValue (Inherited from DictionaryString, ServiceDescription.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator (Inherited from DictionaryString, ServiceDescription.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetObjectData (Inherited from DictionaryString, ServiceDescription.)
Public methodGetServiceEndpoint
Returns the named endpoint for the specified service.
Public methodGetServiceEndpointUri
Returns the named endpoint Uri for the specified service.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOnDeserialization
Implements the ISerializable interface and raises the deserialization event when the deserialization is complete.
(Inherited from DictionaryString, ServiceDescription.)
Public methodRemove (Inherited from DictionaryString, ServiceDescription.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryGetValue
Gets the value associated with the specified key.
(Inherited from DictionaryString, ServiceDescription.)
Top
See Also