VersionedUtil

Description

static class Tinman.Core.Util.VersionedUtil
<T ref : IVersioned>

Generic helper class for dealing with IVersioned objects.

Public / Methods

Version

5 overloads


public static method Version1 → (1)

objs in : IEnumerable<T>

The versioned objects or null.

returns → int32

The version sum or 0 if objs in is null.

Returns the version sum of the given versioned objects.


public static method Version2 → (1)

objs in : IEnumerator<T> own

The versioned objects or null.

returns → int32

The version sum or 0 if objs in is null.

Returns the version sum of the given versioned objects.


public static method Version3 → (1)

objs in : IVectorConst<T>

The versioned objects or null.

returns → int32

The version sum or 0 if objs in is null.

Returns the version sum of the given versioned objects.


public static method Version4 → (1)

objects in : T [ ]

The versioned objects or null.

returns → int32

The version sum or 0 if objects in is null.

Returns the version sum of the given versioned objects.


public static method Version5 → (3)

objects in : T [ ]

[not-null]
The versioned objects.

offset in : int32

[>=0]
Index of first element in objects in to visit.

count in : int32

[>=0]
Total number of elements in objects in to visit.

returns → int32

The version sum or 0 if objects in is null.

Returns the version sum of the given versioned objects.