Example #1
0
 public int Compare(TableStyleOverrideValues x, TableStyleOverrideValues y)
 {
     if (dict[x] < dict[y])
     {
         return(-1);
     }
     if (dict[y] < dict[x])
     {
         return(1);
     }
     return(0);
 }
Example #2
0
        private void AssertHasSameOverrideValue(TableStyleOverrideValues expected, TableStyleProperties style)
        {
            var result = style.Type.Value;

            Assert.AreEqual(expected, result);
        }