コード例 #1
0
 /// <summary>
 ///
 /// </summary>
 /// <returns></returns>
 public ProtoBuf.Meta.TypeModel Compile()
 {
     foreach (var type in _typeModel.Types)
     {
         var typeDescription = _typeModel.GetTypeDescription(type);
         Add(typeDescription);
     }
     return(_runtimeTypeModel.Compile());
 }
コード例 #2
0
 public TypeDescription GetTypeDescription(int typeId)
 {
     return(_typeModel.GetTypeDescription(typeId));
 }