mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-29 22:48:18 +00:00
ReSharper format: conform inline 'out' parameters.
This commit is contained in:
@@ -11,9 +11,7 @@ namespace NLangDetect.Core
|
||||
{
|
||||
get
|
||||
{
|
||||
double value;
|
||||
|
||||
return _dict.TryGetValue(key, out value) ? value : 0.0;
|
||||
return _dict.TryGetValue(key, out var value) ? value : 0.0;
|
||||
}
|
||||
|
||||
set
|
||||
|
||||
@@ -18,10 +18,8 @@ namespace NLangDetect.Core.Utils
|
||||
|
||||
public static string getString(string key)
|
||||
{
|
||||
string value;
|
||||
|
||||
return
|
||||
_messages.TryGetValue(key, out value)
|
||||
_messages.TryGetValue(key, out var value)
|
||||
? value
|
||||
: string.Format("!{0}!", key);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user