Class ExtensionHelper
Inheritance
System.Object
ExtensionHelper
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()
Namespace: SecureExchangesSDK.Helpers
Assembly: SecureExchangesSDK.dll
Syntax
public static class ExtensionHelper
Methods
CopySameNameAndTypeProperties<T, S>(T, S)
Declaration
public static void CopySameNameAndTypeProperties<T, S>(this T target, S source)
Parameters
Type | Name | Description |
---|---|---|
T | target | |
S | source |
Type Parameters
Name | Description |
---|---|
T | |
S |
GetPropertyName<TPropertySource>(Expression<Func<TPropertySource, Object>>)
Declaration
public static string GetPropertyName<TPropertySource>(Expression<Func<TPropertySource, object>> expression)
Parameters
Type | Name | Description |
---|---|---|
System.Linq.Expressions.Expression<System.Func<TPropertySource, System.Object>> | expression |
Returns
Type | Description |
---|---|
System.String |
Type Parameters
Name | Description |
---|---|
TPropertySource |