Version 2.1.11

FilePathValidator class

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

Constructors

FilePathValidator()
public FilePathValidator()

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