Table of Contents

Method GetValue<T>

Namespace
NationalInstruments.SemiconductorTestLibrary.Common
Assembly
NationalInstruments.SemiconductorTestLibrary.Abstractions.dll

GetValue<T>(IDictionary<string, T>, SitePinInfo, out bool)

Gets the data for the pin name or cascaded pin group name associated with the pinData dictionary.

public static T GetValue<T>(this IDictionary<string, T> pinData, SitePinInfo sitePinInfo, out bool valueAssociatedWithPinGroupName)

Parameters

pinData IDictionary<string, T>

The PinData object containing the data to search.

sitePinInfo SitePinInfo

The associated SitePinInfo object.

valueAssociatedWithPinGroupName bool

Returns, true if the data is associated with pin group name.

Returns

T

The value associated with the specified pin name or pin group name of type T.

Type Parameters

T

Remarks

If the value is not found using the pin name, the method attempts to retrieve the value using the pin group name if cascading information is available. Use the out parameter valueAssociatedWithPinGroupName to determine which key was used to obtain the value.