mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-21 17:44:43 +01:00
ReSharper Reformat: Properties to expression bodied form.
This commit is contained in:
@@ -44,10 +44,7 @@ namespace MediaBrowser.Controller.Net
|
||||
/// >0 Executed after global request filters
|
||||
/// </summary>
|
||||
/// <value>The priority.</value>
|
||||
public int Priority
|
||||
{
|
||||
get { return 0; }
|
||||
}
|
||||
public int Priority => 0;
|
||||
|
||||
public string[] GetRoles()
|
||||
{
|
||||
|
||||
@@ -9,13 +9,7 @@ namespace MediaBrowser.Controller.Net
|
||||
/// Gets or sets the user identifier.
|
||||
/// </summary>
|
||||
/// <value>The user identifier.</value>
|
||||
public Guid UserId
|
||||
{
|
||||
get
|
||||
{
|
||||
return User == null ? Guid.Empty : User.Id;
|
||||
}
|
||||
}
|
||||
public Guid UserId => User == null ? Guid.Empty : User.Id;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the device identifier.
|
||||
|
||||
@@ -83,13 +83,7 @@ namespace MediaBrowser.Controller.Net
|
||||
|
||||
protected readonly CultureInfo UsCulture = new CultureInfo("en-US");
|
||||
|
||||
protected virtual bool SendOnTimer
|
||||
{
|
||||
get
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
protected virtual bool SendOnTimer => false;
|
||||
|
||||
protected virtual void ParseMessageParams(string[] values)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user