Interface IInjector
Interface, which describe service injector, which know get injected values.
Namespace: Kros.KORM.Injection
Assembly: Kros.KORM.dll
Syntax
public interface IInjector
Methods
GetValue(String)
Get injected value for property.
Declaration
object GetValue(string propertyName)
Parameters
Type | Name | Description |
---|---|---|
System.String | propertyName | Property, which want resolve. |
Returns
Type | Description |
---|---|
System.Object | Value for injection. |
IsInjectable(String)
Can by property injected?
Declaration
bool IsInjectable(string propertyName)
Parameters
Type | Name | Description |
---|---|---|
System.String | propertyName | Property name. |
Returns
Type | Description |
---|---|
System.Boolean | true if can by injected, otherwise false. |