C# 클래스 ProtocolBuffers.ProtoPrepare

파일 보기 프로젝트 열기: enyim/ProtoBuf

공개 메소드들

메소드 설명
Prepare ( Proto proto ) : void

비공개 메소드들

메소드 설명
GetCSDefaultValue ( Field f ) : string

Get the default value in c# form

GetCSPropertyName ( Message m, string name ) : string

Gets the C# CamelCase version of a given name. Name collisions with enums are avoided.

GetCSType ( ProtoTypes type ) : string

Gets the c# representation for a given .proto type.

GetCamelCase ( string name ) : string

Gets the CamelCase version of a given name.

GetProtoType ( Message m, string path ) : MessageEnumBase
GetScalarProtoType ( string type ) : ProtoTypes

Return the type given the name from a .proto file. Return Unknonw if it is a message or an enum.

PrepareMessage ( Message m ) : void
PrepareProtoType ( Message m, Field f ) : void

Prepare: ProtoType, WireType and CSType

SearchMessageDown ( Message p, string name ) : MessageEnumBase

Search down for matching name

SearchMessageUp ( Message p, string name ) : MessageEnumBase

Searchs the message for matchink classes

메소드 상세

Prepare() 공개 정적인 메소드

public static Prepare ( Proto proto ) : void
proto Proto
리턴 void