Пример #1
0
        protected override object RunBlock()
        {
            object obj  = base.contextBlock.Run();
            IList  list = obj as IList;

            if (list != null)
            {
                BloxBlock obj2  = base.paramBlocks[0];
                object    value = (obj2 != null) ? obj2.Run() : null;
                BloxUtil.ListRemove(list, value);
            }
            else
            {
                base.LogError("The context must be a List but was [" + ((obj != null) ? obj.GetType() : null) + "]", null);
            }
            return(null);
        }