Class ItemEvent
Item Event arguments
Inheritance
System.Object
System.EventArgs
ItemEvent
Inherited Members
System.EventArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: SpotLib
Assembly: SpotLib.dll
Syntax
public class ItemEvent : EventArgs
Constructors
ItemEvent(Int32, ItemEventType, Item, UInt32)
Constructor
Declaration
public ItemEvent(int id, ItemEventType type, Item item, uint cnt)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | id | Spot identifier. |
ItemEventType | type | Type of item event. |
Item | item | Item data. |
System.UInt32 | cnt | Item presences count. |
Properties
Item
Item data
Declaration
public Item Item { get; }
Property Value
Type | Description |
---|---|
Item |
PresencesCount
Current total Item presences.
Declaration
public uint PresencesCount { get; }
Property Value
Type | Description |
---|---|
System.UInt32 |
SpotId
Spot ID
Declaration
public int SpotId { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Type
Item event type.
Declaration
public ItemEventType Type { get; }
Property Value
Type | Description |
---|---|
ItemEventType |