C# Class ProtocolBuffers.ProtoCode

Afficher le fichier Open project: enyim/ProtoBuf

Méthodes publiques

Méthode Description
Save ( Proto proto, MessageCode codeGen, string csPath ) : void

Generate code for reading and writing protocol buffer messages

Private Methods

Méthode 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 méthode

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
Résultat void