private void DoGetSource() { var args = new ObjectEventArgs(); if (OnGetSource != null) { OnGetSource(this, args); } if (args.Object != null) { Master.Register(args.Object); } }
private void DoGetTarget() { var arg = new ObjectEventArgs(); if (OnGetTarget != null) { OnGetTarget(this, arg); } if (arg.Object != null) { Master.Register(arg.Object); } }