aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Services/ServiceController.cs
diff options
context:
space:
mode:
authorErwin de Haan <EraYaN@users.noreply.github.com>2019-01-13 21:37:13 +0100
committerErwin de Haan <EraYaN@users.noreply.github.com>2019-01-13 21:37:13 +0100
commit65bd052f3e8682d177520af57db1c8ef5cb33262 (patch)
treef5ec943937913cc7e275017e4a1055147d8ccef5 /Emby.Server.Implementations/Services/ServiceController.cs
parenta36658f6f0ed342d8b55dbf7c9ff95fe3abfa818 (diff)
ReSharper conform to 'var' settings
Diffstat (limited to 'Emby.Server.Implementations/Services/ServiceController.cs')
-rw-r--r--Emby.Server.Implementations/Services/ServiceController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Services/ServiceController.cs b/Emby.Server.Implementations/Services/ServiceController.cs
index f82c64823..b34832f45 100644
--- a/Emby.Server.Implementations/Services/ServiceController.cs
+++ b/Emby.Server.Implementations/Services/ServiceController.cs
@@ -72,7 +72,7 @@ namespace Emby.Server.Implementations.Services
public void RegisterRestPaths(HttpListenerHost appHost, Type requestType, Type serviceType)
{
var attrs = appHost.GetRouteAttributes(requestType);
- foreach (RouteAttribute attr in attrs)
+ foreach (var attr in attrs)
{
var restPath = new RestPath(appHost.CreateInstance, appHost.GetParseFn, requestType, serviceType, attr.Path, attr.Verbs, attr.IsHidden, attr.Summary, attr.Description);