예제 #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;
        }
예제 #2
0
 public static void ForcePurge()
 {
     _Instance = null;
 }
예제 #3
0
        public override void Dispose()
        {
            Log("QDMS bus destroyed!");

            _Instance = null;
        }