public void Handle(CommandStartedEvent @event)
 {
     @event = new CommandStartedEvent(
         @event.CommandName,
         (BsonDocument)@event.Command.DeepClone(),
         @event.DatabaseNamespace,
         @event.OperationId,
         @event.RequestId,
         @event.ConnectionId);
     _parent.Capture(@event);
 }
Exemple #2
0
 public void Handle(CommandStartedEvent @event)
 {
     @event = new CommandStartedEvent(
         @event.CommandName,
         RecursivelyMaterialize(@event.Command),
         @event.DatabaseNamespace,
         @event.OperationId,
         @event.RequestId,
         @event.ConnectionId);
     _parent.Capture(@event);
 }