mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-09-01 03:30:06 +00:00
ReSharper format: conform inline 'out' parameters.
This commit is contained in:
parent
65bd052f3e
commit
e867446437
124 changed files with 354 additions and 820 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue