public void Update() { bool isValid = CheckIsValid(); m_IsValid = isValid; ValidStateChanged?.Invoke(); }
public void SetIsUnique(bool unique) { if (m_IsUnique == unique) { return; } m_IsUnique = unique; ValidStateChanged?.Invoke(); }
private void CheckIfPointIsEmpty() { bool notEmpty = m_GetPointFunc() != null; if (notEmpty == m_AreNotEmpty) { return; } m_AreNotEmpty = notEmpty; ValidStateChanged?.Invoke(); }
private void CheckValidState() { if (_previousValidationState == IsValid) { return; } _previousValidationState = IsValid; RaisePropertyChanged(() => IsValid); ValidStateChanged?.Invoke(this, null); }