C# 클래스 MsgPack.Serialization.SerializerCodeInformation

Represents generating serializer code information.
파일 보기 프로젝트 열기: msgpack/msgpack-cli 1 사용 예제들

공개 메소드들

메소드 설명
SetFileWriter ( string path ) : void

Sets up this object to use T:TextWriter for specified file path.

Use this method to emit the code to the file. This method sets P:TextWriter and FilePath property.

SetNonFileWriter ( TextWriter writer ) : void

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.

비공개 메소드들

메소드 설명
SerializerCodeInformation ( string typeFullName, string directory, string fileExtension ) : System

메소드 상세

SetFileWriter() 공개 메소드

Sets up this object to use T:TextWriter for specified file path.
Use this method to emit the code to the file. This method sets P:TextWriter and FilePath property.
The is null. The is empty or invalid character. The is unsupported form. The is too long. The point the directory which does not exist. The points the location which is not writable from this process.
public SetFileWriter ( string path ) : void
path string The file path.
리턴 void

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