public ReplyTask( FEZWindow window, TradeResult tradeResult, RuntimeSettings settings, string strictCustomerName, string fuzzyCustomerName ) { this.window = window; this.tradeResult = tradeResult; this.settings = settings; this.strictCustomerName = strictCustomerName; this.fuzzyCustomerName = fuzzyCustomerName; }
static void Main( string[] args ) { RuntimeSettings settings = new RuntimeSettings( args ); TextFinder.Initialize(); Irc.Start( settings ); TradeLog.Init( settings ); var keyListener = new Thread( new ThreadStart( ReceiveKeyPress ) ); keyListener.Start(); var runner = new DaemonRunner( settings ); var t = new Thread( new ThreadStart( runner.Run ) ); t.Start(); t.Join(); Irc.Stop(); Console.WriteLine( "hit any key to exit" ); stopRequied = true; }
public static void Start( RuntimeSettings settings ) { Irc.settings = settings; thread = new Thread( new ThreadStart( Run ) ); thread.Start(); }
public LoggingTask( TradeResult tradeResult, RuntimeSettings settings ) { this.tradeResult = tradeResult; this.settings = settings; }