Exemplo n.º 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);
        }
Exemplo n.º 2
0
 public int?GetIntegerOrDefault()
 {
     return(_cell.GetIntegerOrDefault());
 }