예제 #1
0
        private static string GetCheckResultGroupName(CheckResultGroup group)
        {
            var chineseName = group.ActionType.ToChineseName();
            var count       = group.CheckResults.Count();
            var result      = chineseName + "(" + count + ")";

            return(result);
        }
예제 #2
0
        public CheckResultGroupViewModel(BrowserNodeViewModel parent, CheckResultGroup group)
            : base(parent, group, GetCheckResultGroupName(group))
        {
            if (group == null)
            {
                throw new ArgumentNullException("group");
            }

            InitializeChildren();
        }