internal static BaseViewer Create(string type, string parameters) { Assert.ArgumentNotNull(type, "type"); Assert.ArgumentNotNull(parameters, "parameters"); BaseViewer oViewer = BaseViewer.Create(type); oViewer.AddParameters(parameters); return(oViewer); }
internal static BaseViewer Create(string type, string parameters, string columnsXml) { Assert.ArgumentNotNull(type, "type"); Assert.ArgumentNotNull(parameters, "parameters"); BaseViewer oViewer = BaseViewer.Create(type); oViewer.AddParameters(parameters); InitializeColumns(oViewer, columnsXml); return(oViewer); }
internal static BaseViewer Create(string type, string parameters, string columnsXml) { Assert.ArgumentNotNull(type, "type"); Assert.ArgumentNotNull(parameters, "parameters"); BaseViewer oViewer = BaseViewer.Create(type); oViewer.AddParameters(parameters); InitializeColumns(oViewer, columnsXml); //backwards compatibility if (oViewer.Columns.Count == 0) { InitializeColumnsOld(oViewer); } return(oViewer); }