public static void Relink(WmDeserializer ds) { Cd = ds.WmCd; WmSm.Relink(); KcdBroker.OnEvent += WmSm.HandleKcdBrokerNotification; KmodBroker.OnThreadCollected += WmSm.OnThreadCollected; EAnpBroker.OnClose += WmSm.OnThreadCollected; EAnpBroker.OnChannelOpen += WmEAnp.HandleChannelOpen; foreach (UInt64 internalID in ds.KwsCdList.Keys) { Workspace kws = new Workspace(); KwsCoreData kwsCd = ds.KwsCdList[internalID]; kws.Relink(internalID, kwsCd); } AdjustPublicKwsID(); }
// Core data of the KFS. public void Deserialize() { WmCd = new WmCoreData(); KwsCdList = new SortedDictionary <UInt64, KwsCoreData>(); }