Esempio n. 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;
     }
 }
 public BaseViewModelForDataTables(UserControlResource resource, bool getContentAndAttributes, string controlCode) : base(resource, getContentAndAttributes, controlCode)
 {
 }
Esempio n. 3
0
 public BaseViewModelForFineUploader(UserControlResource resource, bool getContentAndAttributes, string controlCode) : base(resource, getContentAndAttributes, controlCode)
 {
 }