Class EventRequest<TEvent>
Represents an event request.
Inheritance
System.Object
EventRequest<TEvent>
Namespace: Copper.Eventing.MassTransit.Common.V1
Assembly: Copper.Eventing.MassTransit.Common.dll
Syntax
public class EventRequest<TEvent> : IEventRequest<TEvent>, IEventRequest<TEvent> where TEvent : class
Type Parameters
Name | Description |
---|---|
TEvent | The event contract type. |
Constructors
View SourceEventRequest(String)
Initializes a new instance of the EventRequest<TEvent> class.
Declaration
public EventRequest(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The request message. |
Properties
View SourceMessage
Gets the request message.
Declaration
public string Message { get; set; }
Property Value
Type | Description |
---|---|
System.String | The request message. |