示例#1
0
 static Scanner() {
     var config = ServiceLocator.Current.GetInstance<IConfig>();
     Holder = new QueueHolder(config.ProcessedMessageMSMQPath, typeof(ProcessedMsg));
 }
示例#2
0
 public Server(string queuePath, string processedQueuePath, IEnumerable<Type> supportDataTypes) {
     this.Holder = new QueueHolder(queuePath, supportDataTypes);
     this.ProcessedHolder = new QueueHolder(processedQueuePath, typeof(ProcessedMsg));
 }