コード例 #1
0
 //control code needs to added to the settings object in a sensible way
 public BaseViewModel(UserControlResource resource, bool getContentAndAttributes, string controlCode)
 {
     if (getContentAndAttributes)
     {
         resource.BusinessUnit             = _settings.BusinessUnit;
         resource.PartnerCode              = _settings.Partner;
         resource.PageCode                 = _settings.Page;
         resource.KeyCode                  = controlCode;
         resource.FrontEndConnectionString = _settings.FrontEndConnectionString;
         _controlResource                  = resource;
     }
 }
コード例 #2
0
 public BaseViewModelForDataTables(UserControlResource resource, bool getContentAndAttributes, string controlCode) : base(resource, getContentAndAttributes, controlCode)
 {
 }
コード例 #3
0
 public BaseViewModelForFineUploader(UserControlResource resource, bool getContentAndAttributes, string controlCode) : base(resource, getContentAndAttributes, controlCode)
 {
 }