Class TypeFilter
Filters the list of types displayed in the inspector drawer.
Syntax
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, Inherited = true, AllowMultiple = false)]
public sealed class TypeFilter : Attribute, _Attribute, ICloneable
Constructors
TypeFilter(IEnumerable<Type>)
Declaration
public TypeFilter(IEnumerable<Type> types)
Parameters
TypeFilter(Type[])
Declaration
public TypeFilter(params Type[] types)
Parameters
Type |
Name |
Description |
Type[] |
types |
|
TypeFilter(TypesMatching, IEnumerable<Type>)
Declaration
public TypeFilter(TypesMatching matching, IEnumerable<Type> types)
Parameters
TypeFilter(TypesMatching, Type[])
Declaration
public TypeFilter(TypesMatching matching, params Type[] types)
Parameters
Properties
Abstract
Declaration
public bool Abstract { get; set; }
Property Value
Any
Declaration
public static TypeFilter Any { get; }
Property Value
Classes
Declaration
public bool Classes { get; set; }
Property Value
Enums
Declaration
public bool Enums { get; set; }
Property Value
ExpectsBoolean
Declaration
public bool ExpectsBoolean { get; }
Property Value
Generic
Declaration
public bool Generic { get; set; }
Property Value
Interfaces
Declaration
public bool Interfaces { get; set; }
Property Value
Matching
Declaration
public TypesMatching Matching { get; set; }
Property Value
Nested
Declaration
public bool Nested { get; set; }
Property Value
NonPublic
Declaration
public bool NonPublic { get; set; }
Property Value
NonSerializable
Declaration
public bool NonSerializable { get; set; }
Property Value
Object
Declaration
public bool Object { get; set; }
Property Value
Obsolete
Declaration
public bool Obsolete { get; set; }
Property Value
OpenConstructedGeneric
Declaration
public bool OpenConstructedGeneric { get; set; }
Property Value
Primitives
Declaration
public bool Primitives { get; set; }
Property Value
Public
Declaration
public bool Public { get; set; }
Property Value
Reference
Declaration
public bool Reference { get; set; }
Property Value
Sealed
Declaration
public bool Sealed { get; set; }
Property Value
Static
Declaration
public bool Static { get; set; }
Property Value
Structs
Declaration
public bool Structs { get; set; }
Property Value
Types
Declaration
public HashSet<Type> Types { get; }
Property Value
Value
Declaration
public bool Value { get; set; }
Property Value
Methods
Clone()
Declaration
public TypeFilter Clone()
Returns
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
ToString()
Declaration
public override string ToString()
Returns
Overrides
ValidateType(Type)
Declaration
public bool ValidateType(Type type)
Parameters
Type |
Name |
Description |
Type |
type |
|
Returns
Extension Methods