Version 3.1.1.0

OdinValidationRunner class

Namespace: Sirenix.OdinValidator.Editor
Assembly: Sirenix.OdinValidator.Editor
public sealed class OdinValidationRunner : IDisposable
Inheritance
  • System.Object
  • OdinValidationRunner

Constructors

OdinValidationRunner(OdinValidationPolicy, ValidationRunnerConfig)
public OdinValidationRunner(OdinValidationPolicy policy = null, ValidationRunnerConfig config = null)
Parameters
OdinValidationPolicy policy

ValidationRunnerConfig config

Fields

Config
public ValidationRunnerConfig Config
EnableLeakDetection
public static readonly EditorPrefBool EnableLeakDetection
Policy
public OdinValidationPolicy Policy

Methods

Dispose()
public void Dispose()
Finalize()
protected void Finalize()
ValidateAllAssetsAtPath(String)
public IEnumerable<PersistentValidationResult> ValidateAllAssetsAtPath(string path)
Parameters
System.String path

Returns
System.Collections.Generic.IEnumerable<PersistentValidationResult>

ValidateObject(Object)
public IEnumerable<PersistentValidationResult> ValidateObject(object value)
Parameters
System.Object value

Returns
System.Collections.Generic.IEnumerable<PersistentValidationResult>

ValidateObject(Object, ObjectAddress)
public IEnumerable<PersistentValidationResult> ValidateObject(object value, ObjectAddress objectAddress)
Parameters
System.Object value

ObjectAddress objectAddress

Returns
System.Collections.Generic.IEnumerable<PersistentValidationResult>

ValidateObject(Object, Object)
public IEnumerable<PersistentValidationResult> ValidateObject(object value, object parentContext)
Parameters
System.Object value

System.Object parentContext

Returns
System.Collections.Generic.IEnumerable<PersistentValidationResult>

ValidateObject(Object, Object, ObjectAddress)
public IEnumerable<PersistentValidationResult> ValidateObject(object value, object parentContext, ObjectAddress objectAddress)
Parameters
System.Object value

System.Object parentContext

ObjectAddress objectAddress

Returns
System.Collections.Generic.IEnumerable<PersistentValidationResult>

ValidateScene(SceneReference)
public IEnumerable<PersistentValidationResult> ValidateScene(SceneReference scene)
Parameters
SceneReference scene

Returns
System.Collections.Generic.IEnumerable<PersistentValidationResult>

ValidateSceneButNotThingsInIt(SceneReference)
public IEnumerable<PersistentValidationResult> ValidateSceneButNotThingsInIt(SceneReference scene)
Parameters
SceneReference scene

Returns
System.Collections.Generic.IEnumerable<PersistentValidationResult>