Class EventData
- Namespace
- Dynamicweb.Tracking
- Assembly
- Dynamicweb.Core.dll
Class for collecting event information
public class EventData
- Inheritance
-
EventData
- Inherited Members
Constructors
EventData(string)
Initializes a new instance of the EventData class.
public EventData(string name)
Parameters
name
stringThe name.
EventData(string, double)
Initializes a new instance of the EventData class.
public EventData(string name, double value)
Parameters
Properties
EntityKey
Gets or sets the entity key.
public string? EntityKey { get; set; }
Property Value
- string
The entity key.
EntitySubKey
Gets or sets the entity sub key.
public string? EntitySubKey { get; set; }
Property Value
- string
The entity sub key.
EntityType
Gets or sets the type of the entity.
public string? EntityType { get; set; }
Property Value
- string
The type of the entity.
Id
Gets the identifier.
public int Id { get; }
Property Value
- int
The identifier.
IsConversion
Gets or sets a value indicating whether this instance is a conversion.
public bool IsConversion { get; set; }
Property Value
- bool
true
if this instance is a conversion; otherwise,false
.
IsNew
Gets a value indicating whether this instance is new.
public bool IsNew { get; }
Property Value
- bool
true
if this instance is new; otherwise,false
.
Name
Gets the name.
public string Name { get; }
Property Value
- string
The name.
SessionId
Gets the session identifier.
public int SessionId { get; }
Property Value
- int
The session identifier.
Timestamp
Gets the timestamp.
public DateTime Timestamp { get; }
Property Value
- DateTime
The timestamp.
Value
Gets or sets the value.
public double Value { get; set; }
Property Value
- double
The value.
ViewId
Gets the view identifier.
public int ViewId { get; }
Property Value
- int
The view identifier.