static VirtualRoot() { Id = NTMinerRegistry.GetClientId(); LocalIpSet = new LocalIpSet(); JsonSerializer = new ObjectJsonSerializer(); // 构造函数中会建造消息路径 LocalMessages = new LocalMessageSet(LocalDbFileFullName); }
static VirtualRoot() { Id = NTMinerRegistry.GetClientId(); LocalIpSet = new LocalIpSet(); JsonSerializer = new NTJsonSerializer(); // 构造函数中会建造消息路径 LocalMessages = new LocalMessageSet(EntryAssemblyInfo.LocalDbFileFullName); }
static VirtualRoot() { Id = NTMinerRegistry.GetClientId(); LocalIpSet = new LocalIpSet(); JsonSerializer = new ObjectJsonSerializer(); SMessageDispatcher = new MessageDispatcher(); SCommandBus = new DirectCommandBus(SMessageDispatcher); SEventBus = new DirectEventBus(SMessageDispatcher); LocalMessages = new LocalMessageSet(LocalDbFileFullName); }