ObjectReflectors Class
Provides methods for Reflector<T> (T
is
object
).
C#
public static class ObjectReflectors
- Inheritance
-
Object
Reflectors
Methods
Associate(Type, Injector, Action<Type, Reflector<object>>) |
Creates a new Reflector<T> ( |
Methods Detail
Associate(Type, Injector, Action<Type, Reflector<object>>)
Creates a new Reflector<T> (T
is
object
) and perform the specified action
with the placeholder type and the new reflector
associated with the specified type and injector.
C#
public static void Associate(Type type, Injector injector, Action<Type, Reflector<object>> action)
Parameters
- type
- Type
The type of the value to be injected.
- injector
- Injector
The injector that injects the value to the field or with the method.