Esempio n. 1
0
 private void DataBases_ItemCreated(object sender, ItemsCreatedEventArgs <IDataBase> e)
 {
     foreach (var item in e.Items)
     {
         var serviceItem = new DataFindServiceItem(item, this.dispatcher, authentication);
         this.items.Add(item.ID, serviceItem);
     }
 }
Esempio n. 2
0
        public void Initialize(Authentication authentication)
        {
            this.dispatcher     = new CremaDispatcher(this);
            this.authentication = authentication;

            foreach (var item in this.cremaHost.DataBases)
            {
                var serviceItem = new DataFindServiceItem(item, this.dispatcher, authentication);
                this.items.Add(item.ID, serviceItem);
            }
        }