Skip to content

OrderEventArgs

Class public
Provides data for order-related events, carrying the Order that triggered the event along with a UTC timestamp indicating when the event occurred.
Namespace SampleApi
Assembly SampleApi
Package v1.0.0.0
public class OrderEventArgs
: System.EventArgs
EventArgs
EventArgsOrderEventArgs
classDiagram
    direction TB
    class OrderEventArgs {
    }
    class EventArgs {
    }
    EventArgs <|-- OrderEventArgs
Initializes a new instance of the OrderEventArgs class.
OrderEventArgs.OrderEventArgs(
Order order)

Provides data for order-related events, carrying the Order that triggered the event along with a UTC timestamp indicating when the event occurred.

order Order
The order associated with the event.
ArgumentNullException
Thrown when order is null.
Initializes a new instance of the OrderEventArgs class.
Order OrderEventArgs.Order

Gets the order associated with this event.

DateTimeOffset
DateTimeOffset OrderEventArgs.Timestamp

Gets the UTC timestamp indicating when the event was raised.