summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/Interop/Model/BitrateLimits.cs
diff options
context:
space:
mode:
authorScott <[email protected]>2015-09-26 21:58:03 +0100
committerScott <[email protected]>2015-09-26 21:58:03 +0100
commita18db8b3651e2d0dada4f131f8fb9ae2c3069f38 (patch)
tree9adb44a5d68435fffa6ce5717b55fac56148e5f7 /win/CS/HandBrake.ApplicationServices/Interop/Model/BitrateLimits.cs
parentc19ea798a23bfea7aba509309bef9168ece09836 (diff)
AppServices Tidyup Contd
Made most of the exposed objects immutable.
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Interop/Model/BitrateLimits.cs')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Interop/Model/BitrateLimits.cs23
1 files changed, 19 insertions, 4 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Interop/Model/BitrateLimits.cs b/win/CS/HandBrake.ApplicationServices/Interop/Model/BitrateLimits.cs
index 62ff64200..533c73a5b 100644
--- a/win/CS/HandBrake.ApplicationServices/Interop/Model/BitrateLimits.cs
+++ b/win/CS/HandBrake.ApplicationServices/Interop/Model/BitrateLimits.cs
@@ -15,13 +15,28 @@ namespace HandBrake.ApplicationServices.Interop.Model
public class BitrateLimits
{
/// <summary>
- /// Gets or sets the inclusive lower limit for the bitrate.
+ /// Initializes a new instance of the <see cref="BitrateLimits"/> class.
/// </summary>
- public int Low { get; set; }
+ /// <param name="low">
+ /// The low.
+ /// </param>
+ /// <param name="high">
+ /// The high.
+ /// </param>
+ public BitrateLimits(int low, int high)
+ {
+ this.Low = low;
+ this.High = high;
+ }
/// <summary>
- /// Gets or sets the inclusive upper limit for the bitrate.
+ /// Gets the inclusive lower limit for the bitrate.
/// </summary>
- public int High { get; set; }
+ public int Low { get; private set; }
+
+ /// <summary>
+ /// Gets the inclusive upper limit for the bitrate.
+ /// </summary>
+ public int High { get; private set; }
}
}