Struct TwCalendarEventLayout.Slot<T>
- Namespace
- TwBlazor.Components
- Assembly
- TwBlazor.dll
One event's position within its overlap cluster: Column (0-based) of ColumnCount total columns in the cluster it belongs to.
public readonly struct TwCalendarEventLayout.Slot<T> : IEquatable<TwCalendarEventLayout.Slot<T>>
Type Parameters
T
- Implements
- Inherited Members
Constructors
Slot(Schedule<T>, int, int)
One event's position within its overlap cluster: Column (0-based) of ColumnCount total columns in the cluster it belongs to.
public Slot(Schedule<T> Event, int Column, int ColumnCount)
Parameters
Properties
Column
public int Column { get; init; }
Property Value
ColumnCount
public int ColumnCount { get; init; }
Property Value
Event
public Schedule<T> Event { get; init; }
Property Value
- Schedule<T>
Methods
Deconstruct(out Schedule<T>, out int, out int)
public void Deconstruct(out Schedule<T> Event, out int Column, out int ColumnCount)
Parameters
Equals(object)
public override bool Equals(object obj)
Parameters
objobject
Returns
Equals(Slot<T>)
public bool Equals(TwCalendarEventLayout.Slot<T> other)
Parameters
otherTwCalendarEventLayout.Slot<T>
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(Slot<T>, Slot<T>)
public static bool operator ==(TwCalendarEventLayout.Slot<T> left, TwCalendarEventLayout.Slot<T> right)
Parameters
leftTwCalendarEventLayout.Slot<T>rightTwCalendarEventLayout.Slot<T>
Returns
operator !=(Slot<T>, Slot<T>)
public static bool operator !=(TwCalendarEventLayout.Slot<T> left, TwCalendarEventLayout.Slot<T> right)
Parameters
leftTwCalendarEventLayout.Slot<T>rightTwCalendarEventLayout.Slot<T>