/// <summary> /// This is a multi threaded singleton for the class RMQ_Sender. /// </summary> /// <returns>_instance</returns> public static RMQ_Sender GetInstance() { if (_instance == null) { lock (syncRoot) { if (_instance == null) { _instance = new RMQ_Sender(); } } } return(_instance); }
/// <summary> /// This is the constructor for the class RMQ_User. /// </summary> private RMQ_User() { rmq_sender = RMQ_Sender.GetInstance(); }
/// <summary> /// This is the constructor for the class RMQ_Product. /// </summary> private RMQ_Product() { rmq_sender = RMQ_Sender.GetInstance(); }
/// <summary> /// This is the constructor for the class RMQ_OrderDetail. /// </summary> private RMQ_OrderDetail() { rmq_sender = RMQ_Sender.GetInstance(); }
/// <summary> /// This is the constructor for the class RMQ_SpecialCalls. /// </summary> private RMQ_SpecialCalls() { rmq_sender = RMQ_Sender.GetInstance(); }