|
Init(args)
Scripting Reference
|
Represents an object that can can specify the arguments used to initialize an object that implements one of the IInitializable<> interfaces.
Base interface for all generic IInitializer<,> interfaces, which should be implemented by all Initializer classes.
Public Member Functions | |
| bool | TargetIsAssignableOrConvertibleToType (Type type) |
| Gets a value indicating whether an object of the given type can be assigned to the Target property directly, or if type implements IValueProvider<T>, IValueByTypeProvider or IValueByTypeProviderAsync. | |
| object | InitTarget () |
| Initializes the client object with the arguments specified by this initializer. | |
| System.Threading.Tasks.Task< object > | InitTargetAsync () |
| Initializes the client object asynchronously with the arguments specified by this initializer. | |
Properties | |
| Object | Target [get, set] |
| Existing target instance to initialize, if any. | |
| bool | ProvidesCustomInitArguments [get] |
| Gets a value indicating whether this initializer is able to provide custom per-instance Init arguments for its client. | |