Class WindowAndController<TWindow, TController>
A simple record for holding a window and controller
Inheritance
WindowAndController<TWindow, TController>
Assembly: LemonEdge.Client.UI.API.dll
Syntax
public record WindowAndController<TWindow, TController> : IEquatable<WindowAndController<TWindow, TController>> where TWindow : IWindow where TController : class
Type Parameters
Name |
Description |
TWindow |
A simple record for holding a window and controller |
TController |
A simple record for holding a window and controller |
Constructors
WindowAndController(WindowAndController<TWindow, TController>)
Declaration
protected WindowAndController(WindowAndController<TWindow, TController> original)
Parameters
WindowAndController(TWindow, TController)
A simple record for holding a window and controller
Declaration
public WindowAndController(TWindow Window, TController Controller)
Parameters
Type |
Name |
Description |
TWindow |
Window |
|
TController |
Controller |
|
Properties
Controller
Declaration
public TController Controller { get; init; }
Property Value
Type |
Description |
TController |
|
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
Window
Declaration
public TWindow Window { get; init; }
Property Value
Methods
Deconstruct(out TWindow, out TController)
Declaration
public void Deconstruct(out TWindow Window, out TController Controller)
Parameters
Type |
Name |
Description |
TWindow |
Window |
|
TController |
Controller |
|
Equals(WindowAndController<TWindow, TController>?)
Declaration
public virtual bool Equals(WindowAndController<TWindow, TController>? other)
Parameters
Returns
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
Type |
Name |
Description |
object |
obj |
|
Returns
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
PrintMembers(StringBuilder)
Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides
<Clone>$()
Declaration
public virtual WindowAndController<TWindow, TController> <Clone>$()
Returns
Operators
operator ==(WindowAndController<TWindow, TController>?, WindowAndController<TWindow, TController>?)
Declaration
public static bool operator ==(WindowAndController<TWindow, TController>? left, WindowAndController<TWindow, TController>? right)
Parameters
Returns
operator !=(WindowAndController<TWindow, TController>?, WindowAndController<TWindow, TController>?)
Declaration
public static bool operator !=(WindowAndController<TWindow, TController>? left, WindowAndController<TWindow, TController>? right)
Parameters
Returns
Implements
Extension Methods