using System.Collections.Generic;
using Core.Gis.GeoApi.Extensions.Feature;
using Core.GIS.SharpMap.Api.Editors;
namespace Core.GIS.SharpMap.Api.Delegates
{
///
/// Delegate used to notify the owner of the topology rules to be notified when a clone of a related feature
/// is created. For example this allows the owner to draw these related clones and to activate the related
/// topology rules
///
///
/// The list of active toplogy rules for the related feature. The owner can actvate new rulkes and add them
/// to this list.
///
/// the related source feature
///
/// the cloned source feature
///
/// the level of the rule in the calling hierarchy starting at 0
public delegate void AddRelatedFeature(IList childTopologyRules, IFeature sourceFeature, IFeature cloneFeature, int level);
}