/// <summary>
        /// Constructor
        /// </summary>
        /// <param name="service"></param>
        public FlexibleLayoutEditorContext(IFusionService service)
        {
            _service = service;

            _widgetSet = _service.GetApplicationWidgets();
            _templateSet = _service.GetApplicationTemplates();
            _containerSet = _service.GetApplicationContainers();
        }
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="service"></param>
        public FlexibleLayoutEditorContext(IFusionService service)
        {
            _service = service;

            _widgetSet    = _service.GetApplicationWidgets();
            _templateSet  = _service.GetApplicationTemplates();
            _containerSet = _service.GetApplicationContainers();
        }
        /// <summary>
        /// Gets a specific container info by type
        /// </summary>
        /// <param name="set"></param>
        /// <param name="name"></param>
        /// <returns></returns>
        public static IApplicationDefinitionContainerInfo FindContainer(this IApplicationDefinitionContainerInfoSet set, string name)
        {
            Check.NotNull(set, "set");    //NOXLATE
            Check.NotEmpty(name, "name"); //NOXLATE

            foreach (var cnt in set.ContainerInfo)
            {
                if (name.Equals(cnt.Type))
                {
                    return(cnt);
                }
            }
            return(null);
        }