public void Initialize(Context context) { Context = context; //инициализация объектов по List<UIMapper> Map List <UIMapper> map = Map; mapping = new Dictionary <string, IUIController>(); foreach (UIMapper item in map) { IUIController controller = (IUIController)Activator.CreateInstance(item.ControllerType); controller.Initialize(context, item.ControllerId, item.WaitPostback, item.Parameters); mapping.Add(item.Field, controller); } }