/// <summary> /// Gets the type of the specified name. /// </summary> public ServiceTypeInfo GetType(string typeName) { return(ServiceTypeInfo.Parse(typeName, FindMember)); }
/// <summary> /// Gets the field type for a field. /// </summary> public ServiceTypeInfo GetFieldType(ServiceFieldInfo field) { return(ServiceTypeInfo.Parse(field.TypeName, FindMember, field.Position)); }
internal static void ValidateTypeName(string name, NamedTextPosition position) { ServiceTypeInfo.Parse(name, x => s_validNameRegex.IsMatch(x) ? new ServiceDtoInfo(x) : null, position); }