public void Start() { XmlConfigurator.Configure(); serviceHost = new ServiceHost(typeof(NotifyService)); serviceHost.Open(); service = new NotifyService(); service.StartSending(); }
public void Start() { XmlConfigurator.Configure(); serviceHost = new ServiceHost(typeof(NotifyService)); serviceHost.Open(); service = new NotifyService(); service.StartSending(); if (0 < NotifyServiceCfg.Schedulers.Count) { InitializeNotifySchedulers(); } }
public void Start() { XmlConfigurator.Configure(); serviceHost = new ServiceHost(typeof(NotifyService)); serviceHost.Open(); service = new NotifyService(); service.StartSending(); if (0 < NotifyServiceCfg.Schedulers.Count) { InitializeNotifySchedulers(); } }