Summer.Batch.Core.Unity.Injection.LiteralValueDependencyResolverPolicy< T > Class Template Reference
Implementation of IDependencyResolverPolicy that converts a string to the specified type using StringConverter. More...
Inheritance diagram for Summer.Batch.Core.Unity.Injection.LiteralValueDependencyResolverPolicy< T >:
Public Member Functions | |
LiteralValueDependencyResolverPolicy (string value) | |
Constructs a new IDependencyResolverPolicy. More... | |
object | Resolve (IBuilderContext context) |
Returns the converted value. More... | |
Detailed Description
Implementation of IDependencyResolverPolicy that converts a string to the specified type using StringConverter.
- Template Parameters
-
T the type to convert the string to.
Constructor & Destructor Documentation
Summer.Batch.Core.Unity.Injection.LiteralValueDependencyResolverPolicy< T >.LiteralValueDependencyResolverPolicy | ( | string | value | ) |
Constructs a new IDependencyResolverPolicy.
- Parameters
-
value the string value to convert
Member Function Documentation
object Summer.Batch.Core.Unity.Injection.LiteralValueDependencyResolverPolicy< T >.Resolve | ( | IBuilderContext | context | ) |
Returns the converted value.
- Parameters
-
context the builder context
- Returns
- the converted value
The documentation for this class was generated from the following file:
- Summer.Batch.Core/Core/Unity/Injection/LiteralValueDependencyResolverPolicy.cs