public static long GetLongMandatory(this IXLCell cell) { var value = cell.GetLongOrDefault(); if (value.Empty() || value.HasValue == false) { ThrowValueExpectedException <long>(cell); } return(value.Value); }
public long?GetLongOrDefault() { return(_cell.GetLongOrDefault()); }