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