コード例 #1
0
        public void GeneratePreparation(PreProxyEventArgs args)
        {
            var notifyBase = new NotifyBase();

            args.Interceptors.Add(new PropertyNotifyInterceptor(notifyBase));
            args.GenerationOptions.AddMixinInstance(notifyBase);
        }
コード例 #2
0
 public PropertyNotifyInterceptor(NotifyBase notifyBase)
 {
     _notifyBase = notifyBase;
 }