Info
Version: | 1.0.1 |
Author(s): | Ken Yourek |
Last Update: | Saturday, July 26, 2014 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/kyourek/Ensues.Reflection |
NuGet Url: | https://www.nuget.org/packages/Ensues.Reflection |
Install
Install-Package Ensues.Reflection
dotnet add package Ensues.Reflection
paket add Ensues.Reflection
Ensues.Reflection Download (Unzip the "nupkg" after downloading)
Dependencies
Tags
So, the following code will put "MyProperty" into "propertyName".
var propertyName = myObject.GetMemberName(mo => mo.MyProperty);.