Esempio n. 1
0
        public void RendererIsIUniqueValueRenderer()
        {
            //from simple (default) to unique value
            TesterUtilities.ApplyUniqueValueRenderer(layer as IGeoFeatureLayer);
            IGeoFeatureLayer gfl      = layer as IGeoFeatureLayer;
            IFeatureRenderer fr       = gfl.Renderer;
            Type             expected = typeof(IUniqueValueRenderer);

            System.Console.WriteLine(expected.ToString() + ", " + fr.GetType().ToString());
            Assert.IsInstanceOfType(expected, fr, "test ok");
        }
Esempio n. 2
0
 private void doUniqueValueRenderer(IGeoFeatureLayer gfl)
 {
     TesterUtilities.ApplyUniqueValueRenderer(gfl);
 }