-
Notifications
You must be signed in to change notification settings - Fork 0
Izayoi.Data.Packs.ComparableStructPack‐4
IzayoiJiichan edited this page Feb 1, 2025
·
2 revisions
Namespace | Izayoi.Data.Packs |
Assembly | Izayoi.Data.Packs.dll |
Represents a comparable structure pack.
public readonly struct ComparableStructPack<TValue1, TValue2, TValue3, TValue4> :
IComparableStructPack<TValue1, TValue2, TValue3, TValue4>,
IComparable<ComparableStructPack<TValue1, TValue2, TValue3, TValue4>>,
IEquatable<ComparableStructPack<TValue1, TValue2, TValue3, TValue4>>
where TValue1 : struct, IComparable<TValue1>, IEquatable<TValue1>
where TValue2 : struct, IComparable<TValue2>, IEquatable<TValue2>
where TValue3 : struct, IComparable<TValue3>, IEquatable<TValue3>
where TValue4 : struct, IComparable<TValue4>, IEquatable<TValue4>
TValue1
TValue2
TValue3
TValue4
IComparable<TVable>
IEquatable<TVable>
Object -> ValueType -> ComparableStructPack<TValue1, TValue2, TValue3, TValue4>
Name | Summary |
---|---|
ComparableStructPack<TValue1, TValue2, TValue3, TValue4>(in TValue1 value1, in TValue2 value2, in TValue3 value3, in TValue4 value4) | Initializes an instance of the ComparableStructPack<TValue1, TValue2, TValue3, TValue4> structure to the specified value. |
Name | Type | Summary |
---|---|---|
Value1 | TValue1 | Gets the value1 of the current object. |
Value2 | TValue2 | Gets the value2 of the current object. |
Value3 | TValue3 | Gets the value3 of the current object. |
Value4 | TValue4 | Gets the value4 of the current object. |
Name | Returns | Summary |
---|---|---|
CompareTo(ComparableStructPack<TValue1, TValue2, TValue3, TValue4> other) | int | Compares this instance to a specified ComparableStructPack<TValue1, TValue2, TValue3, TValue4> and returns an indication of their relative values. |
CompareTo(IComparableStructPack<TValue1, TValue2, TValue3, TValue4> other) | int | Compares this instance to a specified IComparableStructPack<TValue1, TValue2, TValue3, TValue4> and returns an indication of their relative values. |
CompareTo(object? other) | int | Compares this instance to a specified object and returns an indication of their relative values. |
Deconstruct(out TValue1 value1, out TValue2 value2) | void | Deconstructs this ComparableStructPack<TValue1, TValue2, TValue3, TValue4> instance by value1 and value2. |
Deconstruct(out TValue1 value1, out TValue2 value2, out TValue3 value3) | void | Deconstructs this ComparableStructPack<TValue1, TValue2, TValue3, TValue4> instance by value1, value2 and value3. |
Deconstruct(out TValue1 value1, out TValue2 value2, out TValue3 value3, out TValue4 value4) | void | Deconstructs this ComparableStructPack<TValue1, TValue2, TValue3, TValue4> instance by value1, value2, value3 and value4. |
Equals(ComparableStructPack<TValue1, TValue2, TValue3, TValue4> other) | bool | Indicates whether the current ComparableStructPack<TValue1, TValue2, TValue3, TValue4> object is equal to a specified ComparableStructPack<TValue1, TValue2, TValue3, TValue4>. |
Equals(IComparableStructPack<TValue1, TValue2, TValue3, TValue4> other) | bool | Indicates whether the current IComparableStructPack<TValue1, TValue2, TValue3, TValue4> object is equal to a specified ComparableStructPack<TValue1, TValue2, TValue3, TValue4>. |
Equals(object? other) | bool | Indicates whether the current ComparableStructPack<TValue1, TValue2, TValue3, TValue4> object is equal to a specified object. |
Equals(object? other, IEqualityComparer comparer) | bool | Indicates whether the current ComparableStructPack<TValue1, TValue2, TValue3, TValue4> object is equal to a specified object. |
GetHashCode() | string | Returns the hash code for this instance. |
GetHashCode(IEqualityComparer comparer) | string | Returns the hash code for this instance. |
ToString() | string? | Returns the text representation of the value of the current ComparableStructPack<TValue1, TValue2, TValue3, TValue4> object. |
Operator | Returns | Left | Right |
---|---|---|---|
== | bool | ComparableStructPack<TValue1, TValue2, TValue3, TValue4> | ComparableStructPack<TValue1, TValue2, TValue3, TValue4> |
!= | bool | ComparableStructPack<TValue1, TValue2, TValue3, TValue4> | ComparableStructPack<TValue1, TValue2, TValue3, TValue4> |
< | bool | ComparableStructPack<TValue1, TValue2, TValue3, TValue4> | ComparableStructPack<TValue1, TValue2, TValue3, TValue4> |
<= | bool | ComparableStructPack<TValue1, TValue2, TValue3, TValue4> | ComparableStructPack<TValue1, TValue2, TValue3, TValue4> |
> | bool | ComparableStructPack<TValue1, TValue2, TValue3, TValue4> | ComparableStructPack<TValue1, TValue2, TValue3, TValue4> |
>= | bool | ComparableStructPack<TValue1, TValue2, TValue3, TValue4> | ComparableStructPack<TValue1, TValue2, TValue3, TValue4> |
Example.ComparableStructPack‐4
Product | Versions |
---|---|
.NET | 8, 9 |
.NET Standard | 2.0, 2.1 |
- Izayoi.Data
- Izayoi.Data.Query
- Izayoi.Data.Repository
- Izayoi.Data.Comparable
- Izayoi.Data.Packs
- Izayoi.Data.TimestampedObjects
- Izayoi.Data.Validation
Examples
- Database
- Map Class
- DbCommandAdapter
- DbDataMapper
- QueryOption
- QueryBuilder
- DbRepository
- Comparable
- Packs
- Timestamped Objects
- DataValidator
FAQ