示例#1
0
        public virtual IHTMLOrderedList VisualizedWorkItems(FileInfo[] a)
        {
            var o = new IHTMLOrderedList();

            foreach (var f in a)
            {
                var WorkItem = new IHTMLAnchor
                {
                    URL       = f.FullName.ToRelativePath(),
                    innerHTML = f.Name
                }.ToString();

                o.innerHTML += (IHTMLListItem)WorkItem;
            }

            return(o);
        }
        public override IHTMLOrderedList VisualizedWorkItems(FileInfo[] a)
        {
            var o = new IHTMLOrderedList();

            foreach (var f in a)
            {
                var k = new BasicPirateBaySearch.SearchEntry().FromFile(f);

                var WorkItem = new IHTMLAnchor
                {
                    URL = f.FullName.ToRelativePath(),
                    innerHTML = k.Name
                }.ToString() + " - <b>" + k.SmartName.ToString() + "</b>";

                o.innerHTML += (IHTMLListItem)WorkItem;
            }

            return o;
        }
示例#3
0
        public virtual IHTMLOrderedList VisualizedWorkItems(FileInfo[] a)
        {
            var o = new IHTMLOrderedList();

            foreach (var f in a)
            {
                var WorkItem = new IHTMLAnchor
                {
                    URL = f.FullName.ToRelativePath(),
                    innerHTML = f.Name
                }.ToString();

                o.innerHTML += (IHTMLListItem)WorkItem;
            }

            return o;
        }