public static bool IamFirst(SingletonController.ReceiveDelegate r) { bool flag; if (!SingletonController.IamFirst()) { flag = false; } else { SingletonController.Receiver = (SingletonController.ReceiveDelegate)Delegate.Combine(SingletonController.Receiver, r); flag = true; } return(flag); }
static SingletonController() { SingletonController.m_TCPChannel = null; SingletonController.m_Mutex = null; SingletonController.m_Receive = null; }