Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public int MyProperty {
- get { return myProperty; }
- set
- {
- myProperty = value;
- RaisePropertyChanged( () => MyProperty );
- }
- }
- string propertyName = Reflect.GetProperty(() => SomeProperty).Name;
- MyClass o;
- PropertyInfo[] properties = o.GetType().GetProperties(
- BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance
- );
Add Comment
Please, Sign In to add comment