public Load500By500PageViewModel() { SeriesCount = 500; PointCount = 500; Messages = new DispatcherObservableCollection <string>(); RunExampleCommand = new ActionCommand(OnRunExample); }
/// <summary> /// Loads data related to this view-model. /// </summary> public override void Load() { ProxyServers = new DispatcherObservableCollection<Proxy>(); ProxyPages = ProxyPage.Default; ProxyPage = ProxyPages.SingleOrDefault(p => p.PageUri == ProxyPageUri) ?? ProxyPages[0]; }
// Protected Methods (1) /// <inheriteddoc /> protected override void OnConstructor() { this.PlugIns = DispatcherObservableCollection.Create <IPlugIn>(); this.SelectedPlugIn = null; }
/// <summary> /// Loads data related to this view-model. /// </summary> public override void Load() { ProxyServers = new DispatcherObservableCollection <Proxy>(); ProxyPages = ProxyPage.Default; ProxyPage = ProxyPages.SingleOrDefault(p => p.PageUri == ProxyPageUri) ?? ProxyPages[0]; }