Contains a reference to a component and locator to find it. It is used by References to store registered component references.
More...
|
| | Reference (object locator, object component) |
| | Create a new instance of the reference object and assigns its values. More...
|
| |
| bool | Match (object locator) |
| | Matches locator to this reference locator. More...
|
| |
| object | GetComponent () |
| | Gets the stored component reference. More...
|
| |
| object | GetLocator () |
| | Gets the stored component locator. More...
|
| |
|
|
object | _locator |
| |
|
object | _component |
| |
Contains a reference to a component and locator to find it. It is used by References to store registered component references.
◆ Reference()
| PipServices3.Commons.Refer.Reference.Reference |
( |
object |
locator, |
|
|
object |
component |
|
) |
| |
Create a new instance of the reference object and assigns its values.
- Parameters
-
| locator | a locator to find the reference. |
| component | a reference to component. |
◆ GetComponent()
| object PipServices3.Commons.Refer.Reference.GetComponent |
( |
| ) |
|
Gets the stored component reference.
- Returns
- the component's references.
◆ GetLocator()
| object PipServices3.Commons.Refer.Reference.GetLocator |
( |
| ) |
|
Gets the stored component locator.
- Returns
- the component's locator.
◆ Match()
| bool PipServices3.Commons.Refer.Reference.Match |
( |
object |
locator | ) |
|
Matches locator to this reference locator.
Descriptors are matched using equal method.All other locator types are matched using direct comparison.
- Parameters
-
| locator | the locator to match. |
- Returns
- true if locators are matching and false it they don't.
The documentation for this class was generated from the following file: