Version 3.1.1.0

ValidationWorkItem struct

Namespace: Sirenix.OdinValidator.Editor
Assembly: Sirenix.OdinValidator.Editor
public struct ValidationWorkItem : IEquatable<ValidationWorkItem>

Constructors

ValidationWorkItem(Object, String, Nullable<SceneReference>, Int32, ProjectEventSource)
public ValidationWorkItem(object nonUnityObjectValue, string assetGuid, SceneReference? scene, int instanceID, ProjectEventSource projectEventSource)
Parameters
System.Object nonUnityObjectValue

System.String assetGuid

System.Nullable<SceneReference> scene

System.Int32 instanceID

ProjectEventSource projectEventSource

Fields

AssetGuid
public string AssetGuid
InstanceID
public int InstanceID
NonUnityObjectValue
public object NonUnityObjectValue
ResultCountEstimate
public uint ResultCountEstimate
Scene
public SceneReference? Scene
Source
public ProjectEventSource Source

Methods

Equals(Object)
public override bool Equals(object obj)
Parameters
System.Object obj

Returns
System.Boolean

GetHashCode()
public override int GetHashCode()
Returns
System.Int32

IsValid()
public bool IsValid()
Returns
System.Boolean

ToNiceString()
public string ToNiceString()
Returns
System.String

Operators

Equality(ValidationWorkItem, ValidationWorkItem)
public static bool operator ==(ValidationWorkItem x, ValidationWorkItem y)
Returns
System.Boolean

Inequality(ValidationWorkItem, ValidationWorkItem)
public static bool operator !=(ValidationWorkItem x, ValidationWorkItem y)
Returns
System.Boolean