Zetbox.Client.Presentables.CustomPropertyGroupViewModel.CustomPropertyGroupViewModel C# (CSharp) Method

CustomPropertyGroupViewModel() public method

public CustomPropertyGroupViewModel ( IViewModelDependencies appCtx, IZetboxContext dataCtx, Zetbox.Client.Presentables.ViewModel parent, string tagName, string title, IEnumerable lst ) : System
appCtx IViewModelDependencies
dataCtx IZetboxContext
parent Zetbox.Client.Presentables.ViewModel
tagName string
title string
lst IEnumerable
return System
        public CustomPropertyGroupViewModel(
            IViewModelDependencies appCtx, IZetboxContext dataCtx, ViewModel parent,
            string tagName, 
            string title,
            IEnumerable<ViewModel> lst)
            : base(appCtx, dataCtx, parent, tagName, title, lst)
        {
            // die fast
            if (lst.Count() != 1) throw new ArgumentException("lst may only contain exact one element", "lst");
        }
CustomPropertyGroupViewModel