Configures component's factory to set specified field to passed arg.
The function will check if passed argument is type compatible with specified field.
The argument can be a reference as well. In case of argument being reference to another component
in container, no type compatiblity checking will be done.
Params
factory = the factory which will be configured to set property.
arg = the value of property to be set, or reference to component in container.
Set component's public field to passed arg.
Configures component's factory to set specified field to passed arg. The function will check if passed argument is type compatible with specified field. The argument can be a reference as well. In case of argument being reference to another component in container, no type compatiblity checking will be done.
Params factory = the factory which will be configured to set property. arg = the value of property to be set, or reference to component in container.