それから取得する方法ProtoBuf.Meta.MetaType
Type
は、属性から作成されます(ProtoIncludeAttribute
たとえば)?
たとえば、以下からアセンブリを作成しました。
[ProtoContract]
[ProtoInclude(TypeCode.MyClassChildCode, typeof(MyClassChild))]
public class MyClass {}
[ProtoContract]
public class MyClassChild: MyClass{}
私たちは私たちProtoBuf.Meta.MetaType
のために持っていますMyClassChild
。そして、そこから抜け出したいのですTypeCode.MyClassChildCode
。そのようなことをする方法は?