コード例 #1
0
 public CampaignMainViewModel()
 {
     Beneficiary         = new BeneficiaryViewModel();
     campaignDescription = new CampaignDescription();
     campaignupdate      = new CampaignDescription();
     Updates             = new List <CampaignUpdates>();
     Files                = new List <Files>();
     Comments             = new List <CommentsVM>();
     CampaignDonations    = new CampaignDonation();
     CampaignDonationList = new List <CampaignDonation>();
     MoneyTypeList        = new List <SelectListItem>();
     SelectedOptionsList  = new List <SelectListItem>();
     EndorsementsList     = new ENdorsementList();
 }
コード例 #2
0
 public StoriesViewModel()
 {
     Beneficiary = new BeneficiaryViewModel();
     Files       = new List <Files>();
     Comments    = new List <CommentsVM>();
 }