using System;
using System.Collections.Generic;
using Core.Common.Base;
using Ringtoets.GrassCoverErosionOutwards.Data;
namespace Ringtoets.GrassCoverErosionOutwards.Forms
{
public interface IGrassCoverErosionOutwardsFailureMechanismPropertyChangeHandler
{
///
/// Checks to see if the change of the failure mechanism property should occur or not.
///
/// true if the change should occur, false otherwise.
bool ConfirmPropertyChange();
///
/// Propagates the necessary changes to underlying data structure when a property has
/// been changed for a grass cover erosion outwards failure mechanism.
///
/// The failure mechanism to be updated.
/// All objects that have been affected by the change.
/// Thrown when
/// is null.
IEnumerable PropertyChanged(GrassCoverErosionOutwardsFailureMechanism failureMechanism);
}
}