Exemplo n.º 1
0
        public static MachineFamily GetMachineFamily(this ExtendedMachine extendedMachine)
        {
            if (extendedMachine.IsArmFamily())
            {
                return(MachineFamily.Arm);
            }

            if (extendedMachine.IsX86Family())
            {
                return(MachineFamily.X86);
            }

            return(MachineFamily.Unknown);
        }
 public static MachineFamily GetMachineFamily(this ExtendedMachine extendedMachine)
 {
     return(extendedMachine.IsArmFamily() ? MachineFamily.Arm :
            extendedMachine.IsX86Family() ? MachineFamily.X86 :
            MachineFamily.Unknown);
 }