Click or drag to resize

ManyTInterface Class

Handles mapping between a interface and concrete type(s) This is grouped transient objects...
Inheritance Hierarchy
SystemObject
  Crosser.ResolveManyTInterface

Namespace:  Crosser.Resolve
Assembly:  Crosser.Resolver (in Crosser.Resolver.dll) Version: 0.0.9.1
Syntax
C#
public static class Many<TInterface>

Type Parameters

TInterface
Interface to map to

The ManyTInterface type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberAllowMultipleOfSameType
If false the resolved types mapped to the TInterface have to be unique. Default is true
Top
Methods
  NameDescription
Public methodStatic memberAdd
Add a new transient mapping
Public methodStatic memberDisableAll
Disables all mapped dependencies
Public methodStatic memberDisableAllOfTClass
Disables all types of a specific type TClass where TClass implements TInterface
Public methodStatic memberEnableAll
Enables all mapped dependencies
Public methodStatic memberEnableAllOfTClass
Enables all types of a specific type TClass where TClass implements TInterface
Public methodStatic memberGetAll
Will return all enabled mapping for this interface
Public methodStatic memberGetNamedInstance
Returns a transient instance of type TInterface (if found)
Public methodStatic memberProperties(String)
Returns properties for a named instance
Public methodStatic memberPropertiesTClass
Returns properties for the first type of TClass where TClass implements TInterface
Public methodStatic memberRemoveTClass
Removes all mappings to the Type of TClass where TClass implements TInterface
Public methodStatic memberReset
This will clear the mapping.
Top
See Also