コード例 #1
0
 public MainWindow(IGoodsAppService goodsAppService)
 {
     _goodsAppService = goodsAppService;
     _viewModel       = new MainWindowViewModel(goodsAppService);
     this.DataContext = _viewModel;
     InitializeComponent();
 }
コード例 #2
0
        public MainWindowViewModel(IGoodsAppService goodsAppService)
        {
            _goodsAppService = goodsAppService;

            AddCommand    = new DelegateCommands <string>(Add);
            EditCommand   = new DelegateCommands <DetailGoodsDto>(Edit);
            DeleteCommand = new DelegateCommands <DetailGoodsDto>(Delete);

            InitData();
        }
コード例 #3
0
 public GoodsConsumeController(IGoodsCategoryAppService catAppService,
                               IGoodsAppService AppService, ICommonAppService comService, IReceiveStatisticsAppService copAppService,
                               ISpecObjectAppService specAppService, IMemberAppService memAppService, IParameterAppService parService)
 {
     _catAppService  = catAppService;
     _AppService     = AppService;
     _comService     = comService;
     _specAppService = specAppService;
     _copAppService  = copAppService;
     _memAppService  = memAppService;
     _parService     = parService;
 }
コード例 #4
0
ファイル: GoodsController.cs プロジェクト: lwsadmin/UnionMall
 public GoodsController(IGoodsAppService AppService,
                        ICommonAppService comService, IAbpSession abpSession,
                        IGoodsCategoryAppService catAppService, IBrandAppService brandAppService, IImageAppService imgAppService,
                        IChainStoreAppService storeAppService, ICommonAttributeAppService attrAppService, ICommonSpecAppService specAppService)
 {
     _AppService      = AppService;
     _AbpSession      = abpSession;
     _comService      = comService;
     _catAppService   = catAppService;
     _brandAppService = brandAppService;
     _storeAppService = storeAppService;
     _imgAppService   = imgAppService;
     _attrAppService  = attrAppService;
     _specAppService  = specAppService;
 }
コード例 #5
0
 public GoodsService(IGoodsAppService goodsAppService)
 {
     _goodsAppService    = goodsAppService;
     _applicationEnginee = new ApplicationEnginee();
 }
コード例 #6
0
 public GoodsController(IGoodsAppService goodsAppService)
 {
     _goodsAppService = goodsAppService;
 }
コード例 #7
0
 public GoodsService(IGoodsAppService goodsAppService)
 {
     _goodsAppService = goodsAppService;
 }