C# 클래스 Google.Protobuf.Reflection.GeneratedClrTypeInfo

Extra information provided by generated code when initializing a message or file descriptor. These are constructed as required, and are not long-lived. Hand-written code should never need to use this type.
파일 보기 프로젝트 열기: dropbox/protobuf 1 사용 예제들

공개 메소드들

메소드 설명
GeneratedClrTypeInfo ( Type nestedEnums, GeneratedClrTypeInfo nestedTypes ) : System

Creates a GeneratedClrTypeInfo for a file descriptor, with only types and enums.

GeneratedClrTypeInfo ( Type clrType, MessageParser parser, string propertyNames, string oneofNames, Type nestedEnums, GeneratedClrTypeInfo nestedTypes ) : System

Creates a GeneratedClrTypeInfo for a message descriptor, with nested types, nested enums, the CLR type, property names and oneof names. Each array parameter may be null, to indicate a lack of values. The parameter order is designed to make it feasible to format the generated code readably.

메소드 상세

GeneratedClrTypeInfo() 공개 메소드

Creates a GeneratedClrTypeInfo for a file descriptor, with only types and enums.
public GeneratedClrTypeInfo ( Type nestedEnums, GeneratedClrTypeInfo nestedTypes ) : System
nestedEnums System.Type
nestedTypes GeneratedClrTypeInfo
리턴 System

GeneratedClrTypeInfo() 공개 메소드

Creates a GeneratedClrTypeInfo for a message descriptor, with nested types, nested enums, the CLR type, property names and oneof names. Each array parameter may be null, to indicate a lack of values. The parameter order is designed to make it feasible to format the generated code readably.
public GeneratedClrTypeInfo ( Type clrType, MessageParser parser, string propertyNames, string oneofNames, Type nestedEnums, GeneratedClrTypeInfo nestedTypes ) : System
clrType System.Type
parser MessageParser
propertyNames string
oneofNames string
nestedEnums System.Type
nestedTypes GeneratedClrTypeInfo
리턴 System