mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-28 03:34:46 +03:00
ReSharper format: conform inline 'out' parameters.
This commit is contained in:
@@ -52,9 +52,7 @@ namespace MediaBrowser.MediaEncoding.Probing
|
||||
return null;
|
||||
}
|
||||
|
||||
string val;
|
||||
|
||||
tags.TryGetValue(key, out val);
|
||||
tags.TryGetValue(key, out var val);
|
||||
return val;
|
||||
}
|
||||
|
||||
@@ -70,9 +68,7 @@ namespace MediaBrowser.MediaEncoding.Probing
|
||||
|
||||
if (!string.IsNullOrEmpty(val))
|
||||
{
|
||||
int i;
|
||||
|
||||
if (int.TryParse(val, out i))
|
||||
if (int.TryParse(val, out var i))
|
||||
{
|
||||
return i;
|
||||
}
|
||||
@@ -93,9 +89,7 @@ namespace MediaBrowser.MediaEncoding.Probing
|
||||
|
||||
if (!string.IsNullOrEmpty(val))
|
||||
{
|
||||
DateTime i;
|
||||
|
||||
if (DateTime.TryParse(val, out i))
|
||||
if (DateTime.TryParse(val, out var i))
|
||||
{
|
||||
return i.ToUniversalTime();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user