예제 #1
0
        public static int GetIntegerMandatory(this IXLCell cell)
        {
            var value = cell.GetIntegerOrDefault();

            if (value.Empty() || value.HasValue == false)
            {
                ThrowValueExpectedException <int>(cell);
            }

            return(value.Value);
        }
예제 #2
0
 public int?GetIntegerOrDefault()
 {
     return(_cell.GetIntegerOrDefault());
 }