private static IEnumerable <Func <object> > GetWalletSpecificFunctions(HwiClient client, DeviceType deviceType, string devicePath, string password) { var funcs = new List <Func <object> > { () => client.GetMasterXpub(devicePath, deviceType, password), () => client.GetXpub(devicePath, deviceType, password), () => client.SignTx(devicePath, deviceType, password), () => client.SignMessage(devicePath, deviceType, password), () => client.GetKeypool(devicePath, deviceType, password), () => client.DisplayAddress(devicePath, deviceType, password), () => client.Setup(devicePath, deviceType, password), () => client.Wipe(devicePath, deviceType, password), () => client.Restore(devicePath, deviceType, password), () => client.Backup(devicePath, deviceType, password), () => client.PromptPin(devicePath, deviceType, password), () => client.SendPin(devicePath, deviceType, password) }; return(funcs); }