public DynamicEntityPropertyController(
     IDynamicPropertyAppService dynamicPropertyAppService,
     IDynamicEntityPropertyAppService dynamicEntityPropertyAppService
     )
 {
     _dynamicPropertyAppService       = dynamicPropertyAppService;
     _dynamicEntityPropertyAppService = dynamicEntityPropertyAppService;
 }
 public DynamicPropertyController(
     IDynamicPropertyAppService dynamicPropertyAppService,
     IDynamicEntityPropertyDefinitionManager dynamicEntityPropertyDefinitionManager,
     IDynamicEntityPropertyAppService dynamicEntityPropertyAppService)
 {
     _dynamicPropertyAppService = dynamicPropertyAppService;
     _dynamicEntityPropertyDefinitionManager = dynamicEntityPropertyDefinitionManager;
     _dynamicEntityPropertyAppService        = dynamicEntityPropertyAppService;
 }
예제 #3
0
        public DynamicPropertyViewModel(
            IDynamicPropertyAppService appService,
            IDynamicEntityPropertyAppService entityPropertyAppService)
        {
            this.appService = appService;
            this.entityPropertyAppService = entityPropertyAppService;
            entitydataPager = ContainerLocator.Container.Resolve <IDataPagerService>();

            DetailCommand            = new DelegateCommand <GetAllEntitiesHasDynamicPropertyOutput>(Show);
            AddEntityPropertyCommand = new DelegateCommand(AddEntityProperty);
        }
예제 #4
0
        public DynamicEntityDetailsViewModel(
            IDynamicPropertyAppService propertyAppService,
            IDynamicEntityPropertyAppService appService,
            IApplicationContext context,
            IDataPagerService dataPager,
            IHostDialogService dialog)
        {
            this.dialog             = dialog;
            this.context            = context;
            this.dataPager          = dataPager;
            this.appService         = appService;
            this.propertyAppService = propertyAppService;

            items = new ObservableCollection <DynamicPropertyDto>();

            RefreshCommand  = new DelegateCommand(Refresh);
            ShowAddCommand  = new DelegateCommand(ShowAdd);
            AddValueCommand = new DelegateCommand(AddValue);
            DeleteCommand   = new DelegateCommand <DynamicEntityPropertyDto>(Delete);
        }
 public DynamicPropertyDetailsViewModel(IDynamicPropertyAppService appService)
 {
     model           = new DynamicPropertyModel();
     this.appService = appService;
 }