Struct ItemContext
Assembly: Glitch9.IO.dll
Syntax
public readonly struct ItemContext
Constructors
|
Edit this page
View Source
ItemContext(int, string, string, bool)
Declaration
public ItemContext(int index = -1, string id = null, string eventType = null, bool done = false)
Parameters
Properties
|
Edit this page
View Source
Done
Declaration
public bool Done { get; }
Property Value
|
Edit this page
View Source
EventType
Declaration
public string EventType { get; }
Property Value
|
Edit this page
View Source
Id
Declaration
public string Id { get; }
Property Value
|
Edit this page
View Source
Index
Declaration
public int Index { get; }
Property Value
Methods
|
Edit this page
View Source
Complete()
Declaration
public static ItemContext Complete()
Returns
|
Edit this page
View Source
Complete(ItemContext)
Declaration
public static ItemContext Complete(ItemContext header)
Parameters
Returns
|
Edit this page
View Source
CompleteItem(int, string)
Declaration
public static ItemContext CompleteItem(int itemIndex, string itemId = null)
Parameters
| Type |
Name |
Description |
| int |
itemIndex |
|
| string |
itemId |
|
Returns
|
Edit this page
View Source
Copy(int?, string, string, bool?)
Declaration
public ItemContext Copy(int? index = null, string id = null, string @event = null, bool? done = null)
Parameters
Returns
|
Edit this page
View Source
Delta()
Declaration
public static ItemContext Delta()
Returns
|
Edit this page
View Source
Delta(ItemContext)
Declaration
public static ItemContext Delta(ItemContext header)
Parameters
Returns
|
Edit this page
View Source
DeltaItem(int, string)
Declaration
public static ItemContext DeltaItem(int itemIndex, string itemId = null)
Parameters
| Type |
Name |
Description |
| int |
itemIndex |
|
| string |
itemId |
|
Returns
|
Edit this page
View Source
FromEventData<T>(T, string)
Declaration
public static ItemContext FromEventData<T>(T data, string eventType = null)
Parameters
| Type |
Name |
Description |
| T |
data |
|
| string |
eventType |
|
Returns
Type Parameters
Extension Methods