Wire.DeserializerSession.GetTypeFromTypeId C# (CSharp) Méthode

GetTypeFromTypeId() public méthode

public GetTypeFromTypeId ( int typeId ) : Type
typeId int
Résultat System.Type
        public Type GetTypeFromTypeId(int typeId)
        {
            if (typeId < _offset)
            {
                return Serializer.Options.KnownTypes[typeId];
            }
            if (_identifierToType == null)
                throw new ArgumentException(nameof(typeId));

            return _identifierToType[typeId - _offset];
        }