Table of Contents

Method Compare

Namespace
NationalInstruments.SemiconductorTestLibrary.DataAbstraction
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 ComparisonType

The comparison type to use.

value T

The scalar value to compare.

Returns

SiteData<bool>

A new SiteData 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 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 ComparisonType

The comparison type to use.

value TOther

The 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 ComparisonType

The comparison type to use.

other SiteData<T>

The other SiteData<T> to compare.

Returns

SiteData<bool>

A new SiteData 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 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 ComparisonType

The 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.