コード例 #1
0
ファイル: View.cshtml.cs プロジェクト: kylescudder/DatePot
 public ViewModel(IConfiguration config,
                  ICoffeeData CoffeeData,
                  UserManager <IdentityUser> userManager,
                  IIdentityData identityData,
                  ISiteData siteData,
                  IFilmData filmData)
 {
     _config       = config;
     _CoffeeData   = CoffeeData;
     _userManager  = userManager;
     _identityData = identityData;
     _siteData     = siteData;
     _filmData     = filmData;
 }
コード例 #2
0
 public IndexModel(ILogger <IndexModel> logger,
                   IConfiguration config,
                   ICoffeeData coffeeData,
                   UserManager <IdentityUser> userManager,
                   IIdentityData identityData,
                   ISiteData siteData,
                   IFilmData filmData)
 {
     _logger       = logger;
     _config       = config;
     _coffeeData   = coffeeData;
     _userManager  = userManager;
     _identityData = identityData;
     _siteData     = siteData;
     _filmData     = filmData;
 }
コード例 #3
0
 public CoffeeListModel(ICoffeeData coffee)
 {
     coffeeData = coffee;
 }
コード例 #4
0
        private readonly IHtmlHelper htmlHelper; //this is for asp-item

        public EditModel(ICoffeeData coffeeData, IHtmlHelper htmlHelper)
        {
            this.coffeeData = coffeeData;
            this.htmlHelper = htmlHelper;
        }
コード例 #5
0
 public CoffeeCountViewComponent(ICoffeeData coffeeData)
 {
     this.coffeeData = coffeeData;
 }
コード例 #6
0
 public DetailModel(ICoffeeData coffeedata)
 {
     this.coffeedata = coffeedata;
 }
コード例 #7
0
 public DeleteModel(ICoffeeData coffeeData)
 {
     this.coffeeData = coffeeData;
 }