Esempio n. 1
0
 /// <summary>
 /// Gets the field type for a field.
 /// </summary>
 public ServiceTypeInfo?GetFieldType(ServiceFieldInfo field) =>
 m_typesByName.TryGetValue(field.TypeName, out var type) ? type : ServiceTypeInfo.TryParse(field.TypeName, FindMember);
Esempio n. 2
0
 /// <summary>
 /// Gets the field type for a field.
 /// </summary>
 public ServiceTypeInfo GetFieldType(ServiceFieldInfo field)
 {
     return(ServiceTypeInfo.Parse(field.TypeName, FindMember, field.Position));
 }