/// <summary> /// Configures the controller from the data context. /// </summary> /// <param name="context">IU Instance Context</param> public void ConfigureByContext(IUInstanceContext context) { IUInstanceContext lContext = context as IUInstanceContext; // Default base.ConfigureByContext(context); }
/// <summary> /// Initializes a new instance of the 'IUInstanceController' class. /// </summary> /// <param name="name">Name of the Interaction Unit.</param> /// <param name="alias">Alias of the Interaction Unit.</param> /// <param name="idXML">IdXML of the Interaction Unit.</param> /// <param name="context">Context</param> /// <param name="parent">Parent controller</param> public IUInstanceController(string name, string alias, string idXML, IUInstanceContext context, IUController parent) : base() { Name = name; Alias = alias; IdXML = idXML; Context = context; Parent = parent; }
/// <summary> /// Initializes a new instance of the 'IUInstanceController' class. /// </summary> /// <param name="name">Name of the Interaction Unit.</param> /// <param name="alias">Alias of the Interaction Unit.</param> /// <param name="idXML">IdXML of the Interaction Unit.</param> /// <param name="context">Context</param> /// <param name="parent">Parent controller</param> public IUInstanceController(string name, string alias, string idXML, IUInstanceContext context, IUController parent) : base() { Name = name; Alias = alias; IdXML = idXML; Context = context; Parent = parent; }
/// <summary> /// Creates the specific IUInstanceController of the '_Auto_' IU pattern. /// </summary> /// <param name="exchangeInfo">IUInstanceContext reference.</param> /// <returns>Specific IUInstanceController of the '_Auto_' IU pattern.</returns> public static IUInstanceController Instance__Auto_(ExchangeInfo exchangeInfo) { IUInstanceContext lContext = new IUInstanceContext(exchangeInfo, "NaveNodriza", "_Auto_"); IUInstanceController lController = new IUInstanceController("_Auto_", "NaveNodriza", "Clas_1347649273856884UIInst_1_Alias", lContext, null); // Action _Auto_. lController.Action = NaveNodriza.Action__Auto_(lController); // DisplaySet '_Auto_'. DisplaySetController lDisplaySetController = NaveNodriza.DisplaySet__Auto_(lController); lController.DisplaySet = lDisplaySetController; // Oid selector. lController.OidSelector = new ArgumentOVController("oidSelector", "NaveNodriza", "Clas_1347649273856884_Alias", "NaveNodriza", false, false, false, typeof(InteractionToolkit.NaveNodriza.IUPopulations.PIU_NaveNodrizaIT).FullName, null, "", null); // Get User preferences. lController.SetPreferences(Logic.UserPreferences.GetScenarioPrefs("NaveNodriza:_Auto_") as InstancePrefs); return(lController); }
/// <summary> /// Creates the specific IUInstanceController of the 'IIU_PasajeroAeronave' IU pattern. /// </summary> /// <param name="exchangeInfo">IUInstanceContext reference.</param> /// <returns>Specific IUInstanceController of the 'IIU_PasajeroAeronave' IU pattern.</returns> public static IUInstanceController Instance_IIU_PasajeroAeronave(ExchangeInfo exchangeInfo) { IUInstanceContext lContext = new IUInstanceContext(exchangeInfo, "PasajeroAeronave", "IIU_PasajeroAeronave"); IUInstanceController lController = new IUInstanceController("IIU_PasajeroAeronave", "PasajeroAeronave", "Clas_1348178542592177UIInst_2_Alias", lContext, null); // Action _Auto_. lController.Action = PasajeroAeronave.Action__Auto_(lController); // Navigation _Auto_. lController.Navigation = PasajeroAeronave.Navigation__Auto_(lController); // DisplaySet 'DS_PasajeroAeronave'. DisplaySetController lDisplaySetController = PasajeroAeronave.DisplaySet_DS_PasajeroAeronave(lController); lController.DisplaySet = lDisplaySetController; // Oid selector. lController.OidSelector = new ArgumentOVController("oidSelector", "PasajeroAeronave", "Clas_1348178542592177_Alias", "PasajeroAeronave", false, false, false, typeof(InteractionToolkit.PasajeroAeronave.IUPopulations.PIU_PasajeroAeronaveIT).FullName, null, "", null); // Get User preferences. lController.SetPreferences(Logic.UserPreferences.GetScenarioPrefs("PasajeroAeronave:IIU_PasajeroAeronave") as InstancePrefs); return(lController); }
/// <summary> /// Creates the specific IUInstanceController of the '_Auto_' IU pattern. /// </summary> /// <param name="exchangeInfo">IUInstanceContext reference.</param> /// <returns>Specific IUInstanceController of the '_Auto_' IU pattern.</returns> public static IUInstanceController Instance__Auto_(ExchangeInfo exchangeInfo) { IUInstanceContext lContext = new IUInstanceContext(exchangeInfo, "Aeronave", "_Auto_"); IUInstanceController lController = new IUInstanceController("_Auto_", "Aeronave", "Clas_1348178411520734UIInst_1_Alias", lContext, null); // Action _Auto_. lController.Action = Aeronave.Action__Auto_(lController); // Navigation _Auto_. lController.Navigation = Aeronave.Navigation__Auto_(lController); // DisplaySet '_Auto_'. DisplaySetController lDisplaySetController = Aeronave.DisplaySet__Auto_(lController); lController.DisplaySet = lDisplaySetController; // Oid selector. lController.OidSelector = new ArgumentOVController("oidSelector", "Aeronave", "Clas_1348178411520734_Alias", "Aeronave", false, false, false, typeof(InteractionToolkit.Aeronave.IUPopulations.PIU_AeronaveIT).FullName, null, "", null); // Get User preferences. lController.SetPreferences(Logic.UserPreferences.GetScenarioPrefs("Aeronave:_Auto_") as InstancePrefs); return(lController); }
/// <summary> /// Creates the specific IUInstanceController of the 'IIU_Revision' IU pattern. /// </summary> /// <param name="exchangeInfo">IUInstanceContext reference.</param> /// <returns>Specific IUInstanceController of the 'IIU_Revision' IU pattern.</returns> public static IUInstanceController Instance_IIU_Revision(ExchangeInfo exchangeInfo) { IUInstanceContext lContext = new IUInstanceContext(exchangeInfo, "Revision", "IIU_Revision"); IUInstanceController lController = new IUInstanceController("IIU_Revision", "Revision", "Clas_1348178542592347UIInst_1_Alias", lContext, null); // Action _Auto_. lController.Action = Revision.Action__Auto_(lController); // Navigation _Auto_. lController.Navigation = Revision.Navigation__Auto_(lController); // DisplaySet '_Auto_'. DisplaySetController lDisplaySetController = Revision.DisplaySet__Auto_(lController); lController.DisplaySet = lDisplaySetController; // Oid selector. lController.OidSelector = new ArgumentOVController("oidSelector", "Revision", "Clas_1348178542592347_Alias", "Revision", false, false, false, typeof(InteractionToolkit.Revision.IUPopulations._Auto_IT).FullName, null, "", null); // Get User preferences. lController.SetPreferences(Logic.UserPreferences.GetScenarioPrefs("Revision:IIU_Revision") as InstancePrefs); return(lController); }
/// <summary> /// Configures the controller from the data context. /// </summary> /// <param name="context">IU Instance Context</param> public void ConfigureByContext(IUInstanceContext context) { IUInstanceContext lContext = context as IUInstanceContext; // Default base.ConfigureByContext(context); }