summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/Converters/EnumToDescConverter.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Converters/EnumToDescConverter.cs')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Converters/EnumToDescConverter.cs37
1 files changed, 35 insertions, 2 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Converters/EnumToDescConverter.cs b/win/CS/HandBrake.ApplicationServices/Converters/EnumToDescConverter.cs
index a03a3f071..d66f27a7e 100644
--- a/win/CS/HandBrake.ApplicationServices/Converters/EnumToDescConverter.cs
+++ b/win/CS/HandBrake.ApplicationServices/Converters/EnumToDescConverter.cs
@@ -1,17 +1,50 @@
-namespace HandBrake.ApplicationServices.Converters
+/* EnumToDescConveter.cs $
+ This file is part of the HandBrake source code.
+ Homepage: <http://handbrake.fr>.
+ It may be used under the terms of the GNU General Public License. */
+
+
+namespace HandBrake.ApplicationServices.Converters
{
- using System.ComponentModel;
using System;
+ using System.ComponentModel;
using HandBrake.ApplicationServices.Functions;
+ /// <summary>
+ /// Enum to Description Converter
+ /// </summary>
public class EnumToDescConveter : EnumConverter
{
+ /// <summary>
+ /// Initializes a new instance of the <see cref="EnumToDescConveter"/> class.
+ /// </summary>
+ /// <param name="type">
+ /// The type.
+ /// </param>
public EnumToDescConveter(Type type)
: base(type)
{
}
+ /// <summary>
+ /// Convert To an Object.
+ /// </summary>
+ /// <param name="context">
+ /// The context.
+ /// </param>
+ /// <param name="culture">
+ /// The culture.
+ /// </param>
+ /// <param name="value">
+ /// The value.
+ /// </param>
+ /// <param name="destinationType">
+ /// The destination type.
+ /// </param>
+ /// <returns>
+ /// The Enum Object
+ /// </returns>
public override object ConvertTo(
ITypeDescriptorContext context,
System.Globalization.CultureInfo culture,