private AndoridDeviceManger() { Config config = Config.GetShareInstance(); driverHelper = AndoridDriverHelper.GetShareInstance(config.GetValue("InstExePath"), config.GetValue("DriverPath")); adbHelper = ADBHelper.GetShareInstance(config.GetValue("ADBExePath")); }
public static ADBHelper GetShareInstance(string exePath) { lock (lockHelper) { if (instance == null) { instance = new ADBHelper(exePath); } return(instance); } }