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