public void UpdateFeature([NotNull] IFeature feature, [CanBeNull] UniqueIdProvider uniqueIdProvider) { if (_feature == null) { _feature = GetFeatureProxy(feature, uniqueIdProvider); } }
private static FeatureProxy GetFeatureProxy( [NotNull] IFeature feature, [CanBeNull] UniqueIdProvider uniqueIdProvider) { FeatureProxy result = feature as FeatureProxy; if (result != null) { return(result); } result = FeatureProxyFactory.Create(feature, uniqueIdProvider); GeometryUtils.AllowIndexing(feature.Shape); return(result); }
public void ReleaseFeature() { _feature = null; }
private CachedRow([NotNull] FeatureProxy feature) : base(feature) { _feature = feature; }