From d66c568803aaa32ef289eed7c8dc792b6aaa76d7 Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Fri, 21 Oct 2016 08:10:33 +0200 Subject: [PATCH] refresh con paginatore + install IIS01/02 con web.config trasformato --- .vs/config/applicationhost.config | 2 +- SiteSelector/bin/SiteSelector.dll | Bin 8192 -> 8192 bytes StockManMVC/Web.Release.config | 5 + StockManMVC/Web.config | 6 +- StockManMVC/bin/PagedList.Mvc.xml | 370 +++++++++++++++++++++ StockManMVC/bin/PagedList.xml | 388 ++++++++++++++++++++++ StockManMVC/bin/StockManMVC.dll | Bin 137728 -> 137728 bytes StockManMVC/bin/StockManMVC.dll.config | 6 +- VersGen/VersGen.cs | 4 +- VersGen/VersGen.tt | 4 +- VersGen/bin/Release/VersGen.dll | Bin 4096 -> 4096 bytes VersGen/obj/Release/TempPE/VersGen.cs.dll | Bin 2048 -> 2048 bytes VersGen/obj/Release/VersGen.dll | Bin 4096 -> 4096 bytes 13 files changed, 772 insertions(+), 13 deletions(-) create mode 100644 StockManMVC/bin/PagedList.Mvc.xml create mode 100644 StockManMVC/bin/PagedList.xml diff --git a/.vs/config/applicationhost.config b/.vs/config/applicationhost.config index 47dcdbe..81f0fa8 100644 --- a/.vs/config/applicationhost.config +++ b/.vs/config/applicationhost.config @@ -162,7 +162,7 @@ - + diff --git a/SiteSelector/bin/SiteSelector.dll b/SiteSelector/bin/SiteSelector.dll index 568b4a364a72f0ad3cd657d207aad9605724cb06..f33c4faf1b0522f7e7205ab686b759eec594810c 100644 GIT binary patch delta 184 zcmZp0XmFU&!SrVR#x4UcM&r%9xwdi&d|S4{q|0rg&-(Y79FOm_?AY8OGL4bZaI(1A zRiMhr@5H1$^bTEVIPbpNbKOHv?$F?^(-;{T7@VzQLW@(2ierisb4ycmQuTsETpfMG z9fMrMJ^f-_@{>z*Q}arSW5P0vOA~W~OG;BR^Cx?WU)Zc5k;lYo%)khQ#!SYWr%Ocx jZQJ}=x*23?xvV{>A%h-+DT5h<@#Kl(PMaC!{xbpqRT4pd delta 181 zcmZp0XmFU&!L&`1&`$n(VyNZME~7gaujmA~rXOOk-p;m@F=K z6{vFZJ25FI#|NM4 + + + + + - - - diff --git a/StockManMVC/bin/PagedList.Mvc.xml b/StockManMVC/bin/PagedList.Mvc.xml new file mode 100644 index 0000000..e499165 --- /dev/null +++ b/StockManMVC/bin/PagedList.Mvc.xml @@ -0,0 +1,370 @@ + + + + PagedList.Mvc + + + + + Options for configuring the output of . + + + + + The default settings, with configurable querystring key (input field name). + + + + + The default settings. + + + + + The text to show in the form's input label. + + + "Go to page:" + + + + + The text to show in the form's submit button. + + + "Go" + + + + + The querystring key this form should submit the new page number as. + + + "page" + + + + + The HTML input type for this field. Defaults to the HTML5 "number" type, but can be changed to "text" if targetting previous versions of HTML. + + + "number" + + + + + Extension methods for generating paging controls that can operate on instances of IPagedList. + + + + + Displays a configurable paging control for instances of PagedList. + + This method is meant to hook off HtmlHelper as an extension method. + The PagedList to use as the data source. + A function that takes the page number of the desired page and returns a URL-string that will load that page. + Outputs the paging control HTML. + + + + Displays a configurable paging control for instances of PagedList. + + This method is meant to hook off HtmlHelper as an extension method. + The PagedList to use as the data source. + A function that takes the page number of the desired page and returns a URL-string that will load that page. + Formatting options. + Outputs the paging control HTML. + + + + Displays a configurable "Go To Page:" form for instances of PagedList. + + This method is meant to hook off HtmlHelper as an extension method. + The PagedList to use as the data source. + The URL this form should submit the GET request to. + Outputs the "Go To Page:" form HTML. + + + + Displays a configurable "Go To Page:" form for instances of PagedList. + + This method is meant to hook off HtmlHelper as an extension method. + The PagedList to use as the data source. + The URL this form should submit the GET request to. + The querystring key this form should submit the new page number as. + Outputs the "Go To Page:" form HTML. + + + + Displays a configurable "Go To Page:" form for instances of PagedList. + + This method is meant to hook off HtmlHelper as an extension method. + The PagedList to use as the data source. + The URL this form should submit the GET request to. + Formatting options. + Outputs the "Go To Page:" form HTML. + + + + A tri-state enum that controls the visibility of portions of the PagedList paging control. + + + + + Always render. + + + + + Never render. + + + + + Only render when there is data that makes sense to show (context sensitive). + + + + + Options for configuring the output of . + + + + + The default settings render all navigation links and no descriptive text. + + + + + Enables ASP.NET MVC's unobtrusive AJAX feature. An XHR request will retrieve HTML from the clicked page and replace the innerHtml of the provided element ID. + + The preferred Html.PagedList(...) style options. + The ajax options that will put into the link + The PagedListRenderOptions value passed in, with unobtrusive AJAX attributes added to the page links. + + + + Enables ASP.NET MVC's unobtrusive AJAX feature. An XHR request will retrieve HTML from the clicked page and replace the innerHtml of the provided element ID. + + The element ID ("my_id") of the element whose innerHtml should be replaced, if # is included at the start this will be removed. + A default instance of PagedListRenderOptions value passed in, with unobtrusive AJAX attributes added to the page links. + + + + Enables ASP.NET MVC's unobtrusive AJAX feature. An XHR request will retrieve HTML from the clicked page and replace the innerHtml of the provided element ID. + + Ajax options that will be used to generate the unobstrusive tags on the link + A default instance of PagedListRenderOptions value passed in, with unobtrusive AJAX attributes added to the page links. + + + + CSS Classes to append to the <div> element that wraps the paging control. + + + + + CSSClasses to append to the <ul> element in the paging control. + + + + + CSS Classes to append to every <li> element in the paging control. + + + + + Specifies a CSS class to append to the first list item in the pager. If null or whitespace is defined, no additional class is added to first list item in list. + + + + + Specifies a CSS class to append to the last list item in the pager. If null or whitespace is defined, no additional class is added to last list item in list. + + + + + If set to Always, always renders the paging control. If set to IfNeeded, render the paging control when there is more than one page. + + + + + If set to Always, render a hyperlink to the first page in the list. If set to IfNeeded, render the hyperlink only when the first page isn't visible in the paging control. + + + + + If set to Always, render a hyperlink to the last page in the list. If set to IfNeeded, render the hyperlink only when the last page isn't visible in the paging control. + + + + + If set to Always, render a hyperlink to the previous page of the list. If set to IfNeeded, render the hyperlink only when there is a previous page in the list. + + + + + If set to Always, render a hyperlink to the next page of the list. If set to IfNeeded, render the hyperlink only when there is a next page in the list. + + + + + When true, includes hyperlinks for each page in the list. + + + + + When true, shows the current page number and the total number of pages in the list. + + + "Page 3 of 8." + + + + + When true, shows the one-based index of the first and last items on the page, and the total number of items in the list. + + + "Showing items 75 through 100 of 183." + + + + + The maximum number of page numbers to display. Null displays all page numbers. + + + + + If true, adds an ellipsis where not all page numbers are being displayed. + + + "1 2 3 4 5 ...", + "... 6 7 8 9 10 ...", + "... 11 12 13 14 15" + + + + + The pre-formatted text to display when not all page numbers are displayed at once. + + + "..." + + + + + The pre-formatted text to display inside the hyperlink to the first page. The one-based index of the page (always 1 in this case) is passed into the formatting function - use {0} to reference it. + + + "<< First" + + + + + The pre-formatted text to display inside the hyperlink to the previous page. The one-based index of the page is passed into the formatting function - use {0} to reference it. + + + "< Previous" + + + + + The pre-formatted text to display inside the hyperlink to each individual page. The one-based index of the page is passed into the formatting function - use {0} to reference it. + + + "{0}" + + + + + The pre-formatted text to display inside the hyperlink to the next page. The one-based index of the page is passed into the formatting function - use {0} to reference it. + + + "Next >" + + + + + The pre-formatted text to display inside the hyperlink to the last page. The one-based index of the page is passed into the formatting function - use {0} to reference it. + + + "Last >>" + + + + + The pre-formatted text to display when DisplayPageCountAndCurrentLocation is true. Use {0} to reference the current page and {1} to reference the total number of pages. + + + "Page {0} of {1}." + + + + + The pre-formatted text to display when DisplayItemSliceAndTotal is true. Use {0} to reference the first item on the page, {1} for the last item on the page, and {2} for the total number of items across all pages. + + + "Showing items {0} through {1} of {2}." + + + + + A function that will render each page number when specified (and DisplayLinkToIndividualPages is true). If no function is specified, the LinkToIndividualPageFormat value will be used instead. + + + + + Text that will appear between each page number. If null or whitespace is specified, no delimiter will be shown. + + + + + An extension point which allows you to fully customize the anchor tags used for clickable pages, as well as navigation features such as Next, Last, etc. + + + + + Also includes links to First and Last pages. + + + + + Also includes links to First and Last pages. + + + + + Shows only the Previous and Next links. + + + + + Shows Previous and Next links along with current page number and page count. + + + + + Shows Previous and Next links along with index of first and last items on page and total number of items across all pages. + + + + + Shows only links to each individual page. + + + + + Shows Next and Previous while limiting to a max of 5 page numbers at a time. + + + + + Twitter Bootstrap 2's basic pager format (just Previous and Next links). + + + + + Twitter Bootstrap 2's basic pager format (just Previous and Next links), with aligned links. + + + + diff --git a/StockManMVC/bin/PagedList.xml b/StockManMVC/bin/PagedList.xml new file mode 100644 index 0000000..fe837b3 --- /dev/null +++ b/StockManMVC/bin/PagedList.xml @@ -0,0 +1,388 @@ + + + + PagedList + + + + + Represents a subset of a collection of objects that can be individually accessed by index and containing metadata about the superset collection of objects this subset was created from. + + + Represents a subset of a collection of objects that can be individually accessed by index and containing metadata about the superset collection of objects this subset was created from. + + The type of object the collection should contain. + + + + + + Non-enumerable version of the PagedList class. + + + + + Represents a subset of a collection of objects that can be individually accessed by index and containing metadata about the superset collection of objects this subset was created from. + + + Represents a subset of a collection of objects that can be individually accessed by index and containing metadata about the superset collection of objects this subset was created from. + + + + + Total number of subsets within the superset. + + + Total number of subsets within the superset. + + + + + Total number of objects contained within the superset. + + + Total number of objects contained within the superset. + + + + + One-based index of this subset within the superset. + + + One-based index of this subset within the superset. + + + + + Maximum size any individual subset. + + + Maximum size any individual subset. + + + + + Returns true if this is NOT the first subset within the superset. + + + Returns true if this is NOT the first subset within the superset. + + + + + Returns true if this is NOT the last subset within the superset. + + + Returns true if this is NOT the last subset within the superset. + + + + + Returns true if this is the first subset within the superset. + + + Returns true if this is the first subset within the superset. + + + + + Returns true if this is the last subset within the superset. + + + Returns true if this is the last subset within the superset. + + + + + One-based index of the first item in the paged subset. + + + One-based index of the first item in the paged subset. + + + + + One-based index of the last item in the paged subset. + + + One-based index of the last item in the paged subset. + + + + + Protected constructor that allows for instantiation without passing in a separate list. + + + + + Non-enumerable version of the PagedList class. + + A PagedList (likely enumerable) to copy metadata from. + + + + Total number of subsets within the superset. + + + Total number of subsets within the superset. + + + + + Total number of objects contained within the superset. + + + Total number of objects contained within the superset. + + + + + One-based index of this subset within the superset. + + + One-based index of this subset within the superset. + + + + + Maximum size any individual subset. + + + Maximum size any individual subset. + + + + + Returns true if this is NOT the first subset within the superset. + + + Returns true if this is NOT the first subset within the superset. + + + + + Returns true if this is NOT the last subset within the superset. + + + Returns true if this is NOT the last subset within the superset. + + + + + Returns true if this is the first subset within the superset. + + + Returns true if this is the first subset within the superset. + + + + + Returns true if this is the last subset within the superset. + + + Returns true if this is the last subset within the superset. + + + + + One-based index of the first item in the paged subset. + + + One-based index of the first item in the paged subset. + + + + + One-based index of the last item in the paged subset. + + + One-based index of the last item in the paged subset. + + + + + Represents a subset of a collection of objects that can be individually accessed by index and containing metadata about the superset collection of objects this subset was created from. + + + Represents a subset of a collection of objects that can be individually accessed by index and containing metadata about the superset collection of objects this subset was created from. + + The type of object the collection should contain. + + + + + Gets a non-enumerable copy of this paged list. + + A non-enumerable copy of this paged list. + + + + Gets the element at the specified index. + + The zero-based index of the element to get. + + + + Gets the number of elements contained on this page. + + + + + The subset of items contained only within this one page of the superset. + + + + + Parameterless constructor. + + + + + Initializes a new instance of a type deriving from and sets properties needed to calculate position and size data on the subset and superset. + + The one-based index of the subset of objects contained by this instance. + The maximum size of any individual subset. + The size of the superset. + + + + Returns an enumerator that iterates through the BasePagedList<T>. + + A BasePagedList<T>.Enumerator for the BasePagedList<T>. + + + + Returns an enumerator that iterates through the BasePagedList<T>. + + A BasePagedList<T>.Enumerator for the BasePagedList<T>. + + + + Gets a non-enumerable copy of this paged list. + + A non-enumerable copy of this paged list. + + + + Gets the element at the specified index. + + The zero-based index of the element to get. + + + + Gets the number of elements contained on this page. + + + + + Represents a subset of a collection of objects that can be individually accessed by index and containing metadata about the superset collection of objects this subset was created from. + + + Represents a subset of a collection of objects that can be individually accessed by index and containing metadata about the superset collection of objects this subset was created from. + + The type of object the collection should contain. + + + + + + + + Initializes a new instance of the class that divides the supplied superset into subsets the size of the supplied pageSize. The instance then only containes the objects contained in the subset specified by index. + + The collection of objects to be divided into subsets. If the collection implements , it will be treated as such. + The one-based index of the subset of objects to be contained by this instance. + The maximum size of any individual subset. + The specified index cannot be less than zero. + The specified page size cannot be less than one. + + + + Initializes a new instance of the class that divides the supplied superset into subsets the size of the supplied pageSize. The instance then only containes the objects contained in the subset specified by index. + + The collection of objects to be divided into subsets. If the collection implements , it will be treated as such. + The one-based index of the subset of objects to be contained by this instance. + The maximum size of any individual subset. + The specified index cannot be less than zero. + The specified page size cannot be less than one. + + + + Container for extension methods designed to simplify the creation of instances of . + + + + + Creates a subset of this collection of objects that can be individually accessed by index and containing metadata about the collection of objects the subset was created from. + + The type of object the collection should contain. + The collection of objects to be divided into subsets. If the collection implements , it will be treated as such. + The one-based index of the subset of objects to be contained by this instance. + The maximum size of any individual subset. + A subset of this collection of objects that can be individually accessed by index and containing metadata about the collection of objects the subset was created from. + + + + + Creates a subset of this collection of objects that can be individually accessed by index and containing metadata about the collection of objects the subset was created from. + + The type of object the collection should contain. + The collection of objects to be divided into subsets. If the collection implements , it will be treated as such. + The one-based index of the subset of objects to be contained by this instance. + The maximum size of any individual subset. + A subset of this collection of objects that can be individually accessed by index and containing metadata about the collection of objects the subset was created from. + + + + + Splits a collection of objects into n pages with an (for example, if I have a list of 45 shoes and say 'shoes.Split(5)' I will now have 4 pages of 10 shoes and 1 page of 5 shoes. + + The type of object the collection should contain. + The collection of objects to be divided into subsets. + The number of pages this collection should be split into. + A subset of this collection of objects, split into n pages. + + + + Splits a collection of objects into an unknown number of pages with n items per page (for example, if I have a list of 45 shoes and say 'shoes.Partition(10)' I will now have 4 pages of 10 shoes and 1 page of 5 shoes. + + The type of object the collection should contain. + The collection of objects to be divided into subsets. + The maximum number of items each page may contain. + A subset of this collection of objects, split into pages of maximum size n. + + + + Represents a subset of a collection of objects that can be individually accessed by index and containing metadata about the superset collection of objects this subset was created from. + + + Represents a subset of a collection of objects that can be individually accessed by index and containing metadata about the superset collection of objects this subset was created from. + + The type of object the collection should contain. + + + + + + + + Initializes a new instance of the class that contains the already divided subset and information about the size of the superset and the subset's position within it. + + The single subset this collection should represent. + Supply the ".MetaData" property of an existing IPagedList instance to recreate it here (such as when creating a new instance of a PagedList after having used Automapper to convert its contents to a DTO.) + The specified index cannot be less than zero. + The specified page size cannot be less than one. + + + + Initializes a new instance of the class that contains the already divided subset and information about the size of the superset and the subset's position within it. + + The single subset this collection should represent. + The one-based index of the subset of objects contained by this instance. + The maximum size of any individual subset. + The size of the superset. + The specified index cannot be less than zero. + The specified page size cannot be less than one. + + + diff --git a/StockManMVC/bin/StockManMVC.dll b/StockManMVC/bin/StockManMVC.dll index c294a34704afc46a4ecc68143cf4754cf3ec9988..330dca60851b1f60b7e2f56a28f41937add96dd6 100644 GIT binary patch delta 197 zcmZqJ!qKpWV?qa$@P>_D7M~c6Hy{3#>M!83E>Zhg!%Fup>5cdHD1_hKZsEjuNQBXF z`|mKuvpa!`r=JpFlJfXDQ+J2c7E|8|^JmuUrd^R@WME)$wu%WYPAw{qDNf8SP0dNw z3l4F0^bL0mat-(Ni*d+4`YJ9xC12ZsEjuNQBW~ z`|mKuvpa!`r=JpFl5*16rIzwLMb%|-d8$E3en1K%0|SGzRZM7cYEf}aabj+1YEEj5 zOMY@`ZfaghaZFfdacN?XLU2iGN@l)-k%6IU%yb<=rVA4d*tY)>WSYdpX~e(?gvLxp t+oy{#g);&zd@ssW4y322i!<4C8ZhWFm@=3#7*8)0WD45OD8clf5deQ*L3;oI diff --git a/StockManMVC/bin/StockManMVC.dll.config b/StockManMVC/bin/StockManMVC.dll.config index 14ef980..f5cfd0e 100644 --- a/StockManMVC/bin/StockManMVC.dll.config +++ b/StockManMVC/bin/StockManMVC.dll.config @@ -93,11 +93,9 @@ - + + - - - diff --git a/VersGen/VersGen.cs b/VersGen/VersGen.cs index 3956979..7d3018a 100644 --- a/VersGen/VersGen.cs +++ b/VersGen/VersGen.cs @@ -5,7 +5,7 @@ using System.Reflection; -[assembly: AssemblyVersion("1.1.50.563")] -[assembly: AssemblyFileVersion("1.1.50.563")] +[assembly: AssemblyVersion("1.1.51.563")] +[assembly: AssemblyFileVersion("1.1.51.563")] [assembly: AssemblyCopyright("Steamware © 2006-2016")] [assembly: AssemblyCompany("Steamware")] diff --git a/VersGen/VersGen.tt b/VersGen/VersGen.tt index 068c5b9..e5ef71a 100644 --- a/VersGen/VersGen.tt +++ b/VersGen/VersGen.tt @@ -6,8 +6,8 @@ using System.Reflection; -[assembly: AssemblyVersion("1.1.50.<#= this.RevisionNumber #>")] -[assembly: AssemblyFileVersion("1.1.50.<#= this.RevisionNumber #>")] +[assembly: AssemblyVersion("1.1.51.<#= this.RevisionNumber #>")] +[assembly: AssemblyFileVersion("1.1.51.<#= this.RevisionNumber #>")] [assembly: AssemblyCopyright("Steamware © 2006-<#= DateTime.Now.Year #>")] [assembly: AssemblyCompany("Steamware")] <#+ diff --git a/VersGen/bin/Release/VersGen.dll b/VersGen/bin/Release/VersGen.dll index e609654e1d73de77f74d1d7032978dae2dcfe894..e2c2e67c815a1aeea23be9a0b506f84125f5811b 100644 GIT binary patch delta 183 zcmZorXi%8Y!SrJN#;y)#M&r%GES^jPHg+>uFZ;}O?CRK5V{~Z0%H$ljS&W90+1Xox z3McomOL?q+?|k{@osWJq?tXl*vaNR!BLf42vsFxJacWULX-a1P)oG(NX7{2|jCMO1 diff --git a/VersGen/obj/Release/TempPE/VersGen.cs.dll b/VersGen/obj/Release/TempPE/VersGen.cs.dll index 8c97befb1c1146d82fbaaba5db074e18fa62f703..b36b992d78d7055c7ebff19917f976e884d684e3 100644 GIT binary patch delta 49 zcmV-10M7q_5P%Snhy&xV39*a!0s%9#g9BXw5c0|<5+uOMNTKlw-)Pn8@lq3` delta 49 zcmV-10M7q_5P%Snhy$(k2(gRz0s%6!g9BXw5UKm+hibljK)P9in83riHJ diff --git a/VersGen/obj/Release/VersGen.dll b/VersGen/obj/Release/VersGen.dll index e609654e1d73de77f74d1d7032978dae2dcfe894..e2c2e67c815a1aeea23be9a0b506f84125f5811b 100644 GIT binary patch delta 183 zcmZorXi%8Y!SrJN#;y)#M&r%GES^jPHg+>uFZ;}O?CRK5V{~Z0%H$ljS&W90+1Xox z3McomOL?q+?|k{@osWJq?tXl*vaNR!BLf42vsFxJacWULX-a1P)oG(NX7{2|jCMO1