FeatureSourceLayerCollection¶
Namespace: ThinkGeo.Core
Feature sources keyed by source-layer name. Adding without a key names the layer after the data itself - the file name without its extension for a file-backed source, the table name for a database one - so a style's "source-layer" simply says which data it reads. Add with an explicit key to choose a different name.
public sealed class FeatureSourceLayerCollection : GeoCollection`1, System.Collections.Generic.ICollection`1[[ThinkGeo.Core.FeatureSource, ThinkGeo.Core, Version=15.0.0.0, Culture=neutral, PublicKeyToken=0828af5241fb4207]], System.Collections.Generic.IEnumerable`1[[ThinkGeo.Core.FeatureSource, ThinkGeo.Core, Version=15.0.0.0, Culture=neutral, PublicKeyToken=0828af5241fb4207]], System.Collections.IEnumerable, System.Collections.Generic.IList`1[[ThinkGeo.Core.FeatureSource, ThinkGeo.Core, Version=15.0.0.0, Culture=neutral, PublicKeyToken=0828af5241fb4207]], System.Collections.Generic.IReadOnlyCollection`1[[ThinkGeo.Core.FeatureSource, ThinkGeo.Core, Version=15.0.0.0, Culture=neutral, PublicKeyToken=0828af5241fb4207]], System.Collections.Generic.IReadOnlyList`1[[ThinkGeo.Core.FeatureSource, ThinkGeo.Core, Version=15.0.0.0, Culture=neutral, PublicKeyToken=0828af5241fb4207]], System.Collections.ICollection, System.Collections.IList, System.Collections.Specialized.INotifyCollectionChanged, System.ComponentModel.INotifyPropertyChanged
Inheritance object → Collection<FeatureSource> → GeoCollection<FeatureSource> → FeatureSourceLayerCollection
Implements ICollection<FeatureSource>, IEnumerable<FeatureSource>, IEnumerable, IList<FeatureSource>, IReadOnlyCollection<FeatureSource>, IReadOnlyList<FeatureSource>, ICollection, IList, INotifyCollectionChanged, INotifyPropertyChanged
Properties¶
Item¶
public FeatureSource Item { get; set; }
Property Value¶
Count¶
public int Count { get; }
Property Value¶
Item¶
public FeatureSource Item { get; set; }
Property Value¶
Constructors¶
FeatureSourceLayerCollection()¶
public FeatureSourceLayerCollection()
Methods¶
Add(FeatureSource)¶
public void Add(FeatureSource item)
Parameters¶
item FeatureSource
Returns¶
Add(AsyncFeatureSource)¶
Adds an asynchronous source under the data's own name, or a positional one - see FeatureSourceLayerCollection.Add(string, AsyncFeatureSource).
public void Add(AsyncFeatureSource item)
Parameters¶
item AsyncFeatureSource
Returns¶
Add(string, AsyncFeatureSource)¶
Adds an asynchronous source - a WfsV2AsyncFeatureSource, an OgcApiAsyncFeatureSource - under the name the style's layers refer to it by, exactly as a synchronous one is added. The cutter queries it through a synchronous view, each query awaited on the thread pool; the source stays the application's object, and this[key] answers the view rather than the source. https://community.thinkgeo.com/t/wfsv2featurelayer-vs-wfsv2asynclayer/12449
public void Add(string key, AsyncFeatureSource item)
Parameters¶
key string
item AsyncFeatureSource
Returns¶
A(AsyncFeatureSource)¶
internal string A(AsyncFeatureSource )
Parameters¶
Returns¶
a(object)¶
internal static string a(object )
Parameters¶
`` object
Returns¶
Events¶
Inserting¶
Occurs when the Inserting event is raised.
public event EventHandler<InsertingGeoCollectionEventArgs> Inserting;
Inserted¶
Occurs when the Inserted event is raised.
public event EventHandler<InsertedGeoCollectionEventArgs> Inserted;
Removing¶
Occurs when the Removing event is raised.
public event EventHandler<RemovingGeoCollectionEventArgs> Removing;
Removed¶
Occurs when the Removed event is raised.
public event EventHandler<RemovedGeoCollectionEventArgs> Removed;
Adding¶
Occurs when the Adding event is raised.
public event EventHandler<AddingGeoCollectionEventArgs> Adding;
Added¶
Occurs when the Added event is raised.
public event EventHandler<AddedGeoCollectionEventArgs> Added;
ClearingItems¶
Occurs when the ClearingItems event is raised.
public event EventHandler<ClearingItemsGeoCollectionEventArgs> ClearingItems;
ClearedItems¶
Occurs when the ClearedItems event is raised.
public event EventHandler<ClearedItemsGeoCollectionEventArgs> ClearedItems;
MovedItem¶
Occurs when the MovedItem event is raised.
public event EventHandler<MovedItemGeoCollectionEventArgs> MovedItem;
CollectionChanged¶
Occurs when the CollectionChanged event is raised.
public event NotifyCollectionChangedEventHandler CollectionChanged;
PropertyChanged¶
Occurs when the PropertyChanged event is raised.
public event PropertyChangedEventHandler PropertyChanged;