========================== **injectedObject** element ========================== Element **injectedObject** can be used to specify a value that will be injected by **IoC.Configuration**. The type to inject is specified using either **type** attribute (and optional **assembly** attribute), or **typeRef** attribute. If the type to inject is non-abstract and non-interface, and has a public constructor, **IoC.Configuration** will create a binding for the type. Otherwise, a binding for the type should be specified either in configuration file, or in one of the loaded **IoC** modules. Example 1: Using **injectedObject** element to specify service implementation constructor parameter value ========================================================================================================= .. code-block:: xml :linenos: Example 2: Using **injectedObject** element to specify injected property value in service implementation ======================================================================================================== .. code-block:: xml :linenos: Example 2: Using **injectedObject** element to specify a returned value in **autoProperty** element =================================================================================================== .. code-block:: xml :linenos: