Exemplo n.º 1
0
        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();
 }
Exemplo n.º 3
0
        public EinzelkampfViewModel()
        {
            ExplorerStates explorerStates = DependencyInjectionContainer.GetService <ExplorerStates>();

            ExplorerStates = explorerStates;

            wertungspunkte.CollectionChanged += (object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs e) =>
            {
                base.OnPropertyChanged();
            };
        }