Table of Contents

Class TwCalendarEventDialogResult<T>

Namespace
TwBlazor.Components
Assembly
TwBlazor.dll

The result of a TwCalendarEventDialog<T> closing successfully (not canceled).

public sealed record TwCalendarEventDialogResult<T> : IEquatable<TwCalendarEventDialogResult<T>>

Type Parameters

T

The type of Value for the affected event.

Inheritance
TwCalendarEventDialogResult<T>
Implements
Inherited Members

Constructors

TwCalendarEventDialogResult(TwCalendarEventDialogAction, Schedule<T>)

The result of a TwCalendarEventDialog<T> closing successfully (not canceled).

public TwCalendarEventDialogResult(TwCalendarEventDialogAction Action, Schedule<T> Event)

Parameters

Action TwCalendarEventDialogAction
Event Schedule<T>

Properties

Action

public TwCalendarEventDialogAction Action { get; init; }

Property Value

TwCalendarEventDialogAction

Event

public Schedule<T> Event { get; init; }

Property Value

Schedule<T>

Methods

Deconstruct(out TwCalendarEventDialogAction, out Schedule<T>)

public void Deconstruct(out TwCalendarEventDialogAction Action, out Schedule<T> Event)

Parameters

Action TwCalendarEventDialogAction
Event Schedule<T>

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(TwCalendarEventDialogResult<T>?)

public bool Equals(TwCalendarEventDialogResult<T>? other)

Parameters

other TwCalendarEventDialogResult<T>

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(TwCalendarEventDialogResult<T>?, TwCalendarEventDialogResult<T>?)

public static bool operator ==(TwCalendarEventDialogResult<T>? left, TwCalendarEventDialogResult<T>? right)

Parameters

left TwCalendarEventDialogResult<T>
right TwCalendarEventDialogResult<T>

Returns

bool

operator !=(TwCalendarEventDialogResult<T>?, TwCalendarEventDialogResult<T>?)

public static bool operator !=(TwCalendarEventDialogResult<T>? left, TwCalendarEventDialogResult<T>? right)

Parameters

left TwCalendarEventDialogResult<T>
right TwCalendarEventDialogResult<T>

Returns

bool