Namespace: | Sirenix.OdinInspector.Editor.TypeSearch |
Assembly: | Sirenix.OdinInspector.Editor |
public sealed class TypeSearchIndex
public TypeSearchIndex(bool addDefaultValidationRules = true, bool addDefaultMatchRules = true)
System.Boolean | addDefaultValidationRules | |
System.Boolean | addDefaultMatchRules |
public List<TypeMatchIndexingRule> IndexingRules
public readonly object LOCK
public Action<string, TypeSearchInfo> LogInvalidTypeInfo
public string MatchedTypeLogName
public List<TypeMatchRule> MatchRules
public List<TypeMatcherCreator> TypeMatcherCreators
public void AddDefaultIndexingRules()
public void AddDefaultMatchCreators()
public void AddDefaultMatchRules()
public void AddIndexedType(TypeSearchInfo typeToIndex)
TypeSearchInfo | typeToIndex |
public void AddIndexedTypes(List<TypeSearchInfo> typesToIndex)
System.Collections.Generic.List<TypeSearchInfo> | typesToIndex |
public void AddIndexedTypeUnsorted(TypeSearchInfo typeToIndex)
TypeSearchInfo | typeToIndex |
public void ClearResultCache()
public static List<List<Type[]>> GetAllCachedMergeSignatures(TypeSearchIndex index)
TypeSearchIndex | index |
System.Collections.Generic.List<System.Collections.Generic.List<System.Type[]>> |
public List<Type[]> GetAllCachedTargets()
System.Collections.Generic.List<System.Type[]> |
public static TypeSearchResult[] GetCachedMergedQueryResults(TypeSearchResult[][] results, int resultsCount)
TypeSearchResult[][] | results | |
System.Int32 | resultsCount |
TypeSearchResult[] |
public static TypeSearchResult[] GetCachedMergedQueryResults(List<TypeSearchResult[]> results)
System.Collections.Generic.List<TypeSearchResult[]> | results |
TypeSearchResult[] |
public TypeSearchResult[] GetMatches(Type target)
System.Type | target |
TypeSearchResult[] |
public TypeSearchResult[] GetMatches(Type target1, Type target2)
System.Type | target1 | |
System.Type | target2 |
TypeSearchResult[] |
public TypeSearchResult[] GetMatches(params Type[] targets)
System.Type[] | targets |
TypeSearchResult[] |
public static void MergeQueryResultsIntoList(List<TypeSearchResult[]> results, List<TypeSearchResult> mergeIntoList)
System.Collections.Generic.List<TypeSearchResult[]> | results | |
System.Collections.Generic.List<TypeSearchResult> | mergeIntoList |