Helper class that sets and unsets references to components.
More...
Helper class that sets and unsets references to components.
See IReferenceable, IUnreferenceable
◆ SetReferences()
static void PipServices3.Commons.Refer.Referencer.SetReferences |
( |
IReferences |
references, |
|
|
IEnumerable |
components = null |
|
) |
| |
|
static |
Sets references to multiple components.
To set references components must implement IReferenceable interface. If they don't the call to this method has no effect.
- Parameters
-
references | references to be set |
components | a list of components to set references to |
See IReferenceable
◆ SetReferencesForOne()
static void PipServices3.Commons.Refer.Referencer.SetReferencesForOne |
( |
IReferences |
references, |
|
|
object |
component |
|
) |
| |
|
static |
Sets references to specific component.
To set references components must implement IReferenceable interface. If they don't the call to this method has no effect.
- Parameters
-
references | references to be set |
component | a component to set references to |
See IReferenceable
◆ UnsetReferences() [1/2]
static void PipServices3.Commons.Refer.Referencer.UnsetReferences |
( |
IEnumerable |
components | ) |
|
|
static |
Unsets references in multiple components. To unset references components must implement IUnreferenceable interface. If they don't the call to this method has no effect.
- Parameters
-
components | a list of components to unset references |
◆ UnsetReferences() [2/2]
static void PipServices3.Commons.Refer.Referencer.UnsetReferences |
( |
IReferences |
references | ) |
|
|
static |
Unsets references in multiple components. To unset references components must implement IUnreferenceable interface. If they don't the call to this method has no effect.
- Parameters
-
components | a list of components to unset references |
◆ UnsetReferencesForOne()
static void PipServices3.Commons.Refer.Referencer.UnsetReferencesForOne |
( |
object |
component | ) |
|
|
static |
Unsets references in specific component.
To unset references components must implement IUnreferenceable interface. If they don't the call to this method has no effect.
- Parameters
-
component | a components to unset references |
See IUnreferenceable
The documentation for this class was generated from the following file: