summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/Converters/EnumToDescConverter.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2011-05-29 17:29:57 +0000
committersr55 <[email protected]>2011-05-29 17:29:57 +0000
commite6f26f89f2d084a2adb40e4c41e46de5c7e5d2c5 (patch)
tree4a35b75dc8874a06d2f27806b5119364df58d3e1 /win/CS/HandBrake.ApplicationServices/Converters/EnumToDescConverter.cs
parent6521211f3657d5f4dc424ec871d2e0458bb6b287 (diff)
WinGui: Some additional work on the libhb encode service to move it closer to a working service.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4010 b64f7644-9d1e-0410-96f1-a4d463321fa5
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,