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; }
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); }
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); }