DefinitionalObject.CollectionItemsAreSameDefinition<T> Method (TimeIntervalCollection<T>, TimeIntervalCollection<T>) |
Determines if two interval collections contain items with the same definition and in the same order,
or are both null.
Namespace:
AGI.Foundation.Infrastructure
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 25.1.421.0 (25.1.421.0)
Syntaxpublic static bool CollectionItemsAreSameDefinition<T>(
TimeIntervalCollection<T> first,
TimeIntervalCollection<T> second
)
Public Shared Function CollectionItemsAreSameDefinition(Of T) (
first As TimeIntervalCollection(Of T),
second As TimeIntervalCollection(Of T)
) As Boolean
public:
generic<typename T>
static bool CollectionItemsAreSameDefinition(
TimeIntervalCollection<T>^ first,
TimeIntervalCollection<T>^ second
)
static member CollectionItemsAreSameDefinition :
first : TimeIntervalCollection<'T> *
second : TimeIntervalCollection<'T> -> bool
Parameters
- first
- Type: AGI.Foundation.Time.TimeIntervalCollection<T>
The first collection, which may be null. - second
- Type: AGI.Foundation.Time.TimeIntervalCollection<T>
The second collection, which may be null.
Type Parameters
- T
- The type of the data in the interval collections.
Return Value
Type:
Booleantrue if the two collections contain items with the same definition and in the
same order; otherwise
false.
Remarks
See Also