Beispiel #1
0
        public static IDocumentLinksBuilder <TParentBuilder> AddUpLink <TParentBuilder>(this IDocumentLinksBuilder <TParentBuilder> documentLinksBuilder, IEnumerable <Link> linkCollection)
        {
            Contract.Requires(documentLinksBuilder != null);
            Contract.Requires(linkCollection != null);

            return(documentLinksBuilder.AddLink(Keywords.Up, linkCollection));
        }
Beispiel #2
0
        public static IDocumentLinksBuilder <TParentBuilder> AddUpLink <TParentBuilder>(this IDocumentLinksBuilder <TParentBuilder> documentLinksBuilder)
            where TParentBuilder : class
        {
            Contract.Requires(documentLinksBuilder != null);

            return(documentLinksBuilder.AddLink(Keywords.Up));
        }
Beispiel #3
0
        // PUBLIC METHODS ///////////////////////////////////////////////////
        #region Extension Methods
        public static IDocumentLinksBuilder <TParentBuilder> AddUpLink <TParentBuilder>(this IDocumentLinksBuilder <TParentBuilder> documentLinksBuilder, Link link)
        {
            Contract.Requires(documentLinksBuilder != null);
            Contract.Requires(link != null);

            return(documentLinksBuilder.AddLink(Keywords.Up, link));
        }