public ExplorerWindow() { _explorerStates = DependencyInjectionContainer.GetService <ExplorerStates>(); InitializeComponent(); MannschaftskaempfeExplorer.SelectedItemChanged += ((object sender, MannschaftskaempfeExplorer.SelectedItemChangedEventArgs e) => { }); }
public override void Load() { Bind <IApiMannschaftskaempfe>().ToMethod(x => DependencyInjectionContainer.GetService <IServiceErsteller>() .GetService <IApiMannschaftskaempfe>()).InSingletonScope(); Bind <IApiSaisonInformationen>().ToMethod(x => DependencyInjectionContainer.GetService <IServiceErsteller>().GetService <IApiSaisonInformationen>()).InSingletonScope(); Bind <IApiErgebnisdienst>().ToMethod(x => DependencyInjectionContainer.GetService <IServiceErsteller>().GetService <IApiErgebnisdienst>()).InSingletonScope(); Bind <IApiStammdaten>().ToMethod(x => DependencyInjectionContainer.GetService <IServiceErsteller>().GetService <IApiStammdaten>()).InSingletonScope(); }
public EinzelkampfViewModel() { ExplorerStates explorerStates = DependencyInjectionContainer.GetService <ExplorerStates>(); ExplorerStates = explorerStates; wertungspunkte.CollectionChanged += (object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs e) => { base.OnPropertyChanged(); }; }