private PropertyInfo GetPropertyForName(string propertyName) { return(ObservedObject.GetType().GetProperty(propertyName)); }
public ObservedObject BuildObservedObject() { var observedObject = new ObservedObject(); eventMonitor.RegisterEvents(observedObject); return observedObject; }