Version 3.1.1.0

ResultItemPersistor class

Namespace: Sirenix.OdinValidator.Editor
Assembly: Sirenix.OdinValidator.Editor
public static class ResultItemPersistor
Inheritance
  • System.Object
  • ResultItemPersistor

Methods

CreateContextFromValidator(IValidator)
public static ResultItemPersistor.PersistenceContext CreateContextFromValidator(IValidator validator)
Parameters
Sirenix.OdinInspector.Editor.Validation.IValidator validator

CreatePersistentResultItems(ValidationResult)
public static PersistentResultItem[] CreatePersistentResultItems(ValidationResult result)
Parameters
ValidationResult result

CreatePersistentResultItems(ValidationResult, ref PersistentResultItem[])
public static void CreatePersistentResultItems(ValidationResult result, ref PersistentResultItem[] results)
Parameters
ValidationResult result

PersistentResultItem[] results

RebuildResultItems(PersistentResultItem[], ref ResultItemPersistor.PersistenceContext, Boolean)
public static ResultItem[] RebuildResultItems(PersistentResultItem[] items, ref ResultItemPersistor.PersistenceContext context, bool openSceneIfNeeded)
Parameters
PersistentResultItem[] items

ResultItemPersistor.PersistenceContext context

System.Boolean openSceneIfNeeded

Returns
ResultItem[]