Class ReflectionHelper
Inheritance
System.Object
ReflectionHelper
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: DapperExtensions.StrongName.dll
Syntax
public static class ReflectionHelper
Methods
|
Improve this Doc
View Source
AppendStrings(IEnumerable<String>, String)
Declaration
public static string AppendStrings(this IEnumerable<string> list, string seperator = ", ")
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<System.String> |
list |
|
System.String |
seperator |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
GetObjectValues(Object)
Declaration
public static IDictionary<string, object> GetObjectValues(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Collections.Generic.IDictionary<System.String, System.Object> |
|
|
Improve this Doc
View Source
GetParameterName(IDictionary<String, Object>, String, Char)
Declaration
public static string GetParameterName(this IDictionary<string, object> parameters, string parameterName, char parameterPrefix)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IDictionary<System.String, System.Object> |
parameters |
|
System.String |
parameterName |
|
System.Char |
parameterPrefix |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
GetProperty(LambdaExpression)
Declaration
public static MemberInfo GetProperty(LambdaExpression lambda)
Parameters
Type |
Name |
Description |
System.Linq.Expressions.LambdaExpression |
lambda |
|
Returns
Type |
Description |
System.Reflection.MemberInfo |
|
|
Improve this Doc
View Source
IsSimpleType(Type)
Declaration
public static bool IsSimpleType(Type type)
Parameters
Type |
Name |
Description |
System.Type |
type |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
SetParameterName(IDictionary<String, Object>, String, Object, Char)
Declaration
public static string SetParameterName(this IDictionary<string, object> parameters, string parameterName, object value, char parameterPrefix)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IDictionary<System.String, System.Object> |
parameters |
|
System.String |
parameterName |
|
System.Object |
value |
|
System.Char |
parameterPrefix |
|
Returns
Type |
Description |
System.String |
|