You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewArgumentException($"Invalid notebook name provided: \"{name}\". Notebook names cannot empty, only white space or contain the symbols: \n{string.Join(' ',InvalidNotebookChars)}");
426
+
thrownewArgumentException($"Invalid notebook name provided: \"{name}\". Notebook names cannot empty, only whitespace or contain the symbols: \n{string.Join(' ',InvalidNotebookChars)}");
thrownewArgumentException($"Invalid section group name provided: \"{name}\". Section group names cannot empty, only white space or contain the symbols: \n{string.Join(' ',InvalidSectionGroupChars)}");
433
+
thrownewArgumentException($"Invalid section group name provided: \"{name}\". Section group names cannot empty, only whitespace or contain the symbols: \n{string.Join(' ',InvalidSectionGroupChars)}");
434
434
435
435
path=name;
436
436
createFileType=CreateFileType.cftFolder;
437
437
438
438
break;
439
439
casenameof(OneNoteSection):
440
440
if(!IsSectionNameValid(name))
441
-
thrownewArgumentException($"Invalid section name provided: \"{name}\". Section names cannot empty, only white space or contain the symbols: \n{string.Join(' ',InvalidSectionChars)}");
441
+
thrownewArgumentException($"Invalid section name provided: \"{name}\". Section names cannot empty, only whitespace or contain the symbols: \n{string.Join(' ',InvalidSectionChars)}");
/// Returns a value that indicates whether the supplied <paramref name="name"/> is a valid for a notebook.
518
518
/// </summary>
519
519
/// <param name="name"></param>
520
-
/// <returns><see langword="true"/> if the specified <paramref name="name"/> is not null, empty, white space or contains any characters from <see cref="InvalidNotebookChars"/>; otherwise, <see langword="false"/>.</returns>
520
+
/// <returns><see langword="true"/> if the specified <paramref name="name"/> is not null, empty, whitespace or contains any characters from <see cref="InvalidNotebookChars"/>; otherwise, <see langword="false"/>.</returns>
@@ -526,15 +526,15 @@ public static bool IsNotebookNameValid(string name)
526
526
/// Returns a value that indicates whether the supplied <paramref name="name"/> is a valid for a section.
527
527
/// </summary>
528
528
/// <param name="name"></param>
529
-
/// <returns><see langword="true"/> if the specified <paramref name="name"/> is not null, empty, white space or contains any characters from <see cref="InvalidSectionChars"/>; otherwise, <see langword="false"/>.</returns>
529
+
/// <returns><see langword="true"/> if the specified <paramref name="name"/> is not null, empty, whitespace or contains any characters from <see cref="InvalidSectionChars"/>; otherwise, <see langword="false"/>.</returns>
/// Returns a value that indicates whether the supplied <paramref name="name"/> is a valid for a section group.
536
536
/// </summary>
537
-
/// <returns><see langword="true"/> if the specified <paramref name="name"/> is not null, empty, white space or contains any characters from <see cref="InvalidSectionGroupChars"/>; otherwise, <see langword="false"/>.</returns>
537
+
/// <returns><see langword="true"/> if the specified <paramref name="name"/> is not null, empty, whitespace or contains any characters from <see cref="InvalidSectionGroupChars"/>; otherwise, <see langword="false"/>.</returns>
0 commit comments