Exemple #1
0
 private void ValidateInparameters(IReadOnlyInputBuffer buffer, int topRow)
 {
     buffer.If().Null.Throw().Null(nameof(buffer));
     topRow.If().LessThan(0).Throw().OutOfRange(nameof(topRow), topRow, "Cannot be less than 0");
 }
 private void ValidateInparameters(IReadOnlyInputBuffer buffer, int startCursorTop)
 {
     buffer.If().Null.Throw().Null(nameof(buffer));
     startCursorTop.If().LessThan(0).Throw().OutOfRange(nameof(startCursorTop), 0, "Cannot be less than 0.");
 }