Method GetPropertyName
GetPropertyName<TObject, T1>(TObject, Expression<Func<TObject, T1>>)
Declaration
public static string GetPropertyName<TObject, T1>(this TObject instance, Expression<Func<TObject, T1>> instancePropertyExtractor) where TObject : INotifyPropertyChanged
Parameters
Type | Name | Description |
---|---|---|
TObject | instance | |
Expression<Func<TObject, T1>> | instancePropertyExtractor |
Returns
Type | Description |
---|---|
string |
Type Parameters
Name | Description |
---|---|
TObject | |
T1 |