public void GoHard() { var w = new MethodWeb(); var n = new NavigatorV2(w); w.RegisterDependency(n); ThreadPool.QueueUserWorkItem(o => { for (var i = 0; i < 0xFFFF; ++i) { new EmptyPresenter( w) .Setup(); } }); ThreadPool.QueueUserWorkItem(o => { for (var i = 0; i < 0xFF; ++i) { n.Present <EmptyPresenter>(); } }); for (var i = 0; i < 0xFFF; ++i) { n.Unregister <EmptyPresenter>(); } }
public SetupHomeCommand( HomeUi ui, MethodWeb web) { this.ui = ui; this.web = web; }
public SetupLicenseCommand( LicenseUi ui, MethodWeb web) { this.ui = ui; this.web = web; }
public SetupAccessCommand( PasswordHolder passwords, MethodWeb web) { this.passwords = passwords; this.web = web; }
public SetupTimestampsCommand( TimestampsUi ui, ShellUi shell, MethodWeb web) { this.ui = ui; this.shell = shell; this.web = web; }
public SetupStatisticsCommand( StatisticsUi ui, ShellUi shell, MethodWeb web) { this.ui = ui; this.shell = shell; this.web = web; }
public HomePresenter( HomeUi ui, ShellUi shell, MethodWeb web) : base(ui, shell) { this.ui = ui; this.web = web; }
public DailyPresenter( DailyUi ui, ShellUi shell, MethodWeb web) : base(ui, shell) { this.ui = ui; this.web = web; }
public HomePresenter( HomeUi ui, MethodWeb web) : base(ui, null) { this.ui = ui; this.web = web; this.timerHandlerFinished = new ManualResetEvent(true); }
public SetupLoginCommand( LoginUi ui, MethodWeb web, TimeSpan loginDuration) { this.ui = ui; this.web = web; this.loginDuration = loginDuration; }
public SetupShutdownCommand( Ui cleanupUi, Do cleanup, MethodWeb web) { this.cleanupUi = cleanupUi; this.cleanup = cleanup; this.web = web; }
public TimestampsPresenter( TimestampsUi ui, ShellUi shell, MethodWeb web) : base(ui, shell) { this.ui = ui; this.web = web; }
public SetupMainCommand( MainUi ui, MethodWeb web, SettingsHolder settings) { this.ui = ui; this.web = web; this.settings = settings; }
public SetupLoginCommand( LoginUi ui, MethodWeb web, int loginDurationMinutes = 15) : this( ui, web, TimeSpan.FromMinutes( loginDurationMinutes)) { }
public SetupHomeNavCommand( HomeNavUi ui, ShellUi shell, NavLogicReader navReader, MethodWeb web) { this.ui = ui; this.shell = shell; this.navReader = navReader; this.web = web; }
public SetupDailyCommand( DailyUi ui, ShellUi shell, UiReader uiReader, MethodWeb web) { this.ui = ui; this.shell = shell; this.uiReader = uiReader; this.web = web; }
public SetupHomeCommand( HomeUi ui, ShellUi shell, Gen <MethodRunner, TimestampReaderWriter> newReaderWriter, Gen <MethodWeb, DataWatcher> newDataWatcher, MethodWeb web) { this.ui = ui; this.shell = shell; this.newReaderWriter = newReaderWriter; this.newDataWatcher = newDataWatcher; this.web = web; }
public SetupLogCommand( LogUi ui, ShellUi shell, SettingsHolder settings, MethodWeb web) { this.ui = ui; this.shell = shell; settings = settings ?? new SettingsHolder(); settings.StatisticsEnabled = falsity; this.settings = settings; this.web = web; }
protected Context() { var w = new MethodWeb(); this.applier = new LabelApplier(w); this.ui = A.Fake <LoginUiV2>(); this.uiRW = new UiReaderWriter(); this.labels = new Labels(); w.RegisterDependency( this.uiRW); w.RegisterDependency( this.labels); this.runner = w; }
public virtual void CopyTo( MethodWeb other) { ICollection <Dependency> depCopy; lock (this.locker) { depCopy = new LinkedList <Dependency>( this.dependencies); } foreach (var dep in depCopy) { other.RegisterDependency( dep?.Content, dep?.Name); } }
public SetupLogCommand( LogUi ui, ShellUi shell, LogEditorUi editUi, LogStatisticsUi statsUi, SettingsHolder settings, MethodWeb web) { this.ui = ui; this.editUi = editUi; this.shell = shell; this.statsUi = statsUi; settings = settings ?? new SettingsHolder(); settings.StatisticsEnabled = truth; this.settings = settings; this.web = web; }
public FileIOBitter( MethodWeb web) { this.web = web; }
public TcpIpIOBitter( MethodWeb web) { this.web = web; }
public IOBitterFactory( MethodWeb web) { this.web = web; }
private void setWeb(MethodWeb web) { this.web = web; }
public HttpClientFactory(MethodWeb web) { this.web = web; }
public SetupShutdownCommand( Do cleanup, MethodWeb web) : this(null, cleanup, web) { }
public FileDataWatcher( MethodWeb web) : base(web) { this.web = web; }
public SetupShutdownCommand( MethodWeb web) : this(null, null, web) { }