public EntityMessageProcessor(IHost host, IEntityCollection collection) { _msgd = host.ServiceManager.GetProvider<MsgDes>(); _collection=collection; }
public EntityMessage(IHost host, int entity, Message message) { _serializer = host.ServiceManager.GetProvider<MsgDes>(); Entity = entity; Message = message; }