コード例 #1
0
 public void ClientCodeCheck(GUIFactory creator)
 {
     // ...
     Console.WriteLine("Client: I'm not aware of the creator's class," +
                       "but it still works.\n" + creator.FactoryMethodCheck());
     // ...
 }