private void AddToColumnArray(string columnName) { //descriptions contain data that can interfere with the row columns if (!columnName.Contains(Calculator1.cDescription)) { string sNodeColumnName = string.Empty; if (this.ObsCalculatorParams.CurrentElementNodeName == Constants.LINKEDVIEWS_TYPES.linkedview.ToString()) { sNodeColumnName = MakeLinkedViewColumnName(columnName); } else { sNodeColumnName = string.Concat( this.ObsCalculatorParams.CurrentElementNodeName, columnName); } if (!ColumnNodeNames.ContainsKey( sNodeColumnName)) { //add it (the value will be used later to parse the attName) ColumnNodeNames.Add(sNodeColumnName, this.ObsCalculatorParams.CurrentElementNodeName); } } }
private void AddToColumnArray(string columnName) { //descriptions and MediaURLs contain data that can interfere with the row columns if (!columnName.Contains(AppHelpers.Calculator.cDescription) && !columnName.Contains(AppHelpers.Calculator.cMediaURL) && !columnName.Contains(AppHelpers.Calculator.cDataURL) && !columnName.Contains("Joint") //keep any math attributes out -they contain csv data && !columnName.Contains("Math")) { string sNodeColumnName = string.Empty; if (CurrentNodeName == AppHelpers.LinkedViews.LINKEDVIEWS_TYPES.linkedview.ToString()) { sNodeColumnName = MakeLinkedViewColumnName(columnName); } else { sNodeColumnName = string.Concat( CurrentNodeName, columnName); } if (!ColumnNodeNames.ContainsKey( sNodeColumnName)) { //add it (the value will be used later to parse the attName) ColumnNodeNames.Add(sNodeColumnName, CurrentNodeName); } } }