public bool OnSet(PropertyInterceptionInfo propertyInterceptionInfo, object oldValue, object newValue) { this.instance = propertyInterceptionInfo.Instance as IProperty_Interceptor_Invoke; this.instance?.OnSet(propertyInterceptionInfo.PropertyName, oldValue, newValue); return(true); }
public bool OnSet(PropertyInterceptionInfo propertyInterceptionInfo, object oldValue, object newValue) { this.instance = propertyInterceptionInfo.Instance as IProperty_Interceptor_Invoke; throw new InvokedException(); }
public void OnGet(PropertyInterceptionInfo propertyInterceptionInfo, object value) { this.instance = propertyInterceptionInfo.Instance as IProperty_Interceptor_Invoke; this.instance?.OnGet(propertyInterceptionInfo.PropertyName, value); }
public void OnGet(PropertyInterceptionInfo propertyInterceptionInfo, object value) { this.instance = propertyInterceptionInfo.Instance as IProperty_Interceptor_Invoke; throw new InvokedException(); }