Click or drag to resize

ContextServiceTContext, TId Class

Base class for a service that holds contexts that can be accessed by a key.
Inheritance Hierarchy
SystemObject
  Slash.Unity.DataBind.StrangeIoCContextServiceTContext, TId
    Slash.Unity.DataBind.StrangeIoCContextServiceTContext

Namespace:  Slash.Unity.DataBind.StrangeIoC
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public class ContextService<TContext, TId>

Type Parameters

TContext
Type of context.
TId
Type of key.

The ContextServiceTContext, TId type exposes the following members.

Constructors
  NameDescription
Public methodContextServiceTContext, TId
Initializes a new instance of the ContextServiceTContext, TId class
Top
Properties
  NameDescription
Public propertyContexts
Enumerator for all stored contexts.
Top
Methods
  NameDescription
Public methodGetContext
Returns the context that is stored under the specified key.
Public methodSetContext
Sets the context for the specified id.
Top
See Also