public bool OnSet(PropertyInterceptionInfo propertyInterceptionInfo, object oldValue, object newValue) { throw new NotImplementedException(); }
public void OnInitialize(PropertyInterceptionInfo propertyInterceptionInfo, object value) { throw new NotImplementedException(); }
public void OnGet(PropertyInterceptionInfo propertyInterceptionInfo, object value) { }
/// <exclude/> public bool OnSet(PropertyInterceptionInfo propertyInterceptionInfo, object oldValue, object newValue) { this.memberName = propertyInterceptionInfo.DeclaringType.FullName + "." + propertyInterceptionInfo.PropertyName; Debug.WriteLine("Start execution of '{0}'", this.memberName); return(false); }
/// <exclude/> public void OnGet(PropertyInterceptionInfo propertyInterceptionInfo, object value) { this.memberName = propertyInterceptionInfo.DeclaringType.FullName + "." + propertyInterceptionInfo.PropertyName; Debug.WriteLine("Start execution of '{0}'", this.memberName); }
public bool OnSet(PropertyInterceptionInfo propertyInterceptionInfo, object oldValue, object newValue) { this.onSetMethod?.Invoke(propertyInterceptionInfo.PropertyName, newValue); return(false); }