//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) { }
public BaseViewModelForFineUploader(UserControlResource resource, bool getContentAndAttributes, string controlCode) : base(resource, getContentAndAttributes, controlCode) { }