System.Web.Handlers.ScriptResourceHandler.AssemblyResourceLoader.PerformSubstitutionHelper.PerformSubstitution C# (CSharp) Method

PerformSubstitution() public method

public PerformSubstitution ( TextReader reader, TextWriter writer ) : void
reader TextReader
writer System.IO.TextWriter
return void
			public void PerformSubstitution (TextReader reader, TextWriter writer) {
				string line = reader.ReadLine ();
				while (line != null) {
					if (line.Length > 0 && _regex.IsMatch (line))
						line = _regex.Replace (line, new MatchEvaluator (PerformSubstitutionReplace));
					writer.WriteLine (line);
					line = reader.ReadLine ();
				}
			}
ScriptResourceHandler.AssemblyResourceLoader.PerformSubstitutionHelper