示例#1
0
 public string DoSomething(ComponentKeyType keyType)
 {
     return(_factory.CreateComponent(keyType).DoSomething());
 }
 public string DoSomething(string key)
 {
     return(_factory.CreateComponent(key).DoSomething());
 }