Exemplo n.º 1
0
 public void OnGet()
 {
     DeviceInfoCache.Available = _device.GetAvailable();
 }
        private Task <MethodResponse> GetAvailable(MethodRequest methodRequest, object userContext)
        {
            var result = _device.GetAvailable();

            return(methodRequest.GetMethodResponseSerialize(true, result));
        }