Method Compare
- Assembly
- NationalInstruments.SemiconductorTestLibrary.Abstractions.dll
Compare(ComparisonType, T)
Performs compare operation between every element in current SiteData object and the given value.
public SiteData<bool> Compare(ComparisonType comparisonType, T value)
Parameters
comparisonType
ComparisonTypeThe comparison type to use.
value
TThe scalar value to compare.
Returns
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 SiteData object.
Compare<TOther, TResult>(ComparisonType, TOther)
Performs compare operation between every element in current SiteData object and the given value.
public SiteData<TResult> Compare<TOther, TResult>(ComparisonType comparisonType, TOther value)
Parameters
comparisonType
ComparisonTypeThe comparison type to use.
value
TOtherThe scalar value to compare.
Returns
- SiteData<TResult>
A new SiteData 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 SiteData 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 SiteData object.
Compare(ComparisonType, SiteData<T>)
Performs compare operation between every element in current SiteData object and the given SiteData object.
public SiteData<bool> Compare(ComparisonType comparisonType, SiteData<T> other)
Parameters
comparisonType
ComparisonTypeThe comparison type to use.
other
SiteData<T>The other SiteData<T> to compare.
Returns
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 SiteData object being operated on.
Compare<TOther, TResult>(ComparisonType, SiteData<TOther>)
Performs compare operation between every element in current SiteData object and the given SiteData object.
public SiteData<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.
Returns
- SiteData<TResult>
A new SiteData 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 SiteData 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 SiteData object being operated on.