Inheritance: ViewModelBase
コード例 #1
0
        public static CommodityViewModel Create(List <CommodityLink> commodities, List <KeyValuePair <string, string> > errors, bool isAlreadyImported)
        {
            var viewModel = new CommodityViewModel()
            {
                Commodities = commodities, Errors = errors, AlreadyImported = isAlreadyImported
            };

            return(viewModel);
        }
コード例 #2
0
        public static CommodityViewModel Create(List<CommodityLink> commodities, List<KeyValuePair<string, string>> errors, bool isAlreadyImported)
        {
            var viewModel = new CommodityViewModel(){Commodities = commodities, Errors = errors, AlreadyImported = isAlreadyImported};

            return viewModel;
        }