Class EventExtensions
Inheritance
EventExtensions
Assembly: Glitch9.dll
Syntax
public static class EventExtensions
Methods
|
Edit this page
View Source
ToDelta<T>(T, string, int, string, bool)
Declaration
public static Delta<T> ToDelta<T>(this T value, string responseId = null, int itemIndex = 0, string itemId = null, bool itemDone = false)
Parameters
Returns
| Type |
Description |
| Delta<T> |
|
Type Parameters
|
Edit this page
View Source
ToDone<T>(T, string, int, string)
Declaration
public static Delta<T> ToDone<T>(this T value, string responseId = null, int itemIndex = 0, string itemId = null)
Parameters
| Type |
Name |
Description |
| T |
value |
|
| string |
responseId |
|
| int |
itemIndex |
|
| string |
itemId |
|
Returns
| Type |
Description |
| Delta<T> |
|
Type Parameters
|
Edit this page
View Source
ToErrorEvent<T>(T)
Declaration
public static Event<Exception> ToErrorEvent<T>(this T value) where T : Exception
Parameters
| Type |
Name |
Description |
| T |
value |
|
Returns
Type Parameters
|
Edit this page
View Source
ToEvent<T>(T)
Declaration
public static Event<T> ToEvent<T>(this T value)
Parameters
| Type |
Name |
Description |
| T |
value |
|
Returns
| Type |
Description |
| Event<T> |
|
Type Parameters
|
Edit this page
View Source
UpcastDelta<T1, T2>(T1, string, int, string, bool)
Declaration
public static Delta<T2> UpcastDelta<T1, T2>(this T1 value, string responseId = null, int itemIndex = 0, string itemId = null, bool itemDone = false) where T1 : T2
Parameters
Returns
| Type |
Description |
| Delta<T2> |
|
Type Parameters