/// <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, "RevisionPasajero", "_Auto_"); IUInstanceController lController = new IUInstanceController("_Auto_", "RevisionPasajero", "Clas_1348178673664478UIInst_1_Alias", lContext, null); // Action _Auto_. lController.Action = RevisionPasajero.Action__Auto_(lController); // Navigation _Auto_. lController.Navigation = RevisionPasajero.Navigation__Auto_(lController); // DisplaySet '_Auto_'. DisplaySetController lDisplaySetController = RevisionPasajero.DisplaySet__Auto_(lController); lController.DisplaySet = lDisplaySetController; // Oid selector. lController.OidSelector = new ArgumentOVController("oidSelector", "RevisionPasajero", "Clas_1348178673664478_Alias", "RevisionPasajero", false, false, false, typeof(InteractionToolkit.RevisionPasajero.IUPopulations.PIU_RevisionPasajeroIT).FullName, null, "", null); // Get User preferences. lController.SetPreferences(Logic.UserPreferences.GetScenarioPrefs("RevisionPasajero:_Auto_") as InstancePrefs); return(lController); }
/// <summary> /// Creates the specific IUPopulationController of the 'PIU_RevisionPasajero' IU pattern. /// </summary> /// <param name="exchangeInfo">IUPopulationContext reference.</param> /// <returns>Specific IUPopulationController of the 'PIU_RevisionPasajero' IU pattern.</returns> public static IUPopulationController Population_PIU_RevisionPasajero(ExchangeInfo exchangeInfo) { IUPopulationContext lContext = new IUPopulationContext(exchangeInfo, "RevisionPasajero", "PIU_RevisionPasajero"); // Block size. lContext.BlockSize = 40; IUPopulationController lController = new IUPopulationController("PIU_RevisionPasajero", "RevisionPasajero", "Clas_1348178673664478UIPobCl_1_Alias", lContext, null); // Action _Auto_. lController.Action = RevisionPasajero.Action__Auto_(lController); // Navigation _Auto_. lController.Navigation = RevisionPasajero.Navigation__Auto_(lController); // DisplaySet '_Auto_'. DisplaySetByBlocksController lDisplaySetByBlocksController = new DisplaySetByBlocksController(RevisionPasajero.DisplaySet__Auto_(lController)); lDisplaySetByBlocksController.DisplaySetList.Add(RevisionPasajero.DisplaySet_DS_RevisionPasajero(lController).CurrentDisplaySet); lController.DisplaySet = lDisplaySetByBlocksController; // Get user preferences for this scenario. lController.SetPreferences(Logic.UserPreferences.GetScenarioPrefs("RevisionPasajero:PIU_RevisionPasajero") as PopulationPrefs); return(lController); }