Esempio n. 1
0
 public static Interface BuildFromInterfaceConf(InterfaceConfiguration interfaceConf)
 {
     validate(interfaceConf.RuntimeInfo.InterfaceType);
     Interface intr = new Interface();
     intr.Name = interfaceConf.Name;
     intr.Description = interfaceConf.Description;
     createMethods(intr, interfaceConf.RuntimeInfo.InterfaceType);
     return intr;
 }
Esempio n. 2
0
 public void AddInterfaceConfig(string name, string description, Type interfaceType, Type classType)
 {
     InterfaceConfiguration iconf = new InterfaceConfiguration(name, description, new RuntimeInfo(interfaceType, classType));
     InterfaceConfigs.Add(iconf);
 }