internal static MegaloScriptValueBase NewFromTagStream <TDoc, TCursor>(IO.TagElementStream <TDoc, TCursor, string> s, MegaloScriptModel model) where TDoc : class where TCursor : class { var value_type = ReadType(s, model.Database); return(model.NewValue(value_type)); }