diff options
author | sr55 <[email protected]> | 2015-05-03 17:29:45 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2015-05-03 17:29:45 +0000 |
commit | 99aa2bf7c9bfa34d1bf822d70da22243fbbdd344 (patch) | |
tree | aeda9214568a48dac6fcac2fb8902d73fe8ae378 /win/CS/HandBrake.ApplicationServices/Utilities/ExtensionMethods.cs | |
parent | 0be4e18bacefa6b7bc63731b4a004a6ff772af20 (diff) |
WinGui: Fix Line Endings and (StyleCop)Warnings
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7152 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Utilities/ExtensionMethods.cs')
-rw-r--r-- | win/CS/HandBrake.ApplicationServices/Utilities/ExtensionMethods.cs | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Utilities/ExtensionMethods.cs b/win/CS/HandBrake.ApplicationServices/Utilities/ExtensionMethods.cs index 53db9e23f..9966002c7 100644 --- a/win/CS/HandBrake.ApplicationServices/Utilities/ExtensionMethods.cs +++ b/win/CS/HandBrake.ApplicationServices/Utilities/ExtensionMethods.cs @@ -1,20 +1,31 @@ -using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
+// --------------------------------------------------------------------------------------------------------------------
+// <copyright file="ExtensionMethods.cs" company="HandBrake Project (http://handbrake.fr)">
+// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License.
+// </copyright>
+// <summary>
+// The extension methods.
+// </summary>
+// --------------------------------------------------------------------------------------------------------------------
namespace HandBrake.ApplicationServices.Utilities
{
using System.Linq.Expressions;
using System.Reflection;
+ /// <summary>
+ /// The extension methods.
+ /// </summary>
public static class ExtensionMethods
{
/// <summary>
/// Converts an expression into a <see cref="MemberInfo"/>.
/// </summary>
- /// <param name="expression">The expression to convert.</param>
- /// <returns>The member info.</returns>
+ /// <param name="expression">
+ /// The expression to convert.
+ /// </param>
+ /// <returns>
+ /// The member info.
+ /// </returns>
public static MemberInfo GetMemberInfo(this Expression expression)
{
var lambda = (LambdaExpression)expression;
@@ -30,6 +41,5 @@ namespace HandBrake.ApplicationServices.Utilities return memberExpression.Member;
}
-
}
}
|