C# 클래스 Google.ProtocolBuffers.ProtoGen.Generator

Code generator for protocol buffers. Only C# is supported at the moment.
파일 보기 프로젝트 열기: ayende/dotnet-protobufs

공개 메소드들

메소드 설명
CreateGenerator ( GeneratorOptions options ) : Generator

Returns a generator configured with the specified options.

Generate ( ) : void

비공개 메소드들

메소드 설명
ConvertDescriptors ( FileDescriptorSet descriptorProtos ) : IList

Resolves any dependencies and converts FileDescriptorProtos into FileDescriptors. The list returned is in the same order as the protos are listed in the descriptor set. Note: this method is internal rather than private to allow testing.

Generate ( FileDescriptor descriptor ) : void

Generates code for a particular file. All dependencies must already have been resolved.

Generator ( GeneratorOptions options ) : System.Collections.Generic
GetOutputFile ( FileDescriptor descriptor ) : string

메소드 상세

CreateGenerator() 공개 정적인 메소드

Returns a generator configured with the specified options.
public static CreateGenerator ( GeneratorOptions options ) : Generator
options GeneratorOptions
리턴 Generator

Generate() 공개 메소드

public Generate ( ) : void
리턴 void