public FormTest() { InitializeComponent(); EntityImpl publisher = new EntityImpl(); publisher.Context.PreLoading(); publisher.OnMessagePublish += new HYS.IM.Messaging.Objects.PublishModel.MessagePublishHandler(publisher_OnMessagePublish); _controler = new CSBrokerInboundControler(publisher); }
public bool Initialize(EntityInitializeArgument arg) { _context.PreLoading(arg); _controler = new CSBrokerInboundControler(this); return(true); }