Beispiel #1
0
    public void GetInformation(IComputer factory)
    {
        IMainboard mainboard = factory.CreateMainboard();
        IProcessor processor = factory.CraeteProcessror();

        Console.WriteLine($"Processor type {mainboard.GetProcessorType(processor)}");
    }