示例#1
0
 public override void ConfigureSources(SourceConnectorCollection <Order> sources)
 {
     sources.Add <OrderHttpSource>("Http");
 }
示例#2
0
 public override void ConfigureSources(SourceConnectorCollection <Signal> sources)
 {
     sources.Add <NCrontabSource>("Cron");
 }
示例#3
0
 public override void ConfigureSources(SourceConnectorCollection <string> sources)
 {
     sources.Add <DateTimeStringSource>("DateTimeStringSource");
     sources.Add <NCrontabSource, Signal>("Cron", _ => DateTime.Now.ToString(CultureInfo.InvariantCulture));
 }
示例#4
0
 public override void ConfigureSources(SourceConnectorCollection <HttpTestPayload> sources)
 {
     sources.Add <HttpTestSource>("http");
 }