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