===============================
Element **valueImplementation**
===============================
Element **valueImplementation** can be used under element **iocConfiguration/dependencyInjection/services/service** (or **iocConfiguration/pluginsSetup/pluginSetup/dependencyInjection/services/service** for plugin section), to bind the service to a value specified using a value initialization element (e.g.,
such elements as **int32**, **int64** **collection**, **settingValue**, **classMember**, **object**, **constructedValue**).
.. note::
Refer to :doc:`./value-initialization-elements/index` for details on value initialization elements.
.. note::
Refer to :doc:`../sample-files/IoCConfiguration_valueImplementation.generated` for more examples on **valueImplementation** element.
Example 1: Using **valueImplementation** to bind **System.Int32** to a setting value
====================================================================================
.. code-block:: xml
:linenos:
Example 2: Using **valueImplementation** to bind **System.Double** to 3.5
=========================================================================
.. code-block:: xml
:linenos:
Example 3: Using **valueImplementation** to bind service to class member
========================================================================
.. code-block:: xml
:linenos:
Example 4: Using **valueImplementation** to bind service to collection
======================================================================
.. code-block:: xml
:linenos: