Class MongoDbEventBuilder<TAuthenticationToken>
Builds EventData from various input formats leaving the event data unserialised.
Inheritance
System.Object
EventBuilder<TAuthenticationToken>
DefaultEventBuilder<TAuthenticationToken>
MongoDbEventBuilder<TAuthenticationToken>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Cqrs.MongoDB.Serialisers
Assembly: Cqrs.MongoDB.dll
Syntax
public class MongoDbEventBuilder<TAuthenticationToken> : DefaultEventBuilder<TAuthenticationToken>, IEventBuilder<TAuthenticationToken>
Type Parameters
Name | Description |
---|---|
TAuthenticationToken | The System.Type of the authentication token. |
Methods
CreateFrameworkEvent(String, IEvent<TAuthenticationToken>)
Create an EventData with the provided eventData
.
Declaration
public override EventData CreateFrameworkEvent(string type, IEvent<TAuthenticationToken> eventData)
Parameters
Type | Name | Description |
---|---|---|
System.String | type | The name of the System.Type of the target object the serialised data is. |
IEvent<TAuthenticationToken> | eventData | The IEvent<TAuthenticationToken> to add to the EventData. |
Returns
Type | Description |
---|---|
EventData |
Overrides
Cqrs.Events.EventBuilder<TAuthenticationToken>.CreateFrameworkEvent(System.String, Cqrs.Events.IEvent<TAuthenticationToken>)