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 static readonly TargetMatchCategory[] AttributeMatchCategoryArray
public static readonly TargetMatchCategory[] AttributeValueMatchCategoryArray
public static readonly TargetMatchCategory[] EmptyCategoryArray
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 static readonly TargetMatchCategory[] ValueAttributeMatchCategoryArray
public static readonly TargetMatchCategory[] ValueMatchCategoryArray
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<TypeSearchIndex.TypeMatchQuery> GetAllCachedTargets()
System.Collections.Generic.List<TypeSearchIndex.TypeMatchQuery> |
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, TargetMatchCategory category)
System.Type | target | |
TargetMatchCategory | category |
TypeSearchResult[] |
public TypeSearchResult[] GetMatches(Type target1, Type target2, TargetMatchCategory category1, TargetMatchCategory category2)
System.Type | target1 | |
System.Type | target2 | |
TargetMatchCategory | category1 | |
TargetMatchCategory | category2 |
TypeSearchResult[] |
public TypeSearchResult[] GetMatches(Type[] targets, TargetMatchCategory[] categories)
System.Type[] | targets | |
TargetMatchCategory[] | categories |
TypeSearchResult[] |
public static void MergeQueryResultsIntoList(List<TypeSearchResult[]> results, List<TypeSearchResult> mergeIntoList)
System.Collections.Generic.List<TypeSearchResult[]> | results | |
System.Collections.Generic.List<TypeSearchResult> | mergeIntoList |