Method Compare
- Assembly
- NationalInstruments.SemiconductorTestLibrary.Abstractions.dll
Compare(ComparisonType, T)
Performs compare operation between every element in current PinSiteData object and the given value.
public PinSiteData<bool> Compare(ComparisonType comparisonType, T value)
Parameters
comparisonType
ComparisonTypeThe comparison type to use.
value
TThe scalar value to compare to.
Returns
- PinSiteData<bool>
A new PinSiteData object that contains the compare results.
Remarks
This method can accept either a scalar or an array as the input value, but the value must be of the same underlying type, T, as the PinSiteData object.
Compare<TOther, TResult>(ComparisonType, TOther)
Performs compare operation between every element in current PinSiteData object and the given value.
public PinSiteData<TResult> Compare<TOther, TResult>(ComparisonType comparisonType, TOther value)
Parameters
comparisonType
ComparisonTypeThe comparison type to use.
value
TOtherThe scalar value to compare to.
Returns
- PinSiteData<TResult>
A new PinSiteData object that contains the compare results.
Type Parameters
TOther
TResult
The output type of the result from the operation. The type must be an array of equal dimensions as the underlying type, T, of current PinSiteData object.
Remarks
This method can accept either a scalar or an array as the input value, but the value must be of the same underlying type, T, as the PinSiteData object.
Compare(ComparisonType, SiteData<T>)
Performs compare operation between every element in current PinSiteData object and the given SiteData object.
public PinSiteData<bool> Compare(ComparisonType comparisonType, SiteData<T> other)
Parameters
comparisonType
ComparisonTypeThe comparison type to use.
other
SiteData<T>The other SiteData<T> to compare to.
Returns
- PinSiteData<bool>
A new PinSiteData object that contains the compare results.
Remarks
This method can accept a SiteData object of either a scalar or an array type as the input value, but the underlying type of the input value must be of the same underlying type, T, as the PinSiteData object.
Compare<TOther, TResult>(ComparisonType, SiteData<TOther>)
Performs compare operation between every element in current PinSiteData object and the given SiteData object.
public PinSiteData<TResult> Compare<TOther, TResult>(ComparisonType comparisonType, SiteData<TOther> other)
Parameters
comparisonType
ComparisonTypeThe comparison type to use.
other
SiteData<TOther>The other SiteData<T> to compare to.
Returns
- PinSiteData<TResult>
A new PinSiteData object that contains the compare results.
Type Parameters
TOther
TResult
The output type of the result from the operation. The type must be an array of equal dimensions as the underlying type, T, of current PinSiteData object.
Remarks
This method can accept a SiteData object of either a scalar or an array type as the input value, but the underlying type of the input value must be of the same underlying type, T, as the PinSiteData object.
Compare(ComparisonType, PinSiteData<T>)
Performs compare operation between every element in current PinSiteData object and the given PinSiteData object.
public PinSiteData<bool> Compare(ComparisonType comparisonType, PinSiteData<T> other)
Parameters
comparisonType
ComparisonTypeThe comparison type to use.
other
PinSiteData<T>The other PinSiteData<T> to compare to.
Returns
- PinSiteData<bool>
A new PinSiteData object that contains the compare results.
Remarks
This method can accept a PinSiteData object of either a scalar or an array type as the input value, but the underlying type of the input value must be of the same underlying type, T, as the PinSiteData object being operated on.
Compare<TOther, TResult>(ComparisonType, PinSiteData<TOther>)
Performs compare operation between every element in current PinSiteData object and the given PinSiteData object.
public PinSiteData<TResult> Compare<TOther, TResult>(ComparisonType comparisonType, PinSiteData<TOther> other)
Parameters
comparisonType
ComparisonTypeThe comparison type to use.
other
PinSiteData<TOther>The other PinSiteData<T> to compare to.
Returns
- PinSiteData<TResult>
A new PinSiteData object that contains the compare results.
Type Parameters
TOther
TResult
The output type of the result from the operation. The type must be an array of equal dimensions as the underlying type, T, of current PinSiteData object.
Remarks
This method can accept a PinSiteData object of either a scalar or an array type as the input value, but the underlying type of the input value must be of the same underlying type, T, as the PinSiteData object being operated on.