예제 #1
0
 public static PCComponent CreateComponent(int componentNameValue, ComponentType type)
 {
     return(new PCComponent(NamesGenerator.ComponentName(componentNameValue), type));
 }
예제 #2
0
 public static ComponentInterface CreateInterface(int componentNameValue)
 {
     return(new ComponentInterface(NamesGenerator.ComponentName(componentNameValue)));
 }