Austin.Linode.LinodeClient.Avail_Kernels C# (CSharp) Метод

Avail_Kernels() публичный Метод

List available kernels.
public Avail_Kernels ( bool isKVM = null, bool isXen = null ) : void
isKVM bool Show or hide KVM compatible kernels
isXen bool Show or hide Xen compatible kernels
Результат void
        public void Avail_Kernels(
                bool? isKVM = null,
                bool? isXen = null)
        {
            var myParams = new Dictionary<string, string>();
            if (isKVM != null)
                myParams.Add("isKVM", isKVM.Value ? "true" : "false");
            if (isXen != null)
                myParams.Add("isXen", isXen.Value ? "true" : "false");
            GetResponse<object>("avail.kernels", myParams);
        }