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