Version 2.1.11

FolderPathValidator class

Namespace: Sirenix.OdinInspector.Editor.Validation
Assembly: Sirenix.OdinInspector.Editor
public sealed class FolderPathValidator : AttributeValidator<FolderPathAttribute, string>, IAttributeValidator
Inheritance

Constructors

FolderPathValidator()
public FolderPathValidator()

Methods

Initialize(MemberInfo, Type)
public override void Initialize(MemberInfo member, Type memberValueType)
Parameters
System.Reflection.MemberInfo member

System.Type memberValueType

Validate(Object, String, MemberInfo, ValidationResult)
protected override void Validate(object parentInstance, string memberValue, MemberInfo member, ValidationResult result)
Parameters
System.Object parentInstance

System.String memberValue

System.Reflection.MemberInfo member

ValidationResult result