Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public abstract class BaseModel : ObservableObject
- {
- public string Title
- {
- get { return title; }
- set { Set("Title", ref title, value); }
- }
- private string title;
- }
- public class ChildModel : BaseModel
- {
- }
- ///////
- var child = new ChildModel { Title = "temp" };
- // myType.GetTypeInfo().GetDeclaredProperty(propertyName) returns null for "Title"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement