BlackLinks.Templates.InternalCSharpTemplateCompiler.InternalCSharpTemplateCompiler C# (CSharp) Method

InternalCSharpTemplateCompiler() public method

public InternalCSharpTemplateCompiler ( StreamReader reader, CodeNamespace ns, string referenceFileName ) : System
reader System.IO.StreamReader
ns System.CodeDom.CodeNamespace
referenceFileName string
return System
		public InternalCSharpTemplateCompiler ( StreamReader reader, CodeNamespace ns, string referenceFileName)
		{
			this.referenceFileName = referenceFileName;
			this.reader = reader;
			this.className = "Resource" + this.GetHashCode ().ToString ().Replace("-",string.Empty);
			templateResourceClass = new CodeTypeDeclaration (this.className);
			ns.Types.Add (templateResourceClass);
			
		}
		TemplateBlock currentBlock;