C# Class ProtocolBuffers.ProtoCode

Mostrar archivo Open project: enyim/ProtoBuf

Public Methods

Method Description
Save ( Proto proto, MessageCode codeGen, string csPath ) : void

Generate code for reading and writing protocol buffer messages

Private Methods

Method Description
ReadCode ( TextWriter code, string name, bool includeUsing ) : void

Read c# code from sourcePath and write it on code without the initial using statements.

Method Details

Save() public static method

Generate code for reading and writing protocol buffer messages
public static Save ( Proto proto, MessageCode codeGen, string csPath ) : void
proto Proto
codeGen MessageCode
csPath string
return void