Click or drag to resize

MementoJsonContractResolverGetPropertyNamesT Method

Allows retrieving a property name in a strong-typed way.

Namespace: RAYLASE.Marker.GUI.Common.Mementos
Assembly: RAYLASE.Marker.GUI.Common (in RAYLASE.Marker.GUI.Common.dll) Version: 2.19.0
Syntax
C#
public IList<string> GetPropertyNames<T>(
	Expression<Func<T, Object>> exp
)

Parameters

exp  ExpressionFuncT, Object

[Missing <param name="exp"/> documentation for "M:RAYLASE.Marker.GUI.Common.Mementos.MementoJsonContractResolver.GetPropertyNames``1(System.Linq.Expressions.Expression{System.Func{``0,System.Object}})"]

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:RAYLASE.Marker.GUI.Common.Mementos.MementoJsonContractResolver.GetPropertyNames``1(System.Linq.Expressions.Expression{System.Func{``0,System.Object}})"]

Return Value

IListString

[Missing <returns> documentation for "M:RAYLASE.Marker.GUI.Common.Mementos.MementoJsonContractResolver.GetPropertyNames``1(System.Linq.Expressions.Expression{System.Func{``0,System.Object}})"]

Remarks
Taken from http://stackoverflow.com/questions/18800240/get-name-of-a-method-strongly-typed
See Also