Method Do
- Assembly
- NationalInstruments.SemiconductorTestLibrary.Abstractions.dll
Do<TSessionInformation>(ISessionsBundle<TSessionInformation>, Action<TSessionInformation>)
Does an operation on all sessions in parallel with the same inputs.
public static void Do<TSessionInformation>(this ISessionsBundle<TSessionInformation> sessionsBundle, Action<TSessionInformation> action)
Parameters
sessionsBundle
ISessionsBundle<TSessionInformation>The sessions bundle object.
action
Action<TSessionInformation>The operation to happen on each session info.
Type Parameters
TSessionInformation
The type of the session info.
Do<TSessionInformation>(ISessionsBundle<TSessionInformation>, Action<TSessionInformation, int>)
Does an operation on all sessions in parallel with session specific inputs.
public static void Do<TSessionInformation>(this ISessionsBundle<TSessionInformation> sessionsBundle, Action<TSessionInformation, int> action)
Parameters
sessionsBundle
ISessionsBundle<TSessionInformation>The sessions bundle object.
action
Action<TSessionInformation, int>The operation to happen on each session info. The second parameter is the session index.
Type Parameters
TSessionInformation
The type of the session info.
Do<TSessionInformation>(ISessionsBundle<TSessionInformation>, Action<TSessionInformation, SitePinInfo>)
Does an operation on all sessions and channels in parallel.
public static void Do<TSessionInformation>(this ISessionsBundle<TSessionInformation> sessionsBundle, Action<TSessionInformation, SitePinInfo> action)
Parameters
sessionsBundle
ISessionsBundle<TSessionInformation>The sessions bundle object.
action
Action<TSessionInformation, SitePinInfo>The operation to happen on each session info. The second parameter is the SitePinInfo associated with a single channel.
Type Parameters
TSessionInformation
The type of the session info.
Do<TSessionInformation>(ISessionsBundle<TSessionInformation>, Action<TSessionInformation, int, SitePinInfo>)
Does an operation on all sessions in parallel.
public static void Do<TSessionInformation>(this ISessionsBundle<TSessionInformation> sessionsBundle, Action<TSessionInformation, int, SitePinInfo> action)
Parameters
sessionsBundle
ISessionsBundle<TSessionInformation>The sessions bundle object.
action
Action<TSessionInformation, int, SitePinInfo>The operation to happen on each session info. The second parameter is the session index. The third parameter is the SitePinInfo associates with a single channel.
Type Parameters
TSessionInformation
The type of the session info.