File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -17,13 +17,14 @@ public sealed class DecoderOptions
17
17
18
18
/// <summary>
19
19
/// Gets the shared default general decoder options instance.
20
+ /// Used internally to reduce allocations for default decoding operations.
20
21
/// </summary>
21
22
internal static DecoderOptions Default { get ; } = LazyOptions . Value ;
22
23
23
24
/// <summary>
24
25
/// Gets a custom configuration instance to be used by the image processing pipeline.
25
26
/// </summary>
26
- public Configuration Configuration { get ; internal set ; } = Configuration . Default ;
27
+ public Configuration Configuration { get ; init ; } = Configuration . Default ;
27
28
28
29
/// <summary>
29
30
/// Gets the target size to decode the image into. Scaling should use an operation equivalent to <see cref="ResizeMode.Max"/>.
You can’t perform that action at this time.
0 commit comments