Example #1
0
        public int CompareTo(BoxModelGuidePost other)
        {
            if (other == null)
            {
                return(-1);
            }

            return(this.Value.CompareTo(other.Value));
        }
Example #2
0
        public static IEnumerable <string> RenderBox(//Children<TAppendable, TFormattable>(
//            this ExpressiveTemplateBase<TAppendable, TFormattable> template,
            this IEnumerable <PositionedResult> results,
            BoxModelGuidePost guidePost)
//            where TAppendable : class, IAppendable<TAppendable>, new()
//            where TFormattable : IFormat<TAppendable>
        {
            return(results.Render(guidePost.Value));
//            return template.RenderChildren(results.Where(x => x.Container == guidePost.Value));
        }