Method TryGetMatchingConfigurationEntry
TryGetMatchingConfigurationEntry(Labeling, out T)
Attempts to find the matching index in m_LabelEntries for the given Labeling.
Declaration
public bool TryGetMatchingConfigurationEntry(Labeling labeling, out T labelEntry)
Parameters
Type | Name | Description |
---|---|---|
Labeling | labeling | The Labeling to match |
T | labelEntry | When this method returns, contains the matching ILabelEntry, or if no match was found.
|
Returns
Type | Description |
---|---|
bool | Returns true if a match was found. False if not. |
Remarks
The matching index is the first class name in the given Labeling which matches an entry in m_LabelEntries.
TryGetMatchingConfigurationEntry(Labeling, out T, out int)
Attempts to find the matching index in m_LabelEntries for the given Labeling.
Declaration
public bool TryGetMatchingConfigurationEntry(Labeling labeling, out T labelEntry, out int labelEntryIndex)
Parameters
Type | Name | Description |
---|---|---|
Labeling | labeling | The Labeling to match |
T | labelEntry | When this method returns, contains the matching ILabelEntry, or if no match was found.
|
int | labelEntryIndex | When this method returns, contains the index of the matching ILabelEntry, or if no match was found.
|
Returns
Type | Description |
---|---|
bool | Returns true if a match was found. False if not. |
Remarks
The matching index is the first class name in the given Labeling which matches an entry in m_LabelEntries.