ReSharper Reformat: Properties to expression bodied form.

This commit is contained in:
Erwin de Haan
2019-01-13 21:31:14 +01:00
parent 9fa60ec934
commit a36658f6f0
185 changed files with 782 additions and 3786 deletions

View File

@@ -53,10 +53,6 @@ namespace MediaBrowser.MediaEncoding.Encoder
return null;
}
protected override bool IsVideoEncoder
{
get { return false; }
}
protected override bool IsVideoEncoder => false;
}
}

View File

@@ -20,8 +20,8 @@ namespace MediaBrowser.MediaEncoding.Encoder
public EncodingJobOptions Options
{
get { return (EncodingJobOptions)BaseRequest; }
set { BaseRequest = value; }
get => (EncodingJobOptions)BaseRequest;
set => BaseRequest = value;
}
public string Id { get; set; }

View File

@@ -415,10 +415,7 @@ namespace MediaBrowser.MediaEncoding.Encoder
/// Gets the encoder path.
/// </summary>
/// <value>The encoder path.</value>
public string EncoderPath
{
get { return FFMpegPath; }
}
public string EncoderPath => FFMpegPath;
/// <summary>
/// Gets the media info.

View File

@@ -54,10 +54,6 @@ namespace MediaBrowser.MediaEncoding.Encoder
return null;
}
protected override bool IsVideoEncoder
{
get { return true; }
}
protected override bool IsVideoEncoder => true;
}
}