메소드 | 설명 | |
---|---|---|
CreateGenerator ( |
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 ( |
||
GetOutputFile ( FileDescriptor descriptor ) : string |
public static CreateGenerator ( |
||
options | ||
리턴 |