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);
 }
예제 #2
0
 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);
 }
예제 #4
0
 public void OnGet(PropertyInterceptionInfo propertyInterceptionInfo, object value)
 {
     this.instance = propertyInterceptionInfo.Instance as IProperty_Interceptor_Invoke;
     throw new InvokedException();
 }