public Computer() { this.Description = new DeviceDesc() { PS = new PowerSupply_Germany550(), Drives = new I_SSD_HDD[] { new WD_Blue() }, Motherboard = new Lenovo_Unknown(null, null), }; this.Description.TotalPrice = totalPrice(); }
public AssistantClient(OAuthCredentials oAuthCredentials, AuthenticationConf authenticationConf, AssistantConf assistantConf, DeviceModel deviceModel, DeviceDesc device) { this.authenticationConf = authenticationConf; this.assistantConf = assistantConf; this.deviceModel = deviceModel; this.device = device; googleAuthFlow = new GoogleAuthorizationCodeFlow(new GoogleAuthorizationCodeFlow.Initializer() { ClientSecrets = new ClientSecrets() { ClientId = authenticationConf.clientId, ClientSecret = authenticationConf.clientSecret, } }); UpdateCredentials(oAuthCredentials); }
public Computer(DeviceDesc Desc) { this.Description = Desc; this.Description.TotalPrice = totalPrice(); }
public static extern ReturnValue Enumerate(int connection, int index, ref DeviceDesc description);
public static extern ReturnValue Enumerate(int connection, int index, ref DeviceDesc description);