예제 #1
0
        public static long GetLongMandatory(this IXLCell cell)
        {
            var value = cell.GetLongOrDefault();

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

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