예제 #1
0
        protected override object RunBlock()
        {
            object obj  = base.contextBlock.Run();
            IList  list = obj as IList;

            if (list != null)
            {
                if (base.owningBlock == null)
                {
                    BloxUtil.ListSort(list);
                    return(null);
                }
                return(BloxUtil.ListSortRes(list));
            }
            base.LogError("The context must be a List but was [" + ((obj != null) ? obj.GetType() : null) + "]", null);
            return(null);
        }