diff options
| author | Mark Monteiro <mark.monteiro23@gmail.com> | 2019-12-14 11:04:22 +0100 |
|---|---|---|
| committer | Mark Monteiro <mark.monteiro23@gmail.com> | 2019-12-14 11:04:22 +0100 |
| commit | 2c3e1b8562cb86d4e236eefd4de7554ee426896c (patch) | |
| tree | eebc62789c007c37f12b36b5caec5be3c2f729c3 /Jellyfin.Drawing.Skia/SkiaCodecException.cs | |
| parent | b8c8d45b8dfe817fae8dc5625325616deb0a7c2b (diff) | |
Enable StyleCop analyzer and fix existing issues
Diffstat (limited to 'Jellyfin.Drawing.Skia/SkiaCodecException.cs')
| -rw-r--r-- | Jellyfin.Drawing.Skia/SkiaCodecException.cs | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/Jellyfin.Drawing.Skia/SkiaCodecException.cs b/Jellyfin.Drawing.Skia/SkiaCodecException.cs index c10367052..0cfb55c26 100644 --- a/Jellyfin.Drawing.Skia/SkiaCodecException.cs +++ b/Jellyfin.Drawing.Skia/SkiaCodecException.cs @@ -11,12 +11,6 @@ namespace Jellyfin.Drawing.Skia public class SkiaCodecException : SkiaException { /// <summary> - /// Returns the non-successful codec result returned by Skia. - /// </summary> - /// <value>The non-successful codec result returned by Skia.</value> - public SKCodecResult CodecResult { get; } - - /// <summary> /// Initializes a new instance of the <see cref="SkiaCodecException" /> class. /// </summary> /// <param name="result">The non-successful codec result returned by Skia.</param> @@ -37,12 +31,17 @@ namespace Jellyfin.Drawing.Skia CodecResult = result; } + /// <summary> + /// Gets the non-successful codec result returned by Skia. + /// </summary> + public SKCodecResult CodecResult { get; } + /// <inheritdoc /> public override string ToString() => string.Format( CultureInfo.InvariantCulture, "Non-success codec result: {0}\n{1}", CodecResult, - base.ToString()); + base.ToString()); } } |
