Version 3.1.1.0

CombinedRuleInstance class

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

Constructors

CombinedRuleInstance()
public CombinedRuleInstance()

Fields

Default
public SerializedRule Default
Local
public SerializedRule Local
Project
public SerializedRule Project

Properties

DataOverrideState
public ConfigSourceType DataOverrideState { get; }
Description
public string Description { get; }
Enabled
public bool Enabled { get; }
EnabledOverrideState
public ConfigSourceType EnabledOverrideState { get; }
Name
public string Name { get; }
ValidatorData
public Validator ValidatorData { get; }

Methods

GetOverrideDataOrDefaultCopy(ConfigSourceType)
public Validator GetOverrideDataOrDefaultCopy(ConfigSourceType type)
Parameters
ConfigSourceType type

Returns
Validator

GetSerializedRule(ConfigSourceType)
public SerializedRule GetSerializedRule(ConfigSourceType value)
Parameters
ConfigSourceType value

Returns
SerializedRule

IsDataOverriddenIn(ConfigSourceType)
public bool IsDataOverriddenIn(ConfigSourceType configSourceType)
Parameters
ConfigSourceType configSourceType

Returns
System.Boolean

IsEnabledIn(ConfigSourceType)
public bool IsEnabledIn(ConfigSourceType configSourceType)
Parameters
ConfigSourceType configSourceType

Returns
System.Boolean

IsEnabledOverriddenIn(ConfigSourceType)
public bool IsEnabledOverriddenIn(ConfigSourceType configSourceType)
Parameters
ConfigSourceType configSourceType

Returns
System.Boolean

SetEnabledOverrideState(ConfigSourceType, Boolean)
public void SetEnabledOverrideState(ConfigSourceType type, bool value)
Parameters
ConfigSourceType type

System.Boolean value

SetOverrideData(ConfigSourceType, Validator)
public void SetOverrideData(ConfigSourceType type, Validator data)
Parameters
ConfigSourceType type

Validator data