using System.Collections.Generic; using Core.GIS.SharpMap.Api.Layers; namespace Core.Common.Gui { public interface IMapLayerProvider { /// /// Create a layer for the provided data /// /// Data to create a layer for /// Parent data of the data /// Layer for the data ILayer CreateLayer(object data, object parentData); /// /// Determines if a layer can be created for the data /// /// Data to create a layer for /// Parent data of the data /// Can a layer be created bool CanCreateLayerFor(object data, object parentData); /// /// Child objects for . Objects will be used to create child layers /// for the group layer () /// /// Group layer data /// Child objects for IEnumerable ChildLayerObjects(object data); } }