aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/Library/LibraryStructureService.cs
diff options
context:
space:
mode:
authorErwin de Haan <EraYaN@users.noreply.github.com>2019-01-17 17:48:01 +0100
committerGitHub <noreply@github.com>2019-01-17 17:48:01 +0100
commite241589969c643116f9fc5c24bcf2009fed83fe5 (patch)
tree5a9e7d266b5f79c6d90a4767e804887b40b87b1c /MediaBrowser.Api/Library/LibraryStructureService.cs
parent47f08fbb12db5854f5e474ddbf70b758ca084616 (diff)
parent7aa975325af87fe425fe143aaed1df830133be8b (diff)
Merge branch 'dev' into skia-native-arm
Diffstat (limited to 'MediaBrowser.Api/Library/LibraryStructureService.cs')
-rw-r--r--MediaBrowser.Api/Library/LibraryStructureService.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/MediaBrowser.Api/Library/LibraryStructureService.cs b/MediaBrowser.Api/Library/LibraryStructureService.cs
index bba89acec..cd839e0f8 100644
--- a/MediaBrowser.Api/Library/LibraryStructureService.cs
+++ b/MediaBrowser.Api/Library/LibraryStructureService.cs
@@ -192,7 +192,7 @@ namespace MediaBrowser.Api.Library
{
if (appPaths == null)
{
- throw new ArgumentNullException("appPaths");
+ throw new ArgumentNullException(nameof(appPaths));
}
_appPaths = appPaths;
@@ -244,12 +244,12 @@ namespace MediaBrowser.Api.Library
{
if (string.IsNullOrWhiteSpace(request.Name))
{
- throw new ArgumentNullException("request");
+ throw new ArgumentNullException(nameof(request));
}
if (string.IsNullOrWhiteSpace(request.NewName))
{
- throw new ArgumentNullException("request");
+ throw new ArgumentNullException(nameof(request));
}
var rootFolderPath = _appPaths.DefaultUserViewsPath;
@@ -322,7 +322,7 @@ namespace MediaBrowser.Api.Library
{
if (string.IsNullOrWhiteSpace(request.Name))
{
- throw new ArgumentNullException("request");
+ throw new ArgumentNullException(nameof(request));
}
_libraryMonitor.Stop();
@@ -370,7 +370,7 @@ namespace MediaBrowser.Api.Library
{
if (string.IsNullOrWhiteSpace(request.Name))
{
- throw new ArgumentNullException("request");
+ throw new ArgumentNullException(nameof(request));
}
_libraryManager.UpdateMediaPath(request.Name, request.PathInfo);
@@ -384,7 +384,7 @@ namespace MediaBrowser.Api.Library
{
if (string.IsNullOrWhiteSpace(request.Name))
{
- throw new ArgumentNullException("request");
+ throw new ArgumentNullException(nameof(request));
}
_libraryMonitor.Stop();