Click or drag to resize

DefinitionalObjectCollectionItemsAreSameDefinitionT Method (TimeIntervalCollectionT, TimeIntervalCollectionT)

Determines if two interval collections contain items with the same definition and in the same order, or are both .

Namespace:  AGI.Foundation.Infrastructure
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public static bool CollectionItemsAreSameDefinition<T>(
	TimeIntervalCollection<T> first,
	TimeIntervalCollection<T> second
)

Parameters

first
Type: AGI.Foundation.TimeTimeIntervalCollectionT
The first collection, which may be null.
second
Type: AGI.Foundation.TimeTimeIntervalCollectionT
The second collection, which may be null.

Type Parameters

T
The type of the data in the interval collections.

Return Value

Type: Boolean
if the two collections contain items with the same definition and in the same order; otherwise .
Remarks
If T implements IEquatableDefinition, this method will use IsSameDefinition(Object) to compare them. Otherwise, it will use Equals(Object, Object).
See Also