summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/Interop/Model/Language.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Interop/Model/Language.cs')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Interop/Model/Language.cs31
1 files changed, 25 insertions, 6 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Interop/Model/Language.cs b/win/CS/HandBrake.ApplicationServices/Interop/Model/Language.cs
index 89e997ef8..a110f2590 100644
--- a/win/CS/HandBrake.ApplicationServices/Interop/Model/Language.cs
+++ b/win/CS/HandBrake.ApplicationServices/Interop/Model/Language.cs
@@ -15,19 +15,38 @@ namespace HandBrake.ApplicationServices.Interop.Model
public class Language
{
/// <summary>
- /// Gets or sets the english name of the language.
+ /// Initializes a new instance of the <see cref="Language"/> class.
/// </summary>
- public string EnglishName { get; set; }
+ /// <param name="englishName">
+ /// The english name.
+ /// </param>
+ /// <param name="nativeName">
+ /// The native name.
+ /// </param>
+ /// <param name="code">
+ /// The code.
+ /// </param>
+ public Language(string englishName, string nativeName, string code)
+ {
+ this.EnglishName = englishName;
+ this.NativeName = nativeName;
+ this.Code = code;
+ }
+
+ /// <summary>
+ /// Gets the english name of the language.
+ /// </summary>
+ public string EnglishName { get; private set; }
/// <summary>
- /// Gets or sets the native name of the language.
+ /// Gets the native name of the language.
/// </summary>
- public string NativeName { get; set; }
+ public string NativeName { get; private set; }
/// <summary>
- /// Gets or sets the language code.
+ /// Gets the language code.
/// </summary>
- public string Code { get; set; }
+ public string Code { get; private set; }
/// <summary>
/// Gets the display string for the language.