SetNonFileWriter() 공개 메소드

Sets up this object to use specified T:TextWriter.
Use this method to emit the code to specified T:TextWriter instead of the file. Use SetFileWriter if you want to emit to the file. This method sets the P:TextWriter property with the argument, and sets null for FilePath.
The is null.
public SetNonFileWriter ( TextWriter writer ) : void
writer System.IO.TextWriter The writer.
리턴 void
		protected override void AssignTextWriterCore( SerializerCodeInformation codeInformation )
		{
			codeInformation.SetNonFileWriter( this._writer );
		}
예제 #2
0
 protected override void AssignTextWriterCore(SerializerCodeInformation codeInformation)
 {
     codeInformation.SetNonFileWriter(this._writer);
 }