Example #1
0
        public static MpManager GetInstance(string userName, string pwdMd5)
        {
            if (Instances.ContainsKey(userName))
                return Instances[userName];

            var instance = new MpManager(userName, pwdMd5);

            Instances.Add(userName, instance);

            return instance;
        }
Example #2
0
        public static MpManager GetInstance(string userName, string pwdMd5)
        {
            if (Instances.ContainsKey(userName))
            {
                return(Instances[userName]);
            }

            var instance = new MpManager(userName, pwdMd5);

            Instances.Add(userName, instance);

            return(instance);
        }
Example #3
0
        public static MpManager GetInstance(string mpAccount, string mpPasswordMd5)
        {
            if (Instances.ContainsKey(mpAccount))
            {
                return(Instances[mpAccount]);
            }

            var instance = new MpManager(mpAccount, mpPasswordMd5);

            Instances.Add(mpAccount, instance);

            return(instance);
        }