static void Main() { Context.PreLoading(); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new FormMain()); Context.BeforeExit(); }
public bool Initialize(EntityInitializeArgument arg) { _context.PreLoading(arg); _controler = new SOAPServerControler(_context); _receiver = new SOAPReceiver(_context.ConfigMgr.Config, _context.ConfigMgr.Config.GetWCFConfigFileNameWithFullPath(), _context.Log); _receiver.OnMessageReceived += delegate(SOAPReceiverSession session) { bool res = _controler.ProcessSoapSession(session, _context.ConfigMgr.Config.InboundMessageDispatching.Model, this); //string Keywords = GetKeywords(session.IncomingMessage.Body.ToString()); //SendLogMessage(string.Format("Process SOAP message {0}",res),session.IncomingMessage.Body.ToString(),Keywords); return(res); }; return(true); }
public bool Initialize(EntityInitializeArgument arg) { _context.PreLoading(arg); _controler = new FileWriterControler(_context); return(true); }
public bool Initialize(EntityInitializeArgument arg) { _context.PreLoading(arg); _controler = new CSBrokerOutboundControler(this); return(true); }