Beispiel #1
0
        void IFeatureSource.RemoveSpatialContextOverride(ISpatialContextInfo sc)
        {
            var sp = sc as SpatialContextType;

            if (sp != null)
            {
                if (this.SupplementalSpatialContextInfo == null)
                {
                    return;
                }

                this.SupplementalSpatialContextInfo.Remove(sp);
            }
        }
Beispiel #2
0
        void IFeatureSource.AddSpatialContextOverride(ISpatialContextInfo sc)
        {
            var sp = sc as SpatialContextType;

            if (sp != null)
            {
                if (this.SupplementalSpatialContextInfo == null)
                {
                    this.SupplementalSpatialContextInfo = new System.ComponentModel.BindingList <SpatialContextType>();
                }

                this.SupplementalSpatialContextInfo.Add(sp);
            }
        }
Beispiel #3
0
        void IFeatureSource.RemoveSpatialContextOverride(ISpatialContextInfo sc)
        {
            var sp = sc as SpatialContextType;
            if (sp != null)
            {
                if (this.SupplementalSpatialContextInfo == null)
                    return;

                this.SupplementalSpatialContextInfo.Remove(sp);
            }
        }
Beispiel #4
0
        void IFeatureSource.AddSpatialContextOverride(ISpatialContextInfo sc)
        {
            var sp = sc as SpatialContextType;
            if (sp != null)
            {
                if (this.SupplementalSpatialContextInfo == null)
                    this.SupplementalSpatialContextInfo = new System.ComponentModel.BindingList<SpatialContextType>();

                this.SupplementalSpatialContextInfo.Add(sp);
            }
        }