Version 3.3.0.1

TypeMatchRule class

Namespace: Sirenix.OdinInspector.Editor.TypeSearch
Assembly: Sirenix.OdinInspector.Editor
public class TypeMatchRule
Inheritance
  • System.Object
  • TypeMatchRule

Constructors

TypeMatchRule(String, TypeMatchRule.TypeMatchRuleDelegate1)
public TypeMatchRule(string name, TypeMatchRule.TypeMatchRuleDelegate1 rule)
Parameters
System.String name

Sirenix.OdinInspector.Editor.TypeSearch.TypeMatchRule.TypeMatchRuleDelegate1 rule

TypeMatchRule(String, TypeMatchRule.TypeMatchRuleDelegate2)
public TypeMatchRule(string name, TypeMatchRule.TypeMatchRuleDelegate2 rule)
Parameters
System.String name

Sirenix.OdinInspector.Editor.TypeSearch.TypeMatchRule.TypeMatchRuleDelegate2 rule

Fields

Name
public readonly string Name

Methods

Match(TypeSearchInfo, Type[], ref Boolean)
public Type Match(TypeSearchInfo matchInfo, Type[] targets, ref bool stopMatchingForInfo)
Parameters
TypeSearchInfo matchInfo

System.Type[] targets

System.Boolean stopMatchingForInfo

Returns
System.Type

ToString()
public override string ToString()
Returns
System.String