Version 2.1.0.0

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

This website is brand new and built with the Odin 2.1 beta in mind. This means you might discover some features such as attribute expressions that are only available in the beta.

You can download the 2.1 beta from here and read the patch-notes here.