System.Web.Compilation.TemplateControlCompiler.SanitizeBindCall C# (CSharp) Method

SanitizeBindCall() private method

private SanitizeBindCall ( Match match ) : string
match System.Text.RegularExpressions.Match
return string
		string SanitizeBindCall (Match match)
		{
			GroupCollection groups = match.Groups;
			StringBuilder sb = new StringBuilder ("Eval(\"" + groups [1] + "\"");
			Group second = groups [4];
			if (second != null) {
				string v = second.Value;
				if (v != null && v.Length > 0)
					sb.Append (",\"" + second + "\"");
			}
			
			sb.Append (")");
			return sb.ToString ();
		}
		
TemplateControlCompiler