public OutputAdapterBase Create <TPayload>(ConsoleOutputConfig configInfo, Microsoft.ComplexEventProcessing.EventShape eventShape) { if (eventShape == Microsoft.ComplexEventProcessing.EventShape.Point) { return(new ConsolePointOutput <TPayload>(configInfo)); } throw new NotImplementedException(); }
public InputAdapterBase Create <TPayload>(RabbitMQConfig configInfo, Microsoft.ComplexEventProcessing.EventShape eventShape) { switch (eventShape) { case Microsoft.ComplexEventProcessing.EventShape.Edge: throw new NotImplementedException(); case Microsoft.ComplexEventProcessing.EventShape.Interval: throw new NotImplementedException(); case Microsoft.ComplexEventProcessing.EventShape.Point: return(new RabbitMQInputAdapter(configInfo)); } throw new NotImplementedException(); }