Example #1
0
        public QdmsMessageBus()
        {
            //Singleton-ish guard
            if (_Instance != null)
            {
                LogWarning("Message bus already exists!");

                _Instance = null;
            }

            Log("QDMS bus created!");
            Receivers = new List <IQdmsMessageReceiver>();
            _Instance = this;
        }
Example #2
0
 public static void ForcePurge()
 {
     _Instance = null;
 }
Example #3
0
        public override void Dispose()
        {
            Log("QDMS bus destroyed!");

            _Instance = null;
        }