Esempio n. 1
0
 public string GetSystemDetails()
 {
     IBrand brand = computerFactory.Brand();
     IProcessor processor = computerFactory.Processor();
     ISystemType systemType = computerFactory.SystemType();
     string returnValue = string.Format("{0} {1} {2}", brand.GetBrand(), processor.GetProcessor(), systemType.GetSystemType());
     return returnValue;
 }
Esempio n. 2
0
        public string GetSystemDetails()
        {
            IBrand      brand       = _IComputerFactory.Brand();
            IProcessor  processor   = _IComputerFactory.Processor();
            ISystemType systemType  = _IComputerFactory.SystemType();
            string      returnValue = string.Format($"{brand.GetBrand()} - {processor.GetProcessor()} - {systemType.GetSystemType()}");

            return(returnValue);
        }
Esempio n. 3
0
        public string GetSystemDetails()
        {
            IBrand      brand       = _iComputerFactory.Brand();
            IProcessor  processor   = _iComputerFactory.Processor();
            ISystemType systemType  = _iComputerFactory.SystemType();
            string      returnValue = string.Format("Computer Configuration: {0},{1},{2}", brand, processor, systemType);

            return(returnValue);
        }
Esempio n. 4
0
        public string GetSystemDetails()
        {
            IBrand      iBrand      = _IComputerFactory.Brand();
            IProcessor  iProcessor  = _IComputerFactory.Procesor();
            ISystemType iSystemType = _IComputerFactory.SystemType();

            string returnValue = string.Format("{0} {1} {2}", iBrand.GetBrand(), iProcessor.GetProcessor(), iSystemType.GetSystemType());

            return(returnValue);
        }