Class ModalResult<T>
- Namespace
- The.WPF.Screens
- Assembly
- Instagile.WPF.dll
public class ModalResult<T> where T : notnull
Type Parameters
T
- Inheritance
-
ModalResult<T>
- Inherited Members
-
Properties
IsCancelled
public bool IsCancelled { get; }
Property Value
- bool
Result
public T? Result { get; }
Property Value
- T
Methods
Cancel()
public static ModalResult<T> Cancel()
Returns
- ModalResult<T>
OK(T)
public static ModalResult<T> OK(T result)
Parameters
result T
Returns
- ModalResult<T>
Select<U>(Func<T, U>)
public ModalResult<U> Select<U>(Func<T, U> f) where U : notnull
Parameters
f Func<T, U>
Returns
- ModalResult<U>
Type Parameters
U