Пример #1
0
 public ModuleLocator(IServiceContainer serviceContainer)
 {
     this.serviceContainer     = serviceContainer;
     this.modulesCache         = new Dictionary <ModuleType, WeakReference>();
     this.modulesIdentityCache = new Dictionary <ModuleType, IDictionary <long, WeakReference> >();
 }
Пример #2
0
 protected virtual void OnInitServices(DevExpress.Mvvm.IServiceContainer serviceContainer)
 {
 }
Пример #3
0
 public ReportLocator(IServiceContainer serviceContainer)
 {
     this.serviceContainer = serviceContainer;
     this.reportsCache     = new Dictionary <object, WeakReference>();
 }
Пример #4
0
 protected override void OnInitServices(DevExpress.Mvvm.IServiceContainer serviceContainer)
 {
     base.OnInitServices(serviceContainer);
     serviceContainer.RegisterService("Custom Filter", new FilterDialogDocumentManagerService(ModuleType.QuotesCustomFilter));
 }
Пример #5
0
 protected override void OnInitServices(DevExpress.Mvvm.IServiceContainer serviceContainer)
 {
     serviceContainer.RegisterService("Custom Filter", new FilterDialogDocumentManagerService(ModuleType.ProductsCustomFilter));
     serviceContainer.RegisterService("Group Filter", new FilterDialogDocumentManagerService(ModuleType.ProductsGroupFilter));
 }
Пример #6
0
 public ModuleLocator(DevExpress.Mvvm.IServiceContainer serviceContainer)
 {
     this.serviceContainer     = serviceContainer;
     this.modulesCache         = new Dictionary <ModuleType, WeakReference>();
     this.modulesIdentityCache = new Dictionary <ModuleType, IDictionary <Guid, WeakReference> >();
 }
Пример #7
0
 public ReportLocator(DevExpress.Mvvm.IServiceContainer serviceContainer)
 {
     this.serviceContainer = serviceContainer;
     reportsCache          = new Dictionary <object, WeakReference>();
 }