Exemple #1
0
 public void UpdateFeature([NotNull] IFeature feature,
                           [CanBeNull] UniqueIdProvider uniqueIdProvider)
 {
     if (_feature == null)
     {
         _feature = GetFeatureProxy(feature, uniqueIdProvider);
     }
 }
Exemple #2
0
        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);
        }
Exemple #3
0
 public void ReleaseFeature()
 {
     _feature = null;
 }
Exemple #4
0
 private CachedRow([NotNull] FeatureProxy feature)
     : base(feature)
 {
     _feature = feature;
 }