Inheritance: DisposableObject, IStyle
Exemple #1
0
        public void TestStyle()
        {
            var styleS = new Style();
            styleS.MinVisible = 2;
            styleS.MaxVisible = 100;
            styleS.Enabled = false;

            var styleD = SandD(styleS, GetFormatter());

            AreStylesEqual(styleS, styleD);
        }
Exemple #2
0
// ReSharper disable PublicConstructorInAbstractClass
        ///<summary>
        /// Creates an instance of this class using the given Style
        ///</summary>
        ///<param name="style"></param>
        public Layer(Style style)
// ReSharper restore PublicConstructorInAbstractClass
        {
            _style = style;
        }
Exemple #3
0
 // ReSharper restore PublicConstructorInAbstractClass
 // ReSharper disable PublicConstructorInAbstractClass
 ///<summary>
 /// Creates an instance of this class using the given Style
 ///</summary>
 ///<param name="style"></param>
 public Layer(Style style)
 {
     _style = style;
 }
Exemple #4
0
 protected Layer() //Style style)
 {
     _style = new Style();
 }
Exemple #5
0
 //Style style)
 protected Layer()
 {
     _style = new Style();
 }