Skip to content

FAQ.TimestampedObjects

IzayoiJiichan edited this page Feb 2, 2025 · 1 revision

TimestampedObjects

  • I want to know which object to use.

Value type (TValue)

  • Struct -> Go to S
  • Class -> Go to C
  • Enum -> Go to E

S:

  1. Whether the Value to be handled is a primitive struct type (int, long, float, bool, etc..) or not.
  • Yes -> ComparableTimestampedStruct<TValue>
  • No -> Next
  1. Whether the Value to be handled is a nullable primitive struct type (int?, long?, float?, bool?, etc..) or not.
  • Yes -> ComparableTimestampedStruct<ComparableNullable<TValue>>
  • No -> Next
  1. Whether the Value to be handled is of multiple primitive struct types or not.
  • Yes -> ComparableTimestampedStruct<ComparableStructPack<T1, T2, ..>>
  • No -> Next
  1. Whether the Value to be handled is a comparable structure or not.
  • Yes -> ComparableTimestampedStruct<YourComparableStruct>
  • No -> Next
  1. Whether the Value to be handled is of multiple (uncomparable) struct types or not.
  • Yes -> UncomparableTimestampedStruct<UncomparableStructPack<T1, T2, ..>>
  • No -> Next
  1. Whether the Value to be handled is a (uncomparable) structure or not.
  • Yes -> UncomparableTimestampedStruct<YourStruct>
  • No -> Next

-> UncomparableTimestampedObject<TValue>

C:

  1. Whether the Value to be handled is string or not.
  • Yes -> TimestampedString
  • No -> Next
  1. Whether the Value to be handled is a comparable class or not.
  • Yes -> ComparableTimestampedClass<TValue>
  • No -> UncomparableTimestampedClass<TValue>

E:

  1. Whether you want to compare Value.
  • Yes -> ComparableTimestampedClass<ComparableEnum<TEnum>>
  • No -> UncomparableTimestampedObject<TEnum>
Clone this wiki locally