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
comparisonTypeComparisonType-
The comparison type to use.
valueT-
The 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
comparisonTypeComparisonType-
The comparison type to use.
valueTOther-
The scalar value to compare.
Returns
- SiteData<TResult>
-
A new SiteData object that contains the compare results.
Type Parameters
TOtherTResult-
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
comparisonTypeComparisonType-
The comparison type to use.
otherSiteData<T>-
The other NationalInstruments.SemiconductorTestLibrary.DataAbstraction.SiteData`1 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
comparisonTypeComparisonType-
The comparison type to use.
otherSiteData<TOther>-
The other NationalInstruments.SemiconductorTestLibrary.DataAbstraction.SiteData`1 to compare.
Returns
- SiteData<TResult>
-
A new SiteData object that contains the compare results.
Type Parameters
TOtherTResult-
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.