Ejemplo n.º 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());
 }
Ejemplo n.º 2
0
 public TypeDescription GetTypeDescription(int typeId)
 {
     return(_typeModel.GetTypeDescription(typeId));
 }