Beispiel #1
0
 public static TypeDef Copy(this TypeDef a_def, MacroControllerTypes a_newControllerTypes)
 {
     return(new TypeDef(a_def.Instance, a_def.PossibleMacroControllersTypes, a_def.HasSubtype)
     {
         CurrentControllerType = a_newControllerTypes
     });
 }
Beispiel #2
0
 private string CheckType(MacroControllerTypes a_macroControllerTypes)
 {
     return((PossibleMacroControllersTypes & a_macroControllerTypes) == a_macroControllerTypes?a_macroControllerTypes.ToString() : null);
 }
Beispiel #3
0
 public TypeDef(string a_instanceName, MacroControllerTypes a_possiblePossibleMacroControllersTypes, bool a_hasSubtype = true)
 {
     Instance = a_instanceName;
     PossibleMacroControllersTypes = a_possiblePossibleMacroControllersTypes;
     HasSubtype = a_hasSubtype;
 }