diff --git a/lib/aspnetmvc/System.Web.Helpers.dll b/lib/aspnetmvc/System.Web.Helpers.dll index 582d8f488..4cf52c9c1 100644 Binary files a/lib/aspnetmvc/System.Web.Helpers.dll and b/lib/aspnetmvc/System.Web.Helpers.dll differ diff --git a/lib/aspnetmvc/System.Web.Helpers.xml b/lib/aspnetmvc/System.Web.Helpers.xml index 0ca709f16..04f6a69ea 100644 --- a/lib/aspnetmvc/System.Web.Helpers.xml +++ b/lib/aspnetmvc/System.Web.Helpers.xml @@ -1,587 +1,839 @@ - + - - System.Web.Helpers - - - - Chart width in pixels. - Chart height in pixels. - String containing chart theme definition. Chart's theme defines properties like colors, positions, etc. - This parameter is primarily meant for one of the predefined Chart themes, however any valid chart theme is acceptable. - Path to a file containing definition of chart theme, default is none. - Both the theme and themePath parameters can be specified. In this case, the Chart class applies the theme xml first - followed by the content of file at themePath. - - - Chart(100, 100, theme: ChartTheme.Blue) - Chart(100, 100, theme: ChartTheme.Vanilla, themePath: "my-theme.xml") - Chart(100, 100, theme: ".... definition inline ...." ) - Chart(100, 100, themePath: "my-theme.xml") - Any valid theme definition can be used as content of the file specified in themePath - - - - Legend title. - Legend name. - - - Series name. - Chart type (see: SeriesChartType). - Chart area where the series is displayed. - Axis label for the series. - Legend for the series. - Axis marker step. - X data source, if data-binding the series. - Column for the X data points, if data-binding the series. - Y data source(s), if data-binding the series. - Column(s) for the Y data points, if data-binding the series. - - - Title text. - Title name. - - - Title for X-axis - The minimum value on X-axis. Default 0 - The maximum value on X-axis. Default NaN - - - Title for Y-axis - The minimum value on Y-axis. Default 0 - The maximum value on Y-axis. Default NaN - - - - Data-binds the chart by grouping values in a series. The series will be created by the chart. - - Chart data source. - Column which series should be grouped by. - Column for the X data points. - Column(s) for the Y data points, separated by comma. - - Sort order (see: PointSortOrder). - - - - Data-binds the chart using a data source, with multiple y values supported. The series will be created by the chart. - - Chart data source. - Column for the X data points. - - - - Get the bytes for the chart image. - - Image format (see: ChartImageFormat). - - - - Loads a chart from the cache. This can be used to render from an image handler. - - Cache key. - - - - Saves the chart image to a file. - - File path. - Chart image format (see: ChartImageFormat). - - - - Saves the chart in cache. This can be used to render from an image handler. - - Cache key. Uses new GUID by default. - Number of minutes to save in cache. - Whether a sliding expiration policy is used. - Cache key. - - - - Saves the chart to the specified template file. - - XML template file path. - - - - Saves the chart to the specified template file. - - The . - XML template file path. - - - - Writes the chart image to the response stream. This can be used to render from an image handler. - - Image format (see: ChartImageFormat). - - - - Writes a chart stored in cache to the response stream. This can be used to render from an image handler. - - Cache key. - Image format (see: ChartImageFormat). - - - - Method to convert a string to a ChartImageFormat. - The chart image needs to be normalized to allow for alternate names such as 'jpg', 'xpng' etc - to be mapped to their appropriate ChartImageFormat. - - - - - Resolves and maps a path (physical or virtual) to a physical path on the server. - - The . - Either a physical rooted path or a virtual path to be mapped. - Physical paths are returned without modifications. Virtual paths are resolved relative to the current executing page. - - Result of this call should not be shown to the user (e.g. in an exception message) since - it could be security sensitive. But we need to pass this result to the file APIs like File.WriteAllBytes - which will show it if exceptions are raised from them. Unfortunately VirtualPathProvider doesn't have - APIs for writing so we can't use that. - - - - Resolves path relative to the current executing page - - - - - Helper to evaluate different method on dynamic objects - - - - - Converter that knows how to get the member values from a dynamic object. - - - - - Provides various info about ASP.NET server. - - - - - todo: figure out right place for this - - - - - Generates HTML required to display server information. - - - HTML generated is XHTML 1.0 compliant but not XHTML 1.1 or HTML5 compliant. The reason is that we - generate <style> tag inside <body> tag, which is not allowed. This is by design for now since ServerInfo - is debugging aid and should not be used as a permanent part of any web page. - - - - - Renders a table section printing out rows and columns. - - - - - Inserts spaces after ',' and ';' so table can be rendered properly. - - - - - A strongly-typed resource class, for looking up localized strings, etc. - - - - - Returns the cached ResourceManager instance used by this class. - - - - - Overrides the current thread's CurrentUICulture property for all - resource lookups using this strongly typed resource class. - - - - - Looks up a localized string similar to Argument conversion to type "{0}" failed.. - - - - - Looks up a localized string similar to A series cannot be data-bound to a string object.. - - - - - Looks up a localized string similar to The theme file "{0}" could not be found.. - - - - - Looks up a localized string similar to The hash algorithm '{0}' is not supported, valid values are: sha256, sha1, md5. - - - - - Looks up a localized string similar to "{0}" is invalid image format. Valid values are image format names like: "JPEG", "BMP", "GIF", "PNG", etc.. - - - - - Looks up a localized string similar to Unable to convert to "{0}". Use Json.Decode<T> instead.. - - - - - Looks up a localized string similar to Previously Displayed. - - - - - Looks up a localized string similar to Accessing a property threw an exception: . - - - - - Looks up a localized string similar to File path "{0}" is invalid.. - - - - - Looks up a localized string similar to Additional server information is available when the page is running with high trust.. - - - - - Looks up a localized string similar to Environment Variables. - - - - - Looks up a localized string similar to ASP.NET Server Information. - - - - - Looks up a localized string similar to HTTP Runtime Information. - - - - - Looks up a localized string similar to Legacy Code Access Security. - - - - - Looks up a localized string similar to Legacy Code Access Security has been detected on your system. Microsoft WebPage features require the ASP.NET 4 Code Access Security model. For information about how to resolve this, contact your server administrator.. - - - - - Looks up a localized string similar to no value. - - - - - Looks up a localized string similar to Server Configuration. - - - - - Looks up a localized string similar to ASP.NET Server Variables. - - - - - Looks up a localized string similar to The column name cannot be null or an empty string unless a custom format is specified.. - - - - - Looks up a localized string similar to Column "{0}" does not exist.. - - - - - Looks up a localized string similar to The WebGrid instance is already bound to a data source.. - - - - - Looks up a localized string similar to A data source must be bound before this operation can be performed.. - - - - - Looks up a localized string similar to This operation is not supported when paging is disabled for the "WebGrid" object.. - - - - - Looks up a localized string similar to This operation is not supported when sorting is disabled for the "WebGrid" object.. - - - - - Looks up a localized string similar to To use this argument, pager mode "{0}" must be enabled.. - - - - - Looks up a localized string similar to This property cannot be set after the "WebGrid" object has been sorted or paged. Make sure that this property is set prior to invoking the "Rows" property directly or indirectly through other methods such as "GetHtml", "Pager", "Table", etc.. - - - - - Looks up a localized string similar to A value for "rowCount" must be specified when "autoSortAndPage" is set to true and paging is enabled.. - - - - - Looks up a localized string similar to Select. - - - - - Looks up a localized string similar to The "fontColor" value is invalid. Valid values are names like "White", "Black", or "DarkBlue", or hexadecimal values in the form "#RRGGBB" or "#RGB".. - - - - - Looks up a localized string similar to The "fontFamily" value is invalid. Valid values are font family names like: "Arial", "Times New Roman", etc. Make sure that the font family you are trying to use is installed on the server.. - - - - - Looks up a localized string similar to The "fontStyle" value is invalid. Valid values are: "Regular", "Bold", "Italic", "Underline", and "Strikeout".. - - - - - Looks up a localized string similar to The "horizontalAlign" value is invalid. Valid values are: "Right", "Left", and "Center".. - - - - - Looks up a localized string similar to The "verticalAlign" value is invalid. Valid values are: "Top", "Bottom", and "Middle".. - - - - - Looks up a localized string similar to Watermark width and height must both be positive or both be zero.. - - - - - Looks up a localized string similar to An image could not be constructed from the content provided.. - - - - - Looks up a localized string similar to The "priority" value is invalid. Valid values are "Low", "Normal" and "High".. - - - - - Looks up a localized string similar to A string in the collection is null or empty.. - - - - - Looks up a localized string similar to "SmtpServer" was not specified.. - - - - - Looks up a localized string similar to No "From" email address was specified and a default value could not be assigned.. - - - - - Source wrapper for data provided by the user that is already sorted and paged. The user provides the WebGrid the rows to bind and additionally the total number of rows that - are available. - - - - - Default data source that sorts results if a sort column is specified. - - - - Data source - Data source column names. Auto-populated by default. - Default sort column. - Number of rows per page. - - - ID for the grid's container element. This enables AJAX support. - Callback function for the AJAX functionality once the update is complete - Prefix for query string fields to support multiple grids. - Query string field name for page number. - Query string field name for selected row number. - Query string field name for sort column. - Query string field name for sort direction. - - - - Gets the HTML for a table with a pager. - - Table class for styling. - Header row class for styling. - Footer row class for styling. - Row class for styling (odd rows only). - Row class for styling (even rows only). - Selected row class for styling. - Whether the header row should be displayed. - The string displayed as the table caption - Whether the table can add empty rows to ensure the rowsPerPage row count. - Value used to populate empty rows. This property is only used when is set - Column model for customizing column rendering. - Columns to exclude when auto-populating columns. - Modes for pager rendering. - Text for link to first page. - Text for link to previous page. - Text for link to next page. - Text for link to last page. - Number of numeric links that should display. - An object that contains the HTML attributes to set for the element. - - - - Gets the HTML for a pager. - - Modes for pager rendering. - Text for link to first page. - Text for link to previous page. - Text for link to next page. - Text for link to last page. - Number of numeric links that should display. - - - Modes for pager rendering. - Text for link to first page. - Text for link to previous page. - Text for link to next page. - Text for link to last page. - Number of numeric links that should display. - The Pager can be explicitly called by the public API or is called by the WebGrid when no footer is provided. - In the explicit scenario, we would need to render a container for the pager to allow identifying the pager links. - In the implicit scenario, the grid table would be the container. - - - - - Gets the HTML for a table with a pager. - - Table class for styling. - Header row class for styling. - Footer row class for styling. - Row class for styling (odd rows only). - Row class for styling (even rows only). - Selected row class for styling. - The table caption - Whether the header row should be displayed. - Whether the table can add empty rows to ensure the rowsPerPage row count. - Value used to populate empty rows. This property is only used when is set - Column model for customizing column rendering. - Columns to exclude when auto-populating columns. - Table footer template. - An object that contains the HTML attributes to set for the element. - - - - Adds a specific sort function for a given column. - - The type of elements in the grid's source. - The column type, usually inferred from the keySelector function's return type. - The column name (as used for sorting) - The function used to select a key to sort by, for each element in the grid's source. - The current grid, with the new custom sorter applied. - - - var grid = new WebGrid(items) - .AddSorter("Manager.Name", (Employee x) => (x == null || x.Manager == null) ? null : x.Manager.Name); - - - - - The set of columns that are rendered to the client. - - - - Adds text watermark to a WebImage. - - Text to use as a watermark. - Watermark color. Can be specified as a string (e.g. "White") or as a hex value (e.g. "#00FF00"). - Font size in points. - Font style: bold, italics, etc. - Font family name: e.g. Microsoft Sans Serif - Horizontal alignment for watermark text. Can be "right", "left", or "center". - Vertical alignment for watermark text. Can be "top", "bottom", or "middle". - Watermark text opacity. Should be between 0 and 100. - Size of padding around watermark text in pixels. - Modified WebImage instance with added watermark. - - - - Adds image watermark to an image. - - Image to use as a watermark. - Width of watermark. - Height of watermark. - Horizontal alignment for watermark image. Can be "right", "left", or "center". - Vertical alignment for watermark image. Can be "top", "bottom", or "middle". - Watermark text opacity. Should be between 0 and 100. - Size of padding around watermark image in pixels. - Modified WebImage instance with added watermark. - - - - Adds image watermark to an image. - - File to read watermark image from. - Width of watermark. - Height of watermark. - Horizontal alignment for watermark image. Can be "right", "left", or "center". - Vertical alignment for watermark image. Can be "top", "bottom", or "middle". - Watermark text opacity. Should be between 0 and 100. - Size of padding around watermark image in pixels. - WebImage instance with added watermark. - - - If no filePath is specified, the method falls back to the file name if the image was constructed from a file or - the file name on the client (the browser machine) if the image was built off GetImageFromRequest - - The format the image is saved in - Appends a well known extension to the filePath based on the imageFormat specified. - If the filePath uses a valid extension, no change is made. - e.g. format: "jpg", filePath: "foo.txt". Image saved at = "foo.txt.jpeg" - format: "png", filePath: "foo.png". Image saved at = "foo.txt.png" - - - - - Constructs a System.Drawing.Image instance from the content which validates the contents of the image. - - When an Image construction fails. - - - Caller has to dispose of returned Bitmap object. - - - - MailMessage dictates that headers values that have equivalent properties would be discarded or overwritten. The list of values is available at - http://msdn.microsoft.com/en-us/library/system.net.mail.mailmessage.aspx - - - - - Parses a SMTP Mail header of the format "name: value" - - True if the header was parsed. - - - + + System.Web.Helpers + + + + Displays data in the form of a graphical chart. + + + Initializes a new instance of the class. + The width, in pixels, of the complete chart image. + The height, in pixels, of the complete chart image. + (Optional) The template (theme) to apply to the chart. + (Optional) The template (theme) path and file name to apply to the chart. + + + Adds a legend to the chart. + The chart. + The text of the legend title. + The unique name of the legend. + + + Provides data points and series attributes for the chart. + The chart. + The unique name of the series. + The chart type of a series. + The name of the chart area that is used to plot the data series. + The axis label text for the series. + The name of the series that is associated with the legend. + The granularity of data point markers. + The values to plot along the x-axis. + The name of the field for x-values. + The values to plot along the y-axis. + A comma-separated list of name or names of the field or fields for y-values. + + + Adds a title to the chart. + The chart. + The title text. + The unique name of the title. + + + Binds a chart to a data table, where one series is created for each unique value in a column. + The chart. + The chart data source. + The name of the column that is used to group data into the series. + The name of the column for x-values. + A comma-separated list of names of the columns for y-values. + Other data point properties that can be bound. + The order in which the series will be sorted. The default is "Ascending". + + + Creates and binds series data to the specified data table, and optionally populates multiple x-values. + The chart. + The chart data source. This can be can be any object. + The name of the table column used for the series x-values. + + + Gets or sets the name of the file that contains the chart image. + The name of the file. + + + Returns a chart image as a byte array. + The chart. + The image format. The default is "jpeg". + + + Retrieves the specified chart from the cache. + The chart. + The ID of the cache item that contains the chart to retrieve. The key is set when you call the method. + + + Gets or sets the height, in pixels, of the chart image. + The chart height. + + + Saves a chart image to the specified file. + The chart. + The location and name of the image file. + The image file format, such as "png" or "jpeg". + + + Saves a chart in the system cache. + The ID of the cache item that contains the chart. + The ID of the chart in the cache. + The number of minutes to keep the chart image in the cache. The default is 20. + true to indicate that the chart cache item's expiration is reset each time the item is accessed, or false to indicate that the expiration is based on an absolute interval since the time that the item was added to the cache. The default is true. + + + Saves a chart as an XML file. + The chart. + The path and name of the XML file. + + + Sets values for the horizontal axis. + The chart. + The title of the x-axis. + The minimum value for the x-axis. + The maximum value for the x-axis. + + + Sets values for the vertical axis. + The chart. + The title of the y-axis. + The minimum value for the y-axis. + The maximum value for the y-axis. + + + Creates a object based on the current object. + The chart. + The format of the image to save the object as. The default is "jpeg". The parameter is not case sensitive. + + + Gets or set the width, in pixels, of the chart image. + The chart width. + + + Renders the output of the object as an image. + The chart. + The format of the image. The default is "jpeg". + + + Renders the output of a object that has been cached as an image. + The chart. + The ID of the chart in the cache. + The format of the image. The default is "jpeg". + + + Specifies visual themes for a object. + + + A theme for 2D charting that features a visual container with a blue gradient, rounded edges, drop-shadowing, and high-contrast gridlines. + + + A theme for 2D charting that features a visual container with a green gradient, rounded edges, drop-shadowing, and low-contrast gridlines. + + + A theme for 2D charting that features no visual container and no gridlines. + + + A theme for 3D charting that features no visual container, limited labeling and, sparse, high-contrast gridlines. + + + A theme for 2D charting that features a visual container that has a yellow gradient, rounded edges, drop-shadowing, and high-contrast gridlines. + + + Provides methods to generate hash values and encrypt passwords or other sensitive data. + + + Generates a cryptographically strong sequence of random byte values. + The generated salt value as a base-64-encoded string. + The number of cryptographically random bytes to generate. + + + Returns a hash value for the specified byte array. + The hash value for as a string of hexadecimal characters. + The data to provide a hash value for. + The algorithm that is used to generate the hash value. The default is "sha256". + + is null. + + + Returns a hash value for the specified string. + The hash value for as a string of hexadecimal characters. + The data to provide a hash value for. + The algorithm that is used to generate the hash value. The default is "sha256". + + is null. + + + Returns an RFC 2898 hash value for the specified password. + The hash value for as a base-64-encoded string. + The password to generate a hash value for. + + is null. + + + Returns a SHA-1 hash value for the specified string. + The SHA-1 hash value for as a string of hexadecimal characters. + The data to provide a hash value for. + + is null. + + + Returns a SHA-256 hash value for the specified string. + The SHA-256 hash value for as a string of hexadecimal characters. + The data to provide a hash value for. + + is null. + + + Determines whether the specified RFC 2898 hash and password are a cryptographic match. + true if the hash value is a cryptographic match for the password; otherwise, false. + The previously-computed RFC 2898 hash value as a base-64-encoded string. + The plaintext password to cryptographically compare with . + + or is null. + + + Represents a series of values as a JavaScript-like array by using the dynamic capabilities of the Dynamic Language Runtime (DLR). + + + Initializes a new instance of the class using the specified array element values. + An array of objects that contains the values to add to the instance. + + + Returns an enumerator that can be used to iterate through the elements of the instance. + An enumerator that can be used to iterate through the elements of the JSON array. + + + Returns the value at the specified index in the instance. + The value at the specified index. + + + Returns the number of elements in the instance. + The number of elements in the JSON array. + + + Converts a instance to an array of objects. + The array of objects that represents the JSON array. + The JSON array to convert. + + + Converts a instance to an array of objects. + The array of objects that represents the JSON array. + The JSON array to convert. + + + Returns an enumerator that can be used to iterate through a collection. + An enumerator that can be used to iterate through the collection. + + + Converts the instance to a compatible type. + true if the conversion was successful; otherwise, false. + Provides information about the conversion operation. + When this method returns, contains the result of the type conversion operation. This parameter is passed uninitialized. + + + Tests the instance for dynamic members (which are not supported) in a way that does not cause an exception to be thrown. + true in all cases. + Provides information about the get operation. + When this method returns, contains null. This parameter is passed uninitialized. + + + Represents a collection of values as a JavaScript-like object by using the capabilities of the Dynamic Language Runtime. + + + Initializes a new instance of the class using the specified field values. + A dictionary of property names and values to add to the instance as dynamic members. + + + Returns a list that contains the name of all dynamic members (JSON fields) of the instance. + A list that contains the name of every dynamic member (JSON field). + + + Converts the instance to a compatible type. + true in all cases. + Provides information about the conversion operation. + When this method returns, contains the result of the type conversion operation. This parameter is passed uninitialized. + The instance could not be converted to the specified type. + + + Gets the value of a field using the specified index. + true in all cases. + Provides information about the indexed get operation. + An array that contains a single object that indexes the field by name. The object must be convertible to a string that specifies the name of the JSON field to return. If multiple indexes are specified, contains null when this method returns. + When this method returns, contains the value of the indexed field, or null if the get operation was unsuccessful. This parameter is passed uninitialized. + + + Gets the value of a field using the specified name. + true in all cases. + Provides information about the get operation. + When this method returns, contains the value of the field, or null if the get operation was unsuccessful. This parameter is passed uninitialized. + + + Sets the value of a field using the specified index. + true in all cases. + Provides information about the indexed set operation. + An array that contains a single object that indexes the field by name. The object must be convertible to a string that specifies the name of the JSON field to return. If multiple indexes are specified, no field is changed or added. + The value to set the field to. + + + Sets the value of a field using the specified name. + true in all cases. + Provides information about the set operation. + The value to set the field to. + + + Provides methods for working with data in JavaScript Object Notation (JSON) format. + + + Converts data in JavaScript Object Notation (JSON) format into the specified strongly typed data list. + The JSON-encoded data converted to a strongly typed list. + The JSON-encoded string to convert. + The type of the strongly typed list to convert JSON data into. + + + Converts data in JavaScript Object Notation (JSON) format into a data object. + The JSON-encoded data converted to a data object. + The JSON-encoded string to convert. + + + Converts data in JavaScript Object Notation (JSON) format into a data object of a specified type. + The JSON-encoded data converted to the specified type. + The JSON-encoded string to convert. + The type that the data should be converted to. + + + Converts a data object to a string that is in the JavaScript Object Notation (JSON) format. + Returns a string of data converted to the JSON format. + The data object to convert. + + + Converts a data object to a string in JavaScript Object Notation (JSON) format and adds the string to the specified object. + The data object to convert. + The object that contains the converted JSON data. + + + Renders the property names and values of the specified object and of any subobjects that it references. + + + Renders the property names and values of the specified object and of any subobjects. + For a simple variable, returns the type and the value. For an object that contains multiple items, returns the property name or key and the value for each property. + The object to render information for. + Optional. Specifies the depth of nested subobjects to render information for. The default is 10. + Optional. Specifies the maximum number of characters that the method displays for object values. The default is 1000. + + is less than zero. + + is less than or equal to zero. + + + Displays information about the web server environment that hosts the current web page. + + + Displays information about the web server environment. + A string of name-value pairs that contains information about the web server. + + + Specifies the direction in which to sort a list of items. + + + Sort from smallest to largest —for example, from 1 to 10. + + + Sort from largest to smallest — for example, from 10 to 1. + + + Provides a cache to store frequently accessed data. + + + Retrieves the specified item from the object. + The item retrieved from the cache, or null if the item is not found. + The identifier for the cache item to retrieve. + + + Removes the specified item from the object. + The item removed from the object. If the item is not found, returns null. + The identifier for the cache item to remove. + + + Inserts an item into the object. + The identifier for the cache item. + The data to insert into the cache. + Optional. The number of minutes to keep an item in the cache. The default is 20. + Optional. true to indicate that the cache item expiration is reset each time the item is accessed, or false to indicate that the expiration is based the absolute time since the item was added to the cache. The default is true. In that case, if you also use the default value for the parameter, a cached item expires 20 minutes after it was last accessed. + The value of is less than or equal to zero. + Sliding expiration is enabled and the value of is greater than a year. + + + Displays data on a web page using an HTML table element. + + + Initializes a new instance of the class. + The data to display. + A collection that contains the names of the data columns to display. By default, this value is auto-populated according to the values in the parameter. + The name of the data column that is used to sort the grid by default. + The number of rows that are displayed on each page of the grid when paging is enabled. The default is 10. + true to specify that paging is enabled for the instance; otherwise false. The default is true. + true to specify that sorting is enabled for the instance; otherwise, false. The default is true. + The value of the HTML id attribute that is used to mark the HTML element that gets dynamic Ajax updates that are associated with the instance. + The name of the JavaScript function that is called after the HTML element specified by the property has been updated. If the name of a function is not provided, no function will be called. If the specified function does not exist, a JavaScript error will occur if it is invoked. + The prefix that is applied to all query-string fields that are associated with the instance. This value is used in order to support multiple instances on the same web page. + The name of the query-string field that is used to specify the current page of the instance. + The name of the query-string field that is used to specify the currently selected row of the instance. + The name of the query-string field that is used to specify the name of the data column that the instance is sorted by. + The name of the query-string field that is used to specify the direction in which the instance is sorted. + + + Adds a specific sort function for a given column. + The current grid, with the new custom sorter applied. + The column name (as used for sorting) + The function used to select a key to sort by, for each element in the grid's source. + The type of elements in the grid's source. + The column type, usually inferred from the keySelector function's return type. + + + Gets the name of the JavaScript function to call after the HTML element that is associated with the instance has been updated in response to an Ajax update request. + The name of the function. + + + Gets the value of the HTML id attribute that marks an HTML element on the web page that gets dynamic Ajax updates that are associated with the instance. + The value of the id attribute. + + + Binds the specified data to the instance. + The bound and populated instance. + The data to display. + A collection that contains the names of the data columns to bind. + true to enable sorting and paging of the instance; otherwise, false. + The number of rows to display on each page of the grid. + + + Gets a value that indicates whether the instance supports sorting. + true if the instance supports sorting; otherwise, false. + + + Creates a new instance. + The new column. + The name of the data column to associate with the instance. + The text that is rendered in the header of the HTML table column that is associated with the instance. + The function that is used to format the data values that are associated with the instance. + A string that specifies the name of the CSS class that is used to style the HTML table cells that are associated with the instance. + true to enable sorting in the instance by the data values that are associated with the instance; otherwise, false. The default is true. + + + Gets a collection that contains the name of each data column that is bound to the instance. + The collection of data column names. + + + Returns an array that contains the specified instances. + An array of columns. + A variable number of column instances. + + + Gets the prefix that is applied to all query-string fields that are associated with the instance. + The query-string field prefix of the instance. + + + Returns a JavaScript statement that can be used to update the HTML element that is associated with the instance on the specified web page. + A JavaScript statement that can be used to update the HTML element in a web page that is associated with the instance. + The URL of the web page that contains the instance that is being updated. The URL can include query-string arguments. + + + Returns the HTML markup that is used to render the instance and using the specified paging options. + The HTML markup that represents the fully-populated instance. + The name of the CSS class that is used to style the whole table. + The name of the CSS class that is used to style the table header. + The name of the CSS class that is used to style the table footer. + The name of the CSS class that is used to style each table row. + The name of the CSS class that is used to style even-numbered table rows. + The name of the CSS class that is used to style the selected table row. (Only one row can be selected at a time.) + The table caption. + true to display the table header; otherwise, false. The default is true. + true to insert additional rows in the last page when there are insufficient data items to fill the last page; otherwise, false. The default is false. Additional rows are populated using the text specified by the parameter. + The text that is used to populate additional rows in a page when there are insufficient data items to fill the last page. The parameter must be set to true to display these additional rows. + A collection of instances that specify how each column is displayed. This includes which data column is associated with each grid column, and how to format the data values that each grid column contains. + A collection that contains the names of the data columns to exclude when the grid auto-populates columns. + A bitwise combination of the enumeration values that specify methods that are provided for moving between pages of the instance. + The text for the HTML link element that is used to link to the first page of the instance. The flag of the parameter must be set to display this page navigation element. + The text for the HTML link element that is used to link to previous page of the instance. The flag of the parameter must be set to display this page navigation element. + The text for the HTML link element that is used to link to the next page of the instance. The flag of the parameter must be set to display this page navigation element. + The text for the HTML link element that is used to link to the last page of the instance. The flag of the parameter must be set to display this page navigation element. + The number of numeric page links that are provided to nearby pages. The text of each numeric page link contains the page number. The flag of the parameter must be set to display these page navigation elements. + An object that represents a collection of attributes (names and values) to set for the HTML table element that represents the instance. + + + Returns a URL that can be used to display the specified data page of the instance. + A URL that can be used to display the specified data page of the grid. + The index of the page to display. + + + Returns a URL that can be used to sort the instance by the specified column. + A URL that can be used to sort the grid. + The name of the data column to sort by. + + + Gets a value that indicates whether a row in the instance is selected. + true if a row is currently selected; otherwise, false. + + + Returns a value that indicates whether the instance can use Ajax calls to refresh the display. + true if the instance supports Ajax calls; otherwise, false.. + + + Gets the number of pages that the instance contains. + The page count. + + + Gets the full name of the query-string field that is used to specify the current page of the instance. + The full name of the query string field that is used to specify the current page of the grid. + + + Gets or sets the index of the current page of the instance. + The index of the current page. + + + Returns the HTML markup that is used to provide the specified paging support for the instance. + The HTML markup that provides paging support for the grid. + A bitwise combination of the enumeration values that specify the methods that are provided for moving between the pages of the grid. The default is the bitwise OR of the and flags. + The text for the HTML link element that navigates to the first page of the grid. + The text for the HTML link element that navigates to the previous page of the grid. + The text for the HTML link element that navigates to the next page of the grid. + The text for the HTML link element that navigates to the last page of the grid. + The number of numeric page links to display. The default is 5. + + + Gets a list that contains the rows that are on the current page of the instance after the grid has been sorted. + The list of rows. + + + Gets the number of rows that are displayed on each page of the instance. + The number of rows that are displayed on each page of the grid. + + + Gets or sets the index of the selected row relative to the current page of the instance. + The index of the selected row relative to the current page. + + + Gets the currently selected row of the instance. + The currently selected row. + + + Gets the full name of the query-string field that is used to specify the selected row of the instance. + The full name of the query string field that is used to specify the selected row of the grid. + + + Gets or sets the name of the data column that the instance is sorted by. + The name of the data column that is used to sort the grid. + + + Gets or sets the direction in which the instance is sorted. + The sort direction. + + + Gets the full name of the query-string field that is used to specify the sort direction of the instance. + The full name of the query string field that is used to specify the sort direction of the grid. + + + Gets the full name of the query-string field that is used to specify the name of the data column that the instance is sorted by. + The full name of the query-string field that is used to specify the name of the data column that the grid is sorted by. + + + Returns the HTML markup that is used to render the instance. + The HTML markup that represents the fully-populated instance. + The name of the CSS class that is used to style the whole table. + The name of the CSS class that is used to style the table header. + The name of the CSS class that is used to style the table footer. + The name of the CSS class that is used to style each table row. + The name of the CSS class that is used to style even-numbered table rows. + The name of the CSS class that is used use to style the selected table row. + The table caption. + true to display the table header; otherwise, false. The default is true. + true to insert additional rows in the last page when there are insufficient data items to fill the last page; otherwise, false. The default is false. Additional rows are populated using the text specified by the parameter. + The text that is used to populate additional rows in the last page when there are insufficient data items to fill the last page. The parameter must be set to true to display these additional rows. + A collection of instances that specify how each column is displayed. This includes which data column is associated with each grid column, and how to format the data values that each grid column contains. + A collection that contains the names of the data columns to exclude when the grid auto-populates columns. + A function that returns the HTML markup that is used to render the table footer. + An object that represents a collection of attributes (names and values) to set for the HTML table element that represents the instance. + + + Gets the total number of rows that the instance contains. + The total number of rows in the grid. This value includes all rows from every page, but does not include the additional rows inserted in the last page when there are insufficient data items to fill the last page. + + + Represents a column in a instance. + + + Initializes a new instance of the class. + + + Gets or sets a value that indicates whether the column can be sorted. + true to indicate that the column can be sorted; otherwise, false. + + + Gets or sets the name of the data item that is associated with the column. + The name of the data item. + + + Gets or sets a function that is used to format the data item that is associated with the column. + The function that is used to format that data item that is associated with the column. + + + Gets or sets the text that is rendered in the header of the column. + The text that is rendered to the column header. + + + Gets or sets the CSS class attribute that is rendered as part of the HTML table cells that are associated with the column. + The CSS class attribute that is applied to cells that are associated with the column. + + + Specifies flags that describe the methods that are provided for moving between the pages of a instance.This enumeration has a attribute that allows a bitwise combination of its member values. + + + Indicates that all methods for moving between pages are provided. + + + Indicates that methods for moving directly to the first or last page are provided. + + + Indicates that methods for moving to the next or previous page are provided. + + + Indicates that methods for moving to a nearby page by using a page number are provided. + + + Represents a row in a instance. + + + Initializes a new instance of the class using the specified instance, row value, and index. + The instance that contains the row. + An object that contains a property member for each value in the row. + The index of the row. + + + Returns an enumerator that can be used to iterate through the values of the instance. + An enumerator that can be used to iterate through the values of the row. + + + Returns an HTML element (a link) that users can use to select the row. + The link that users can click to select the row. + The inner text of the link element. If is empty or null, "Select" is used. + + + Returns the URL that can be used to select the row. + The URL that is used to select a row. + + + Returns the value at the specified index in the instance. + The value at the specified index. + The zero-based index of the value in the row to return. + + is less than 0 or greater than or equal to the number of values in the row. + + + Returns the value that has the specified name in the instance. + The specified value. + The name of the value in the row to return. + + is Nothing or empty. + + specifies a value that does not exist. + + + Returns an enumerator that can be used to iterate through a collection. + An enumerator that can be used to iterate through the collection. + + + Returns a string that represents all of the values of the instance. + A string that represents the row's values. + + + Returns the value of a member that is described by the specified binder. + true if the value of the item was successfully retrieved; otherwise, false. + The getter of the bound property member. + When this method returns, contains an object that holds the value of the item described by . This parameter is passed uninitialized. + + + Gets an object that contains a property member for each value in the row. + An object that contains each value in the row as a property. + + + Gets the instance that the row belongs to. + The instance that contains the row. + + + Represents an object that lets you display and manage images in a web page. + + + Initializes a new instance of the class using a byte array to represent the image. + The image. + + + Initializes a new instance of the class using a stream to represent the image. + The image. + + + Initializes a new instance of the class using a path to represent the image location. + The path of the file that contains the image. + + + Adds a watermark image using a path to the watermark image. + The watermarked image. + The path of a file that contains the watermark image. + The width, in pixels, of the watermark image. + The height, in pixels, of the watermark image. + The horizontal alignment for watermark image. Values can be "Left", "Right", or "Center". + The vertical alignment for the watermark image. Values can be "Top", "Middle", or "Bottom". + The opacity for the watermark image, specified as a value between 0 and 100. + The size, in pixels, of the padding around the watermark image. + + + Adds a watermark image using the specified image object. + The watermarked image. + A object. + The width, in pixels, of the watermark image. + The height, in pixels, of the watermark image. + The horizontal alignment for watermark image. Values can be "Left", "Right", or "Center". + The vertical alignment for the watermark image. Values can be "Top", "Middle", or "Bottom". + The opacity for the watermark image, specified as a value between 0 and 100. + The size, in pixels, of the padding around the watermark image. + + + Adds watermark text to the image. + The watermarked image. + The text to use as a watermark. + The color of the watermark text. + The font size of the watermark text. + The font style of the watermark text. + The font type of the watermark text. + The horizontal alignment for watermark text. Values can be "Left", "Right", or "Center". + The vertical alignment for the watermark text. Values can be "Top", "Middle", or "Bottom". + The opacity for the watermark image, specified as a value between 0 and 100. + The size, in pixels, of the padding around the watermark text. + + + Copies the object. + The image. + + + Crops an image. + The cropped image. + The number of pixels to remove from the top. + The number of pixels to remove from the left. + The number of pixels to remove from the bottom. + The number of pixels to remove from the right. + + + Gets or sets the file name of the object. + The file name. + + + Flips an image horizontally. + The flipped image. + + + Flips an image vertically. + The flipped image. + + + Returns the image as a byte array. + The image. + The value of the object. + + + Returns an image that has been uploaded using the browser. + The image. + (Optional) The name of the file that has been posted. If no file name is specified, the first file that was uploaded is returned. + + + Gets the height, in pixels, of the image. + The height. + + + Gets the format of the image (for example, "jpeg" or "png"). + The file format of the image. + + + Resizes an image. + The resized image. + The width, in pixels, of the object. + The height, in pixels, of the object. + true to preserve the aspect ratio of the image; otherwise, false. + true to prevent the enlargement of the image; otherwise, false. + + + Rotates an image to the left. + The rotated image. + + + Rotates an image to the right. + The rotated image. + + + Saves the image using the specified file name. + The image. + The path to save the image to. + The format to use when the image file is saved, such as "gif", or "png". + true to force the correct file-name extension to be used for the format that is specified in ; otherwise, false. If there is a mismatch between the file type and the specified file-name extension, and if is true, the correct extension will be appended to the file name. For example, a PNG file named Photograph.txt is saved using the name Photograph.txt.png. + + + Gets the width, in pixels, of the image. + The width. + + + Renders an image to the browser. + The image. + (Optional) The file format to use when the image is written. + + + Provides a way to construct and send an email message using Simple Mail Transfer Protocol (SMTP). + + + Gets or sets a value that indicates whether Secure Sockets Layer (SSL) is used to encrypt the connection when an email message is sent. + true if SSL is used to encrypt the connection; otherwise, false. + + + Gets or sets the email address of the sender. + The email address of the sender. + + + Gets or sets the password of the sender's email account. + The sender's password. + + + Sends the specified message to an SMTP server for delivery. + The email address of the recipient or recipients. Separate multiple recipients using a semicolon (;). + The subject line for the email message. + The body of the email message. If is true, HTML in the body is interpreted as markup. + (Optional) The email address of the message sender, or null to not specify a sender. The default value is null. + (Optional) The email addresses of additional recipients to send a copy of the message to, or null if there are no additional recipients. Separate multiple recipients using a semicolon (;). The default value is null. + (Optional) A collection of file names that specifies the files to attach to the email message, or null if there are no files to attach. The default value is null. + (Optional) true to specify that the email message body is in HTML format; false to indicate that the body is in plain-text format. The default value is true. + (Optional) A collection of headers to add to the normal SMTP headers included in this email message, or null to send no additional headers. The default value is null. + (Optional) The email addresses of additional recipients to send a "blind" copy of the message to, or null if there are no additional recipients. Separate multiple recipients using a semicolon (;). The default value is null. + (Optional) The encoding to use for the body of the message. Possible values are property values for the class, such as . The default value is null. + (Optional) The encoding to use for the header of the message. Possible values are property values for the class, such as . The default value is null. + (Optional) A value ("Normal", "Low", "High") that specifies the priority of the message. The default is "Normal". + (Optional) The email address that will be used when the recipient replies to the message. The default value is null, which indicates that the reply address is the value of the From property. + + + Gets or sets the port that is used for SMTP transactions. + The port that is used for SMTP transactions. + + + Gets or sets the name of the SMTP server that is used to transmit the email message. + The SMTP server. + + + Gets or sets a value that indicates whether the default credentials are sent with the requests. + true if credentials are sent with the email message; otherwise, false. + + + Gets or sets the name of email account that is used to send email. + The name of the user account. + + + \ No newline at end of file diff --git a/lib/aspnetmvc/System.Web.Mvc.dll b/lib/aspnetmvc/System.Web.Mvc.dll index 947908478..d0b4811e9 100644 Binary files a/lib/aspnetmvc/System.Web.Mvc.dll and b/lib/aspnetmvc/System.Web.Mvc.dll differ diff --git a/lib/aspnetmvc/System.Web.Mvc.xml b/lib/aspnetmvc/System.Web.Mvc.xml index 471e0cc00..367e05aed 100644 --- a/lib/aspnetmvc/System.Web.Mvc.xml +++ b/lib/aspnetmvc/System.Web.Mvc.xml @@ -217,7 +217,7 @@ Information about the action method. - Encapsulates the result of an action method and is used to perform a framework-level operation on behalf of the action method. + Represents the result of an action method. Initializes a new instance of the class. @@ -346,6 +346,15 @@ This method supports the ASP.NET MVC validation infrastructure and is not intended to be used directly from your code. The model metadata. + + Controls interpretation of a controller name when constructing a . + + + Find the controller in the current area. + + + Find the controller in the root area. + Provides a way to register one or more areas in an ASP.NET MVC application. @@ -570,7 +579,7 @@ The result that is returned by an action method. - Represents an attribute that is used to restrict access by callers to an action method. + Specifies that access to a controller or action method is restricted to users who meet the authorization requirement. Initializes a new instance of the class. @@ -597,16 +606,16 @@ The parameter is null. - Gets or sets the user roles. - The user roles. + Gets or sets the user roles that are authorized to access the controller or action method. + The user roles that are authorized to access the controller or action method. Gets the unique identifier for this attribute. The unique identifier for this attribute. - Gets or sets the authorized users. - The authorized users. + Gets or sets the users that are authorized to access the controller or action method. + The users that are authorized to access the controller or action method. Represents an attribute that is used to provide details about how model binding to a parameter should occur. @@ -680,6 +689,7 @@ The controller context. The virtual path. + Gets the view page activator. The view page activator. @@ -1595,6 +1605,9 @@ Gets the HttpRequestBase object for the current HTTP request. The request object. + + Represents a replaceable dependency resolver providing services. By default, it uses the . + Gets the HttpResponseBase object for the current HTTP response. The HttpResponseBase object for the current HTTP response. @@ -3175,7 +3188,7 @@ The RFC 3339 formatting. - Represents support for rendering HTML controls in a view. + Supports the rendering of HTML controls in a view. Initializes a new instance of the class by using the specified view context and view data container. @@ -3359,6 +3372,11 @@ Gets or sets the character that replaces periods in the ID attribute of an element. The character that replaces periods in the ID attribute of an element. + + Creates a dictionary from an object, by adding each public instance property as a key with its associated value to the dictionary. It will expose public properties from derived types as well. This is typically used with objects of an anonymous type. + The created dictionary of property names and property values. + The object to be converted. + Returns markup that is not HTML encoded. The HTML markup without encoding. @@ -3373,6 +3391,12 @@ Gets or sets the collection of routes for the application. The collection of routes for the application. + + Set element name used to wrap the validation message generated by and other overloads. + + + Set element name used to wrap a top-level message in and other overloads. + Gets or sets a value that indicates whether unobtrusive JavaScript is enabled. true if unobtrusive JavaScript is enabled; otherwise, false. @@ -3386,12 +3410,18 @@ The name of the CSS class that is used to style the error message when a validation error occurs. + + Element name used to wrap the validation message generated by and other overloads. + The name of the CSS class that is used to style the validation message when the input is valid. The name of the CSS class that is used to style validation summary error messages. + + Element name used to wrap a top-level message in and other overloads. + The name of the CSS class that is used to style the validation summary when the input is valid. @@ -3657,6 +3687,13 @@ The controller context. The name of the action. + + Used to create an instance for the current request. + + + Creates an instance of action invoker for the current request. + The created . + Defines the methods that are required for an authorization filter. @@ -3752,6 +3789,12 @@ When implemented in a class, provides metadata to the model metadata creation process. The model metadata. + + An optional interface for types which provide a . + + + Gets the MethodInfo + Defines the methods that are required for a model binder. @@ -3829,6 +3872,13 @@ The controller context. The values. + + Used to create an instance for the controller. + + + Creates an instance of for the controller. + The created . + Represents an interface that can skip request validation. @@ -3848,7 +3898,7 @@ Retrieves a value object using the specified key. - The value object for the specified key. + The value object for the specified key, or null if the key is not found. The key of the value object to retrieve. @@ -3928,6 +3978,23 @@ Gets or sets the script. The script. + + The JQuery Form Value provider is used to handle JQuery formatted data in request Forms. + + + Constructs a new instance of the JQuery form ValueProvider + The context on which the ValueProvider operates. + + + Provides the necessary ValueProvider to handle JQuery Form data. + + + Constructs a new instance of the factory which provides JQuery form ValueProviders. + + + Returns the suitable ValueProvider. + The context on which the ValueProvider should operate. + Specifies whether HTTP GET requests from the client are allowed. @@ -4299,6 +4366,9 @@ Gets a dictionary that contains additional metadata about the model. A dictionary that contains additional metadata about the model. + + A reference to the model's container object. Will be non-null if the model represents a property. + Gets or sets the type of the container for the model. The type of the container for the model. @@ -4723,6 +4793,12 @@ The selected values. The parameter is null. + + Initializes a new instance of the MultiSelectList class by using the items to include in the list, the selected values, the disabled values. + The items used to build each of the list. + The selected values field. Used to match the Selected property of the corresponding . + The disabled values. Used to match the Disabled property of the corresponding . + Initializes a new instance of the class by using the items to include in the list, the data value field, and the data text field. The items. @@ -4738,6 +4814,51 @@ The selected values. The parameter is null. + + Initializes a new instance of the MultiSelectList class by using the items to include in the list, the data value field, the data text field, the selected values, and the disabled values. + The items used to build each of the list. + The data value field. Used to match the Value property of the corresponding . + The data text field. Used to match the Text property of the corresponding . + The selected values field. Used to match the Selected property of the corresponding . + The disabled values. Used to match the Disabled property of the corresponding . + + + Initializes a new instance of the MultiSelectList class by using the items to include in the list, the data value field, the data text field, and the data group field. + The items used to build each of the list. + The data value field. Used to match the Value property of the corresponding . + The data text field. Used to match the Text property of the corresponding . + The data group field. Used to match the Group property of the corresponding . + + + Initializes a new instance of the MultiSelectList class by using the items to include in the list, the data value field, the data text field, the data group field, and the selected values. + The items used to build each of the list. + The data value field. Used to match the Value property of the corresponding . + The data text field. Used to match the Text property of the corresponding . + The data group field. Used to match the Group property of the corresponding . + The selected values field. Used to match the Selected property of the corresponding . + + + Initializes a new instance of the MultiSelectList class by using the items to include in the list, the data value field, the data text field, the data group field, the selected values, and the disabled values. + The items used to build each of the list. + The data value field. Used to match the Value property of the corresponding . + The data text field. Used to match the Text property of the corresponding . + The data group field. Used to match the Group property of the corresponding . + The selected values field. Used to match the Selected property of the corresponding . + The disabled values. Used to match the Disabled property of the corresponding . + + + Initializes a new instance of the MultiSelectList class by using the items to include in the list, the data value field, the data text field, the data group field, the selected values, the disabled values, and the disabled groups. + The items used to build each of the list. + The data value field. Used to match the Value property of the corresponding . + The data text field. Used to match the Text property of the corresponding . + The data group field. Used to match the Group property of the corresponding . + The selected values field. Used to match the Selected property of the corresponding . + The disabled values. Used to match the Disabled property of the corresponding . + The disabled groups. Used to match the Disabled property of the corresponding . + + + Gets the data group field. + Gets or sets the data text field. The data text field. @@ -4746,6 +4867,12 @@ Gets or sets the data value field. The data value field. + + Gets the disabled groups. + + + Gets the disabled values. + Returns an enumerator that can be used to iterate through the collection. An enumerator that can be used to iterate through the collection. @@ -4973,6 +5100,13 @@ A collection that contains the values that are used to initialize the provider. This collection will not be validated. An object that contains information about the target culture. + + Initializes Name Value collection provider. + Key value collection from request. + Unvalidated key value collection from the request. + Culture with which the values are to be used. + jQuery POST when sending complex Javascript objects to server does not encode in the way understandable by MVC. This flag should be set if the request should be normalized to MVC form - https://aspnetwebstack.codeplex.com/workitem/1564. + Initializes a new instance of the class. A collection that contains the values that are used to initialize the provider. @@ -5591,6 +5725,12 @@ The name of the controller. The name of the area. + + Initializes a new instance of the class. + The route name. + The name of the controller. + Find the controller in the root if . Otherwise look in the current area. + Gets or sets the additional fields that are required for validation. The additional fields that are required for validation. @@ -5773,11 +5913,20 @@ Maps the attribute-defined routes for the application. A collection of routes. + + Maps the attribute-defined routes for the application. + The to use for mapping routes. + Maps the attribute-defined routes for the application. A collection of routes. The to use for resolving inline constraints in route templates. + + Maps the attribute-defined routes for the application. + The to use for resolving inline constraints in route templates. + The to use for mapping routes. + Extends a object for MVC routing. @@ -5911,6 +6060,12 @@ The items. The selected value. + + Initializes a new instance of the SelectList class by using the specified items for the list, the selected value, and the disabled values. + The items used to build each of the list. + The selected value. Used to match the Selected property of the corresponding . + The disabled values. Used to match the Disabled property of the corresponding . + Initializes a new instance of the class by using the specified items for the list, the data value field, and the data text field. The items. @@ -5924,16 +6079,67 @@ The data text field. The selected value. + + Initializes a new instance of the SelectList class by using the specified items for the list, the data value field, the data text field, the selected value, and the disabled values. + The items used to build each of the list. + The data value field. Used to match the Value property of the corresponding . + The data text field. Used to match the Text property of the corresponding . + The selected value. Used to match the Selected property of the corresponding . + The disabled values. Used to match the Disabled property of the corresponding . + + + Initializes a new instance of the SelectList class by using the specified items for the list, the data value field, the data text field, the data group field, and the selected value. + The items used to build each of the list. + The data value field. Used to match the Value property of the corresponding . + The data text field. Used to match the Text property of the corresponding . + The data group field. Used to match the Group property of the corresponding . + The selected value. Used to match the Selected property of the corresponding . + + + Initializes a new instance of the SelectList class by using the specified items for the list, the data value field, the data text field, the data group field, the selected value, and the disabled values. + The items used to build each of the list. + The data value field. Used to match the Value property of the corresponding . + The data text field. Used to match the Text property of the corresponding . + The data group field. Used to match the Group property of the corresponding . + The selected value. Used to match the Selected property of the corresponding . + The disabled values. Used to match the Disabled property of the corresponding . + + + Initializes a new instance of the SelectList class by using the specified items for the list, the data value field, the data text field, the data group field. the selected value, the disabled values, and the disabled groups. + The items used to build each of the list. + The data value field. Used to match the Value property of the corresponding . + The data text field. Used to match the Text property of the corresponding . + The data group field. Used to match the Group property of the corresponding . + The selected value. Used to match the Selected property of the corresponding . + The disabled values. Used to match the Disabled property of the corresponding . + The disabled groups. Used to match the Disabled property of the corresponding . + Gets the list value that was selected by the user. The selected value. + + Represents the optgroup HTML element and its attributes. In a select list, multiple groups with the same name are supported. They are compared with reference equality. + + + + Gets or sets a value that indicates whether this is disabled. + + + Represents the value of the optgroup's label. + Represents the selected item in an instance of the class. Initializes a new instance of the class. + + Gets or sets a value that indicates whether this is disabled. + + + Represents the optgroup HTML element this item is wrapped into. In a select list, multiple groups with the same name are supported. They are compared with reference equality. + Gets or sets a value that indicates whether this is selected. true if the item is selected; otherwise, false. @@ -6670,6 +6876,12 @@ Gets or sets a value that indicates whether unobtrusive JavaScript is enabled. true if unobtrusive JavaScript is enabled; otherwise, false. + + Element name used to wrap a top-level message generated by and other overloads. + + + Element name used to wrap a top-level message generated by and other overloads. + Gets an object that implements the interface to render in the browser. The view. @@ -7972,6 +8184,7 @@ Initializes a new instance of the class. + Gets or sets the message to display in a confirmation window before a request is submitted. The message to display in a confirmation window. @@ -8032,6 +8245,9 @@ Replace the element. + + Replace the entire element. + Provides information about an asynchronous action method, such as its name, controller, parameters, attributes, and filters. @@ -8158,6 +8374,13 @@ true if the asynchronous method could be canceled; otherwise, false. The asynchronous result. + + Used to create an instance for the current request. + + + Creates an instance of async action invoker for the current request. + The created . + Defines the methods that are required for an asynchronous controller. @@ -8279,6 +8502,7 @@ The type of the custom attribute. true to look up the hierarchy chain for the inherited custom attribute; otherwise, false. + Gets the lazy initialized unique ID of the instance of this class. The lazy initialized unique ID of the instance of this class. @@ -8407,6 +8631,7 @@ The type of the custom attribute. true to look up the hierarchy chain for the inherited custom attribute; otherwise, false. + Gets information for the asynchronous task. Information for the asynchronous task. @@ -8965,25 +9190,25 @@ Represents support for HTML in an application. - Writes an opening <form> tag to the response. When the user submits the form, the request will be processed by an action method. + Writes an opening <form> tag to the response. The form uses the POST method, and the request is processed by the action method for the view. An opening <form> tag. The HTML helper instance that this method extends. - Writes an opening <form> tag to the response. When the user submits the form, the request will be processed by an action method. + Writes an opening <form> tag to the response and includes the route values in the action attribute. The form uses the POST method, and the request is processed by the action method for the view. An opening <form> tag. The HTML helper instance that this method extends. An object that contains the parameters for a route. The parameters are retrieved through reflection by examining the properties of the object. This object is typically created by using object initializer syntax. - Writes an opening <form> tag to the response. When the user submits the form, the request will be processed by an action method. + Writes an opening <form> tag to the response and sets the action tag to the specified controller and action. The form uses the POST method. An opening <form> tag. The HTML helper instance that this method extends. The name of the action method. The name of the controller. - Writes an opening <form> tag to the response. When the user submits the form, the request will be processed by an action method. + Writes an opening <form> tag to the response, and sets the action tag to the specified controller, action, and route values. The form uses the POST method. An opening <form> tag. The HTML helper instance that this method extends. The name of the action method. @@ -8991,7 +9216,7 @@ An object that contains the parameters for a route. The parameters are retrieved through reflection by examining the properties of the object. This object is typically created by using object initializer syntax. - Writes an opening <form> tag to the response. When the user submits the form, the request will be processed by an action method. + Writes an opening <form> tag to the response and sets the action tag to the specified controller, action, and route values. The form uses the specified HTTP method. An opening <form> tag. The HTML helper instance that this method extends. The name of the action method. @@ -9000,7 +9225,7 @@ The HTTP method for processing the form, either GET or POST. - Writes an opening <form> tag to the response. When the user submits the form, the request will be processed by an action method. + Writes an opening <form> tag to the response and sets the action tag to the specified controller, action, and route values. The form uses the specified HTTP method and includes the HTML attributes. An opening <form> tag. The HTML helper instance that this method extends. The name of the action method. @@ -9010,7 +9235,7 @@ An object that contains the HTML attributes to set for the element. - Writes an opening <form> tag to the response. When the user submits the form, the request will be processed by an action method. + Writes an opening <form> tag to the response and sets the action tag to the specified controller and action. The form uses the specified HTTP method. An opening <form> tag. The HTML helper instance that this method extends. The name of the action method. @@ -9018,7 +9243,7 @@ The HTTP method for processing the form, either GET or POST. - Writes an opening <form> tag to the response. When the user submits the form, the request will be processed by an action method. + Writes an opening <form> tag to the response and sets the action tag to the specified controller and action. The form uses the specified HTTP method and includes the HTML attributes from a dictionary. An opening <form> tag. The HTML helper instance that this method extends. The name of the action method. @@ -9027,7 +9252,7 @@ An object that contains the HTML attributes to set for the element. - Writes an opening <form> tag to the response. When the user submits the form, the request will be processed by an action method. + Writes an opening <form> tag to the response and sets the action tag to the specified controller and action. The form uses the specified HTTP method and includes the HTML attributes. An opening <form> tag. The HTML helper instance that this method extends. The name of the action method. @@ -9036,7 +9261,7 @@ An object that contains the HTML attributes to set for the element. - Writes an opening <form> tag to the response. When the user submits the form, the request will be processed by an action method. + Writes an opening <form> tag to the response, and sets the action tag to the specified controller, action, and route values from the route value dictionary. The form uses the POST method. An opening <form> tag. The HTML helper instance that this method extends. The name of the action method. @@ -9044,7 +9269,7 @@ An object that contains the parameters for a route. - Writes an opening <form> tag to the response. When the user submits the form, the request will be processed by an action method. + Writes an opening <form> tag to the response, and sets the action tag to the specified controller, action, and route values from the route value dictionary. The form uses the specified HTTP method. An opening <form> tag. The HTML helper instance that this method extends. The name of the action method. @@ -9053,7 +9278,7 @@ The HTTP method for processing the form, either GET or POST. - Writes an opening <form> tag to the response. When the user submits the form, the request will be processed by an action method. + Writes an opening <form> tag to the response, and sets the action tag to the specified controller, action, and route values from the route value dictionary. The form uses the specified HTTP method, and includes the HTML attributes from the dictionary. An opening <form> tag. The HTML helper instance that this method extends. The name of the action method. @@ -9063,7 +9288,7 @@ An object that contains the HTML attributes to set for the element. - Writes an opening <form> tag to the response. When the user submits the form, the request will be processed by an action method. + Writes an opening <form> tag to the response and includes the route values from the route value dictionary in the action attribute. The form uses the POST method, and the request is processed by the action method for the view. An opening <form> tag. The HTML helper instance that this method extends. An object that contains the parameters for a route. @@ -9175,14 +9400,14 @@ An input element whose type attribute is set to "checkbox". The HTML helper instance that this method extends. The name of the form field. - true to select the check box; otherwise, false. + true to select the check box; otherwise, false. The value of the check box is retrieved in this order - the object, the value of this parameter, the object, and lastly, a checked attribute in the html attributes. Returns a check box input element by using the specified HTML helper, the name of the form field, a value to indicate whether the check box is selected, and the HTML attributes. An input element whose type attribute is set to "checkbox". The HTML helper instance that this method extends. The name of the form field. - true to select the check box; otherwise, false. + true to select the check box; otherwise, false. The value of the check box is retrieved in this order - the object, the value of this parameter, the object, and lastly, a checked attribute in the html attributes. An object that contains the HTML attributes to set for the element. @@ -9190,7 +9415,7 @@ An input element whose type attribute is set to "checkbox". The HTML helper instance that this method extends. The name of the form field. - true to select the check box; otherwise, false. + true to select the check box; otherwise, false. The value of the check box is retrieved in this order - the object, the value of this parameter, the object, and lastly, a checked attribute in the html attributes. An object that contains the HTML attributes to set for the element. @@ -9244,14 +9469,14 @@ An input element whose type attribute is set to "hidden". The HTML helper instance that this method extends. The name of the form field and the key that is used to look up the value. - The value of the hidden input element. The value of the element is retrieved from the object. If no value exists there, the value is retrieved from the object. If the element is not found in the or the , the value parameter is used. + The value of the hidden input element. The value is retrieved in this order - the object, the value of this parameter, the object, and lastly, a value attribute in the html attributes. Returns a hidden input element by using the specified HTML helper, the name of the form field, the value, and the HTML attributes. An input element whose type attribute is set to "hidden". The HTML helper instance that this method extends. The name of the form field and the key that is used to look up the value. - The value of the hidden input element. The value of the element is retrieved from the object. If no value exists there, the value is retrieved from the object. If the element is not found in the object or the object, the value parameter is used. + The value of the hidden input element. The value is retrieved in this order - the object, the value of this parameter, the object, and lastly, a value attribute in the html attributes. An object that contains the HTML attributes to set for the element. @@ -9259,7 +9484,7 @@ An input element whose type attribute is set to "hidden". The HTML helper instance that this method extends. The name of the form field and the key that is used to look up the value. - The value of the hidden input element The value of the element is retrieved from the object. If no value exists there, the value is retrieved from the object. If the element is not found in the object or the object, the value parameter is used. + The value of the hidden input element. The value is retrieved in this order - the object, the value of this parameter, the object, and lastly, a value attribute in the html attributes. An object that contains the HTML attributes to set for the element. @@ -9299,14 +9524,14 @@ An input element whose type attribute is set to "password". The HTML helper instance that this method extends. The name of the form field and the key that is used to look up the value. - The value of the password input element. If this value is null, the value of the element is retrieved from the object. If no value exists there, the value is retrieved from the object. + The value of the password input element. If a value for this parameter is not provided, the value attribute in the html attributes is used to retrieve the value. Returns a password input element by using the specified HTML helper, the name of the form field, the value, and the HTML attributes. An input element whose type attribute is set to "password". The HTML helper instance that this method extends. The name of the form field and the key that is used to look up the value. - The value of the password input element. If this value is null, the value of the element is retrieved from the object. If no value exists there, the value is retrieved from the object. + The value of the password input element. If a value for this parameter is not provided, the value attribute in the html attributes is used to retrieve the value. An object that contains the HTML attributes to set for the element. @@ -9314,7 +9539,7 @@ An input element whose type attribute is set to "password". The HTML helper instance that this method extends. The name of the form field and the key that is used to look up the value. - The value of the password input element. If this value is null, the value of the element is retrieved from the object. If no value exists there, the value is retrieved from the object. + The value of the password input element. If a value for this parameter is not provided, the value attribute in the html attributes is used to retrieve the value. An object that contains the HTML attributes to set for the element. @@ -9351,7 +9576,7 @@ An input element whose type attribute is set to "radio". The HTML helper instance that this method extends. The name of the form field and the key that is used to look up the value. - If this radio button is selected, the value of the radio button that is submitted when the form is posted. If the value of the selected radio button in the or the object matches this value, this radio button is selected. + The value of the selected radio button. The value is retrieved in this order - the object, the value of this parameter, the object, and lastly, a value attribute in the html attributes. The parameter is null or empty. The parameter is null. @@ -9360,7 +9585,7 @@ An input element whose type attribute is set to "radio". The HTML helper instance that this method extends. The name of the form field and the key that is used to look up the value. - If this radio button is selected, the value of the radio button that is submitted when the form is posted. If the value of the selected radio button in the or the object matches this value, this radio button is selected. + The value of the selected radio button. The value is retrieved in this order - the object, the value of this parameter, the object, and lastly, a value attribute in the html attributes. true to select the radio button; otherwise, false. The parameter is null or empty. The parameter is null. @@ -9370,7 +9595,7 @@ An input element whose type attribute is set to "radio". The HTML helper instance that this method extends. The name of the form field and the key that is used to look up the value. - If this radio button is selected, the value of the radio button that is submitted when the form is posted. If the value of the selected radio button in the or the object matches this value, this radio button is selected. + The value of the selected radio button. The value is retrieved in this order - the object, the value of this parameter, the object, and lastly, a value attribute in the html attributes. true to select the radio button; otherwise, false. An object that contains the HTML attributes to set for the element. The parameter is null or empty. @@ -9381,7 +9606,7 @@ An input element whose type attribute is set to "radio". The HTML helper instance that this method extends. The name of the form field and the key that is used to look up the value. - If this radio button is selected, the value of the radio button that is submitted when the form is posted. If the value of the selected radio button in the or the object matches this value, this radio button is selected. + The value of the selected radio button. The value is retrieved in this order - the object, the value of this parameter, the object, and lastly, a value attribute in the html attributes. true to select the radio button; otherwise, false. An object that contains the HTML attributes to set for the element. The parameter is null or empty. @@ -9392,7 +9617,7 @@ An input element whose type attribute is set to "radio". The HTML helper instance that this method extends. The name of the form field and the key that is used to look up the value. - If this radio button is selected, the value of the radio button that is submitted when the form is posted. If the value of the selected radio button in the or the object matches this value, this radio button is selected. + The value of the selected radio button. The value is retrieved in this order - the object, the value of this parameter, the object, and lastly, a value attribute in the html attributes. An object that contains the HTML attributes to set for the element. The parameter is null or empty. The parameter is null. @@ -9402,7 +9627,7 @@ An input element whose type attribute is set to "radio". The HTML helper instance that this method extends. The name of the form field and the key that is used to look up the value. - If this radio button is selected, the value of the radio button that is submitted when the form is posted. If the value of the selected radio button in the or the object matches this value, this radio button is selected. + The value of the selected radio button. The value is retrieved in this order - the object, the value of this parameter, the object, and lastly, a value attribute in the html attributes. An object that contains the HTML attributes to set for the element. The parameter is null or empty. The parameter is null. @@ -9412,7 +9637,7 @@ An HTML input element whose type attribute is set to "radio" for each property in the object that is represented by the specified expression. The HTML helper instance that this method extends. An expression that identifies the object that contains the properties to render. - If this radio button is selected, the value of the radio button that is submitted when the form is posted. If the value of the selected radio button in the or the object matches this value, this radio button is selected. + The value of the selected radio button. The value is retrieved in this order - the object, the value of this parameter, the object, and lastly, a value attribute in the html attributes. The type of the model. The type of the value. The parameter is null. @@ -9422,7 +9647,7 @@ An HTML input element whose type attribute is set to "radio" for each property in the object that is represented by the specified expression, using the specified HTML attributes. The HTML helper instance that this method extends. An expression that identifies the object that contains the properties to render. - If this radio button is selected, the value of the radio button that is submitted when the form is posted. If the value of the selected radio button in the or the object matches this value, this radio button is selected. + The value of the selected radio button. The value is retrieved in this order - the object, the value of this parameter, the object, and lastly, a value attribute in the html attributes. A dictionary that contains the HTML attributes to set for the element. The type of the model. The type of the value. @@ -9433,7 +9658,7 @@ An HTML input element whose type attribute is set to "radio" for each property in the object that is represented by the specified expression, using the specified HTML attributes. The HTML helper instance that this method extends. An expression that identifies the object that contains the properties to render. - If this radio button is selected, the value of the radio button that is submitted when the form is posted. If the value of the selected radio button in the or the object matches this value, this radio button is selected. + The value of the selected radio button. The value is retrieved in this order - the object, the value of this parameter, the object, and lastly, a value attribute in the html attributes. An object that contains the HTML attributes to set for the element. The type of the model. The type of the value. @@ -9450,14 +9675,14 @@ An input element whose type attribute is set to "text". The HTML helper instance that this method extends. The name of the form field and the key that is used to look up the value. - The value of the text input element. If this value is null, the value of the element is retrieved from the object. If no value exists there, the value is retrieved from the object. + The value of the text input element. The value is retrieved in this order - the object, the value of this parameter, the object, and lastly, a value attribute in the html attributes. Returns a text input element by using the specified HTML helper, the name of the form field, the value, and the HTML attributes. An input element whose type attribute is set to "text". The HTML helper instance that this method extends. The name of the form field and the key that is used to look up the value. - The value of the text input element. If this value is null, the value of the element is retrieved from the object. If no value exists there, the value is retrieved from the object. + The value of the text input element. The value is retrieved in this order - the object, the value of this parameter, the object, and lastly, a value attribute in the html attributes. An object that contains the HTML attributes to set for the element. @@ -9465,7 +9690,7 @@ An input element whose type attribute is set to "text". The HTML helper instance that this method extends. The name of the form field and the key that is used to look up the value. - The value of the text input element. If this value is null, the value of the element is retrieved from the object. If no value exists there, the value is retrieved from the object. + The value of the text input element. The value is retrieved in this order - the object, the value of this parameter, the object, and lastly, a value attribute in the html attributes. An object that contains the HTML attributes to set for the element. @@ -9473,7 +9698,7 @@ An input element whose type attribute is set to "text". The HTML helper instance that this method extends. The name of the form field. - The value of the text input element. If this value is null, the value of the element is retrieved from the object. If no value exists there, the value is retrieved from the object. + The value of the text input element. The value is retrieved in this order - the object, the value of this parameter, the object, and lastly, a value attribute in the html attributes. A string that is used to format the input. @@ -9481,7 +9706,7 @@ An input element whose type attribute is set to "text". The HTML helper instance that this method extends. The name of the form field and the key that is used to look up the value. - The value of the text input element. If this value is null, the value of the element is retrieved from the object. If no value exists there, the value is retrieved from the object. + The value of the text input element. The value is retrieved in this order - the object, the value of this parameter, the object, and lastly, a value attribute in the html attributes. A string that is used to format the input. An object that contains the HTML attributes to set for the element. @@ -9490,7 +9715,7 @@ An input element whose type attribute is set to "text". The HTML helper instance that this method extends. The name of the form field and the key that is used to look up the value. - The value of the text input element. If this value is null, the value of the element is retrieved from the object. If no value exists there, the value is retrieved from the object. + The value of the text input element. The value is retrieved in this order - the object, the value of this parameter, the object, and lastly, a value attribute in the html attributes. A string that is used to format the input. An object that contains the HTML attributes to set for the element. @@ -9694,7 +9919,7 @@ Represents support for HTML links in an application. - Returns an anchor element (a element) that contains the virtual path of the specified action. + Returns an anchor element (a element) for the specified link text and action. An anchor element (a element). The HTML helper instance that this method extends. The inner text of the anchor element. @@ -9702,7 +9927,7 @@ The parameter is null or empty. - Returns an anchor element (a element) that contains the virtual path of the specified action. + Returns an anchor element (a element) for the specified link text, action, and route values. An anchor element (a element). The HTML helper instance that this method extends. The inner text of the anchor element. @@ -9711,7 +9936,7 @@ The parameter is null or empty. - Returns an anchor element (a element) that contains the virtual path of the specified action. + Returns an anchor element (a element) for the specified link text, action, route values, and HTML attributes. An anchor element (a element). The HTML helper instance that this method extends. The inner text of the anchor element. @@ -9721,7 +9946,7 @@ The parameter is null or empty. - Returns an anchor element (a element) that contains the virtual path of the specified action. + Returns an anchor element (a element) for the specified link text, action, and controller. An anchor element (a element). The HTML helper instance that this method extends. The inner text of the anchor element. @@ -9730,7 +9955,7 @@ The parameter is null or empty. - Returns an anchor element (a element) that contains the virtual path of the specified action. + Returns an anchor element (a element) for the specified link text, action, controller, route values, and HTML attributes. An anchor element (a element). The HTML helper instance that this method extends. The inner text of the anchor element. @@ -9741,7 +9966,7 @@ The parameter is null or empty. - Returns an anchor element (a element) that contains the virtual path of the specified action. + Returns an anchor element (a element) for the specified link text, action, controller, protocol, host name, URL fragment, route values, and HTML attributes. An anchor element (a element). The HTML helper instance that this method extends. The inner text of the anchor element. @@ -9755,7 +9980,7 @@ The parameter is null or empty. - Returns an anchor element (a element) that contains the virtual path of the specified action. + Returns an anchor element (a element) for the specified link text, action, controller, protocol, host name, URL fragment, route values as a route value dictionary, and HTML attributes as a dictionary. An anchor element (a element). The HTML helper instance that this method extends. The inner text of the anchor element. @@ -9769,7 +9994,7 @@ The parameter is null or empty. - Returns an anchor element (a element) that contains the virtual path of the specified action. + Returns an anchor element (a element) for the specified link text, action, controller, route values as a route value dictionary, and HTML attributes as a dictionary. An anchor element (a element). The HTML helper instance that this method extends. The inner text of the anchor element. @@ -9780,7 +10005,7 @@ The parameter is null or empty. - Returns an anchor element (a element) that contains the virtual path of the specified action. + Returns an anchor element (a element) for the specified link text, action, and route values as a route value dictionary. An anchor element (a element). The HTML helper instance that this method extends. The inner text of the anchor element. @@ -9789,7 +10014,7 @@ The parameter is null or empty. - Returns an anchor element (a element) that contains the virtual path of the specified action. + Returns an anchor element (a element) for the specified link text, action, route values as a route value dictionary, and HTML attributes as a dictionary. An anchor element (a element). The HTML helper instance that this method extends. The inner text of the anchor element. @@ -10438,6 +10663,14 @@ The name of the property or model object that is being validated. An object that contains the HTML attributes for the element. + + Displays a validation message if an error exists for the specified entry in the object. + null if the entry is valid and client-side validation is disabled. Otherwise, a element that contains an error message. + The HTML helper instance that this method operates on. + The name of the entry being validated. + An that contains the HTML attributes for the element. + The tag to be set for the wrapping HTML element of the validation message. + Displays a validation message if an error exists for the specified field in the object. If the property or object is valid, an empty string; otherwise, a span element that contains an error message. @@ -10445,6 +10678,14 @@ The name of the property or model object that is being validated. An object that contains the HTML attributes for the element. + + Displays a validation message if an error exists for the specified entry in the object. + null if the entry is valid and client-side validation is disabled. Otherwise, a element that contains an error message. + The HTML helper instance that this method operates on. + The name of the entry being validated. + An object that contains the HTML attributes for the element. + The tag to be set for the wrapping HTML element of the validation message. + Displays a validation message if an error exists for the specified field in the object. If the property or object is valid, an empty string; otherwise, a span element that contains an error message. @@ -10460,6 +10701,15 @@ The message to display if the specified field contains an error. An object that contains the HTML attributes for the element. + + Displays a validation message if an error exists for the specified entry in the object. + null if the model object is valid and client-side validation is disabled. Otherwise, a element that contains an error message. + The HTML helper instance that this method operates on. + The name of the model object being validated. + The message to display if the specified entry contains an error. + An that contains the HTML attributes for the element. + The tag to be set for the wrapping HTML element of the validation message. + Displays a validation message if an error exists for the specified field in the object. If the property or object is valid, an empty string; otherwise, a span element that contains an error message. @@ -10468,6 +10718,23 @@ The message to display if the specified field contains an error. An object that contains the HTML attributes for the element. + + Displays a validation message if an error exists for the specified entry in the object. + null if the entry is valid and client-side validation is disabled. Otherwise, a element that contains an error message. + The HTML helper instance that this method operates on. + The name of the entry being validated. + The message to display if the specified entry contains an error. + An object that contains the HTML attributes for the element. + The tag to be set for the wrapping HTML element of the validation message. + + + Displays a validation message if an error exists for the specified entry in the object. + null if the entry is valid and client-side validation is disabled. Otherwise, a element that contains an error message. + The HTML helper instance that this method operates on. + The name of the entry being validated. + The message to display if the specified entry contains an error. + The tag to be set for the wrapping HTML element of the validation message. + Returns the HTML markup for a validation-error message for each data field that is represented by the specified expression. If the property or object is valid, an empty string; otherwise, a span element that contains an error message. @@ -10495,6 +10762,17 @@ The type of the model. The type of the property. + + Returns the HTML markup for a validation-error message for the specified expression. + null if the model object is valid and client-side validation is disabled. Otherwise, a element that contains an error message. + The HTML helper instance that this method operates on. + An expression that identifies the object that contains the properties to render. + The message to display if a validation error occurs. + An that contains the HTML attributes for the element. + The tag to be set for the wrapping HTML element of the validation message. + The type of the model. + The type of the property. + Returns the HTML markup for a validation-error message for each data field that is represented by the specified expression, using the specified message and HTML attributes. If the property or object is valid, an empty string; otherwise, a span element that contains an error message. @@ -10505,6 +10783,27 @@ The type of the model. The type of the property. + + Returns the HTML markup for a validation-error message for the specified expression. + null if the model object is valid and client-side validation is disabled. Otherwise, a element that contains an error message. + The HTML helper instance that this method operates on. + An expression that identifies the object that contains the properties to render. + The message to display if a validation error occurs. + An object that contains the HTML attributes for the element. + The tag to be set for the wrapping HTML element of the validation message. + The type of the model. + The type of the property. + + + Returns the HTML markup for a validation-error message for the specified expression. + null if the model object is valid and client-side validation is disabled. Otherwise, a element that contains an error message. + The HTML helper instance that this method operates on. + An expression that identifies the object that contains the properties to render. + The message to display if a validation error occurs. + The tag to be set for the wrapping HTML element of the validation message. + The type of the model. + The type of the property. + Returns an unordered list (ul element) of validation messages that are in the object. A string that contains an unordered list (ul element) of validation messages. @@ -10531,6 +10830,7 @@ The message to display with the validation summary. A dictionary that contains the HTML attributes for the element. + Returns an unordered list (ul element) of validation messages that are in the object and optionally displays only model-level errors. A string that contains an unordered list (ul element) of validation messages. @@ -10539,6 +10839,8 @@ The message to display with the validation summary. An object that contains the HTML attributes for the element. + + Returns an unordered list (ul element) of validation messages that are in the object. A string that contains an unordered list (ul element) of validation messages. @@ -10552,6 +10854,7 @@ The message to display if the specified field contains an error. A dictionary that contains the HTML attributes for the element. + Returns an unordered list (ul element) of validation messages in the object. A string that contains an unordered list (ul element) of validation messages. @@ -10559,6 +10862,8 @@ The message to display if the specified field contains an error. An object that contains the HTML attributes for the element. + + Provides a mechanism to create custom HTML markup compatible with the ASP.NET MVC model binders and templates. @@ -10647,6 +10952,50 @@ The ASP.NET MVC language-specific Razor code parser. The C# or Visual Basic code parser. + + + + Creates instances based on the provided factories and action. The route entries provide direct routing to the provided action. + A set of route entries. + The action descriptor. + The direct route factories. + The constraint resolver. + + + Gets a set of route factories for the given action descriptor. + A set of route factories. + The action descriptor. + + + Gets the area prefix from the provided controller. + The area prefix or null. + The controller descriptor. + + + Creates instances based on the provided factories, controller and actions. The route entries provided direct routing to the provided controller and can reach the set of provided actions. + A set of route entries. + The controller descriptor. + The action descriptors. + The direct route factories. + The constraint resolver. + + + Gets route factories for the given controller descriptor. + A set of route factories. + The controller descriptor. + + + Gets direct routes for the given controller descriptor and action descriptors based on attributes. + A set of route entries. + The controller descriptor. + The action descriptors for all actions. + The constraint resolver. + + + Gets the route prefix from the provided controller. + The route prefix or null. + The controller descriptor. + The default implementation of . Resolves constraints by parsing a constraint key and constraint arguments, using a map to resolve the constraint type, and calling an appropriate constructor for the constraint type. @@ -10748,6 +11097,16 @@ The direct route entry. The context to use to create the route. + + Defines a provider for routes that directly target action descriptors (attribute routes). + + + Gets the direct routes for a controller. + A set of route entries for the controller. + The controller descriptor. + The action descriptors. + The inline constraint resolver. + Defines an abstraction for resolving inline constraints as instances of . diff --git a/lib/aspnetmvc/System.Web.Razor.dll b/lib/aspnetmvc/System.Web.Razor.dll index 60298b8b5..55b1d6a16 100644 Binary files a/lib/aspnetmvc/System.Web.Razor.dll and b/lib/aspnetmvc/System.Web.Razor.dll differ diff --git a/lib/aspnetmvc/System.Web.Razor.xml b/lib/aspnetmvc/System.Web.Razor.xml index e6c01e7dc..f95072fe5 100644 --- a/lib/aspnetmvc/System.Web.Razor.xml +++ b/lib/aspnetmvc/System.Web.Razor.xml @@ -294,7 +294,9 @@ This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the instrumented source file path for the host. The instrumented source file path for the host. - + + Gets or sets whether the design time editor is using tabs or spaces for indentation. + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the namespace imports for the host. The namespace imports for the host. @@ -314,7 +316,9 @@ This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the static helpers for the host. The static helpers for the host. - + + Tab size used by the hosting editor, when indenting with tabs. + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Represents an entry-point to the Razor Template Engine. diff --git a/lib/aspnetmvc/System.Web.WebPages.Deployment.dll b/lib/aspnetmvc/System.Web.WebPages.Deployment.dll index 4b4a31ed5..995d2208a 100644 Binary files a/lib/aspnetmvc/System.Web.WebPages.Deployment.dll and b/lib/aspnetmvc/System.Web.WebPages.Deployment.dll differ diff --git a/lib/aspnetmvc/System.Web.WebPages.Deployment.xml b/lib/aspnetmvc/System.Web.WebPages.Deployment.xml index 0ca4a65ce..221c0785e 100644 --- a/lib/aspnetmvc/System.Web.WebPages.Deployment.xml +++ b/lib/aspnetmvc/System.Web.WebPages.Deployment.xml @@ -1,231 +1,60 @@ - + - - System.Web.WebPages.Deployment - - - - - A strongly-typed resource class, for looking up localized strings, etc. - - - - - Returns the cached ResourceManager instance used by this class. - - - - - Overrides the current thread's CurrentUICulture property for all - resource lookups using this strongly typed resource class. - - - - - Looks up a localized string similar to Value cannot be null or an empty string.. - - - - - Looks up a localized string similar to Value must be between {0} and {1}.. - - - - - Looks up a localized string similar to Value must be a value from the "{0}" enumeration.. - - - - - Looks up a localized string similar to Value must be greater than {0}.. - - - - - Looks up a localized string similar to Value must be greater than or equal to {0}.. - - - - - Looks up a localized string similar to Value must be less than {0}.. - - - - - Looks up a localized string similar to Value must be less than or equal to {0}.. - - - - - Looks up a localized string similar to Value cannot be an empty string. It must either be null or a non-empty string.. - - - - - Returns the version of a System.Web.WebPages.Deployment.dll if it is present in the bin and matches the name and - public key token of the current assembly. - - Version from bin if present, null otherwise. - - - - Reads a special cached file from %WindDir%\Microsoft.NET\Framework\vx.x\ASP.NET Temporary Files\<x>\<y>\UserCache that is - available across AppDomain recycles. - - - - - Creates or opens a special cached file that is created under %WindDir%\Microsoft.NET\Framework\vx.x\ASP.NET Temporary Files\<x>\<y>\UserCache that is - available across AppDomain recycles. - - - - - A strongly-typed resource class, for looking up localized strings, etc. - - - - - Returns the cached ResourceManager instance used by this class. - - - - - Overrides the current thread's CurrentUICulture property for all - resource lookups using this strongly typed resource class. - - - - - Looks up a localized string similar to The "InstallPath" name was not found in the Web Pages registry key "{0}".. - - - - - Looks up a localized string similar to Could not determine which version of ASP.NET Web Pages to use. - - In order to use this site, specify a version in the site’s web.config file. For more information, see the following article on the Microsoft support site: http://go.microsoft.com/fwlink/?LinkId=254126. - - - - - Looks up a localized string similar to The Web Pages registry key "{0}" does not exist.. - - - - - Looks up a localized string similar to Changes were detected in the Web Pages runtime version that require your application to be recompiled. Refresh your browser window to continue.. - - - - - Looks up a localized string similar to Conflicting versions of ASP.NET Web Pages detected: specified version is "{0}", but the version in bin is "{1}". To continue, remove files from the application's bin directory or remove the version specification in web.config.. - - - - - Looks up a localized string similar to Specified Web Pages version "{0}" could not be found. Update your web.config to specify a different version. Current version: "{1}".. - - - - - File name for a temporary file that we drop in bin to force recompilation. - - - - Physical or virtual path to a directory where we need to determine the version of WebPages to be used. - - In a non-hosted scenario, this method would only look at a web.config that is present at the current path. Any config settings at an - ancestor directory would not be considered. - If we are unable to determine a version, we would assume that this is a v1 app. - - - - - This is meant to test an obsolete method. Don't use this! - - - - - Determines if Asp.Net Web Pages is enabled. - Web Pages is enabled if there's a webPages:Enabled key in AppSettings is set to "true" or if there's a cshtml file in the current path - and the key is not present. - - The path at which to determine if web pages is enabled. - - In a non-hosted scenario, this method would only look at a web.config that is present at the current path. Any config settings at an - ancestor directory would not be considered. - - - - - In a non-hosted scenario, this method would only look at a web.config that is present at the current path. Any config settings at an - ancestor directory would not be considered. - - - - - Returns the value for webPages:Enabled AppSetting value in web.config. - - - - - Returns the version of WebPages to be used for a specified path. - - - This method would always returns a value regardless of web pages is explicitly disabled (via config) or implicitly disabled (by virtue of not having a cshtml file) at - the specified path. - - - - - Gets full path to a folder that contains ASP.NET WebPages assemblies for a given version. Used by - WebMatrix and Visual Studio so they know what to copy to an app's Bin folder or deploy to a hoster. - - - - - HttpRuntime.BinDirectory is unavailable in design time and throws if we try to access it. To workaround this, if we aren't hosted, - we will assume that the path that was passed to us is the application root. - - - - - - - Reads a previously persisted version number from build manager's cached directory. - - Null if a previous version number does not exist or is not a valid version number, read version number otherwise. - - - - Persists the version number in a file under the build manager's cached directory. - - - - - Forces recompilation of the application by dropping a file under bin. - - File system instance used to write a file to bin directory. - Path to bin directory of the application - - - - Name of the the temporary file used by BuildManager.CreateCachedFile / BuildManager.ReadCachedFile where we cache WebPages's version number. - - - - - - Key used to indicate to tooling that the compile exception we throw to refresh the app domain originated from us so that they can deal with it correctly. - - - - - WebPages stores the version to be compiled against in AppSettings as >add key="webpages:version" value="1.0" /<. - Changing values AppSettings does not cause recompilation therefore we could run into a state where we have files compiled against v1 but the application is - currently v2. - - - - + + System.Web.WebPages.Deployment + + + + Provides a registration point for pre-application start code for Web Pages deployment. + + + Registers pre-application start code for Web Pages deployment. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Provides methods that are used to get deployment information about the Web application. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the assembly path for the Web Pages deployment. + The assembly path for the Web Pages deployment. + The Web Pages version. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the Web Pages version from the given binary path. + The Web Pages version. + The binary path for the Web Pages. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the assembly references from the given path regardless of the Web Pages version. + The dictionary containing the assembly references of the Web Pages and its version. + The path to the Web Pages application. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the maximum version of the Web Pages loaded assemblies. + The maximum version of the Web Pages loaded assemblies. + + + Gets the Web Pages version from the given path. + The Web Pages version. + The path of the root directory for the application. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the Web Pages version using the configuration settings with the specified path. + The Web Pages version. + The path to the application settings. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Returns the assemblies for this Web Pages deployment. + A list containing the assemblies for this Web Pages deployment. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Indicates whether the Web Pages deployment is enabled. + true if the Web Pages deployment is enabled; otherwise, false. + The path to the Web Pages deployment. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Indicates whether the Web Pages deployment is explicitly disabled. + true if the Web Pages deployment is explicitly disabled; otherwise, false. + The path to the Web Pages deployment. + + + \ No newline at end of file diff --git a/lib/aspnetmvc/System.Web.WebPages.Razor.dll b/lib/aspnetmvc/System.Web.WebPages.Razor.dll index a32a43b1c..589a02b40 100644 Binary files a/lib/aspnetmvc/System.Web.WebPages.Razor.dll and b/lib/aspnetmvc/System.Web.WebPages.Razor.dll differ diff --git a/lib/aspnetmvc/System.Web.WebPages.Razor.xml b/lib/aspnetmvc/System.Web.WebPages.Razor.xml index f5a0a3669..60cc78756 100644 --- a/lib/aspnetmvc/System.Web.WebPages.Razor.xml +++ b/lib/aspnetmvc/System.Web.WebPages.Razor.xml @@ -1,111 +1,292 @@ - + - - System.Web.WebPages.Razor - - - - - A strongly-typed resource class, for looking up localized strings, etc. - - - - - Returns the cached ResourceManager instance used by this class. - - - - - Overrides the current thread's CurrentUICulture property for all - resource lookups using this strongly typed resource class. - - - - - Looks up a localized string similar to Value cannot be null or an empty string.. - - - - - Looks up a localized string similar to Value must be between {0} and {1}.. - - - - - Looks up a localized string similar to Value must be a value from the "{0}" enumeration.. - - - - - Looks up a localized string similar to Value must be greater than {0}.. - - - - - Looks up a localized string similar to Value must be greater than or equal to {0}.. - - - - - Looks up a localized string similar to Value must be less than {0}.. - - - - - Looks up a localized string similar to Value must be less than or equal to {0}.. - - - - - Looks up a localized string similar to Value cannot be an empty string. It must either be null or a non-empty string.. - - - - - For unit testing. - - - - - For unit testing - - - - - Adds a namespace to the global imports list for this AppDomain - - - IMPORTANT: ALL uses of WebPageRazorHost (and derived classes) within the same AppDomain will share this list. - Therefore this method should only be used in runtime scenarios, not in design-time scenarios where the Razor - data structures for multiple files and projects may be shared within a single AppDomain. - - The namespace to add to the global imports list. - - - - A strongly-typed resource class, for looking up localized strings, etc. - - - - - Returns the cached ResourceManager instance used by this class. - - - - - Overrides the current thread's CurrentUICulture property for all - resource lookups using this strongly typed resource class. - - - - - Looks up a localized string similar to Could not determine the code language for "{0}".. - - - - - Looks up a localized string similar to Could not locate Razor Host Factory type: {0}. - - - - + + System.Web.WebPages.Razor + + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Represents the base class for the compiling path that contains event data. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the class. + The string of virtual path. + The host for the webpage razor. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the host for the webpage razor. + The host for the webpage razor. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the virtual path for the webpage. + The virtual path for the webpage. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Represents a build provider for Razor. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the class. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Adds a virtual path dependency to the collection. + A virtual path dependency to add. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the assembly builder for Razor environment. + The assembly builder. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the compiler settings for Razor environment. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Occurs when code generation is completed. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Occurs when code generation is started. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Occurs when compiling with a new virtual path. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a Razor engine host instance base on web configuration. + A Razor engine host instance. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Generates the code using the provided assembly builder. + The assembly builder. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the type of the generated code. + The type of the generated code. + The results of the code compilation. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates the Razor engine host instance based on the web configuration. + The Razor engine host instance. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Opens an internal text reader. + An internal text reader. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Raises the CompilingPath event. + The data provided for the CompilingPath event. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the virtual path of the source code. + The virtual path of the source code. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the collection of virtual path for the dependencies. + The collection of virtual path for the dependencies. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Represents a web code razor host for the web pages. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the class. + The virtual path. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the class. + The virtual path. + The physical path. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Returns the class name of this instance. + The class name of this instance. + The virtual path. + + + Generates a post process code for the web code razor host. + The generator code context. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Represents the razor hosts in a webpage. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the class with the specified virtual file path. + The virtual file path. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the class with the specified virtual and physical file path. + The virtual file path. + The physical file path. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Adds a global import on the webpage. + The notification service name. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the . + The . + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a markup parser. + A markup parser. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets a value for the DefaultBaseClass. + A value for the DefaultBaseClass. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the name of the default class. + The name of the default class. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets a value that indicates whether the debug compilation is set to default. + true if the debug compilation is set to default; otherwise, false. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the base class of the default page. + The base class of the default page. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Retrieves the name of the class to which the specified webpage belongs. + The name of the class to which the specified webpage belongs. + The virtual file path. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the code language specified in the webpage. + The code language specified in the webpage. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the global imports for the webpage. + The global imports for the webpage. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the file path of the instrumental source. + The file path of the instrumental source. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets a value that indicates whether the webpage is a special page. + true if the webpage is a special page; otherwise, false. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the physical file system path of the razor host. + They physical file system path of the razor host. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the generated code after the process. + The . + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Registers the special file with the specified file name and base type name. + The file name. + The base type name. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Registers the special file with the specified file name and base type. + The file name. + The type of base file. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the virtual file path. + The virtual file path. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates instances of the host files. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the class. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Loads the service description information from the configuration file and applies it to the host. + The configuration. + The webpage razor host. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a default host with the specified virtual path. + A default host. + The virtual path of the file. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a default host with the specified virtual and physical path. + A default host. + The virtual path of the file. + The physical file system path. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a Razor host. + A razor host. + The virtual path to the target file. + The physical path to the target file. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a host from the configuration. + A host from the configuration. + The virtual path to the target file. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a host from the configuration. + A host from the configuration. + The virtual path of the file. + The physical file system path. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a host from the configuration. + A host from the configuration. + The configuration. + The virtual path of the file. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a host from the configuration. + A host from the configuration. + The configuration. + The virtual path of the file. + The physical file system path. + + + Provides configuration system support for the host configuration section. + + + Initializes a new instance of the class. + + + Gets or sets the host factory. + The host factory. + + + Represents the name of the configuration section for a Razor host environment. + + + Provides configuration system support for the pages configuration section. + + + Initializes a new instance of the class. + + + Gets or sets the collection of namespaces to add to Web Pages pages in the current application. + The collection of namespaces. + + + Gets or sets the name of the page base type class. + The name of the page base type class. + + + Represents the name of the configuration section for Razor pages. + + + Provides configuration system support for the system.web.webPages.razor configuration section. + + + Initializes a new instance of the class. + + + Represents the name of the configuration section for Razor Web section. Contains the static, read-only string "system.web.webPages.razor". + + + Gets or sets the host value for system.web.webPages.razor section group. + The host value. + + + Gets or sets the value of the pages element for the system.web.webPages.razor section. + The pages element value. + + + \ No newline at end of file diff --git a/lib/aspnetmvc/System.Web.WebPages.dll b/lib/aspnetmvc/System.Web.WebPages.dll index 49f03e5df..a2e112899 100644 Binary files a/lib/aspnetmvc/System.Web.WebPages.dll and b/lib/aspnetmvc/System.Web.WebPages.dll differ diff --git a/lib/aspnetmvc/System.Web.WebPages.xml b/lib/aspnetmvc/System.Web.WebPages.xml index 8c6bbd8cc..a394054e9 100644 --- a/lib/aspnetmvc/System.Web.WebPages.xml +++ b/lib/aspnetmvc/System.Web.WebPages.xml @@ -1,1039 +1,2706 @@ - + - - System.Web.WebPages - - - - - A strongly-typed resource class, for looking up localized strings, etc. - - - - - Returns the cached ResourceManager instance used by this class. - - - - - Overrides the current thread's CurrentUICulture property for all - resource lookups using this strongly typed resource class. - - - - - Looks up a localized string similar to Value cannot be null or an empty string.. - - - - - Looks up a localized string similar to Value must be between {0} and {1}.. - - - - - Looks up a localized string similar to Value must be a value from the "{0}" enumeration.. - - - - - Looks up a localized string similar to Value must be greater than {0}.. - - - - - Looks up a localized string similar to Value must be greater than or equal to {0}.. - - - - - Looks up a localized string similar to Value must be less than {0}.. - - - - - Looks up a localized string similar to Value must be less than or equal to {0}.. - - - - - Looks up a localized string similar to Value cannot be an empty string. It must either be null or a non-empty string.. - - - - - Helper extension methods for fast use of collections. - - - - - Return a new array with the value added to the end. Slow and best suited to long lived arrays with few writes relative to reads. - - - - - Return the enumerable as an Array, copying if required. Optimized for common case where it is an Array. - Avoid mutating the return value. - - - - - Return the enumerable as a Collection of T, copying if required. Optimized for the common case where it is - a Collection of T and avoiding a copy if it implements IList of T. Avoid mutating the return value. - - - - - Return the enumerable as a IList of T, copying if required. Avoid mutating the return value. - - - - - Return the enumerable as a List of T, copying if required. Optimized for common case where it is an List of T - or a ListWrapperCollection of T. Avoid mutating the return value. - - - - - Remove values from the list starting at the index start. - - - - - Return the only value from list, the type's default value if empty, or call the errorAction for 2 or more. - - - - - Returns a single value in list matching type TMatch if there is only one, null if there are none of type TMatch or calls the - errorAction with errorArg1 if there is more than one. - - - - - Convert an ICollection to an array, removing null values. Fast path for case where there are no null values. - - - - - Convert the array to a Dictionary using the keySelector to extract keys from values and the specified comparer. Optimized for array input. - - - - - Convert the list to a Dictionary using the keySelector to extract keys from values and the specified comparer. Optimized for IList of T input with fast path for array. - - - - - Convert the enumerable to a Dictionary using the keySelector to extract keys from values and the specified comparer. Fast paths for array and IList of T. - - - - - Convert the list to a Dictionary using the keySelector to extract keys from values and the specified comparer. Optimized for IList of T input. No checking for other types. - - - - - Helper to provide empty instances with minimal allocation. - - - - - Returns a zero length array of type. Only allocates once per distinct type. - - - - - A class that inherits from Collection of T but also exposes its underlying data as List of T for performance. - - - - - Helpers for working with IO paths. - - - - - Returns whether the path has the specified file extension. - - - - - Expands a virtual path by replacing a leading "@" with the application part root - or combining it with the specified baseVirtualPath - - - - - Normalizes path relative to the current virtual path and throws if a file does not exist at the location. - - - - - The current BrowserOverrideStore is used to get and set the user agent of a request. - For an example see CookieBasedBrowserOverrideStore. - - - - - The current BrowserOverrideStore - - - - - BrowserOverrides can be used by BrowserHelpers to override the browser for a particular request. - - - - - Wraps the caching and instantiation of paths of the BuildManager. - In case of precompiled non-updateable sites, the only way to verify if a file exists is to call BuildManager.GetObjectFactory. However this method is less performant than - VirtualPathProvider.FileExists which is used for all other scenarios. In this class, we optimize for the first scenario by storing the results of GetObjectFactory for a - long duration. - - - - - Determines if a page exists in the website. - This method switches between a long duration cache or a short duration FileExistenceCache depending on whether the site is precompiled. - This is an optimization because BuildManager.GetObjectFactory is comparably slower than performing VirtualPathFactory.Exists - - - - - An app's is precompiled for our purposes if - (a) it has a PreCompiledApp.config file in the site root, - (b) The PreCompiledApp.config says that the app is not Updatable. - - - This code is based on System.Web.DynamicData.Misc.IsNonUpdatablePrecompiledAppNoCache (DynamicData) - - - - - Determines if a site exists in the VirtualPathProvider. - Results of hits are cached for a very short amount of time in the FileExistenceCache. - - - - - Determines if an ObjectFactory exists for the virtualPath. - The BuildManager complains if we pass in extensions that aren't registered for compilation. So we ensure that the virtual path is not - extensionless and that it is one of the extension - - - - - Determines if the extension is one of the extensions registered with WebPageHttpHandler. - - - - - Creates a reasonably unique key for a given virtual path by concatenating it with a Guid. - - - - - The default BrowserOverrideStore. Gets overridden user agent for a request from a cookie. - Creates a cookie to set the overridden user agent. - - - - - Creates the BrowserOverrideStore setting any browser override cookie to expire in 7 days. - - - - - Constructor to control the expiration of the browser override cookie. - - - - - Looks for a user agent by searching for the browser override cookie. If no cookie is found - returns null. - - - - - Adds a browser override cookie with the set user agent to the response of the current request. - If the user agent is null the browser override cookie is set to expire, otherwise its expiration is set - to daysToExpire, specified when CookieBasedOverrideStore is created. - - - - - DisplayInfo wraps the resolved file path and IDisplayMode for a request and path. - The returned IDisplayMode can be used to resolve other page elements for the request. - - - - - The Display Mode used to resolve a virtual path. - - - - - Resolved path of a file that exists. - - - - - Returns any IDisplayMode that can handle the given request. - - - - - Returns DisplayInfo from the first IDisplayMode in Modes that can handle the given request and locate the virtual path. - If currentDisplayMode is not null and RequireConsistentDisplayMode is set to true the search for DisplayInfo will only - start with the currentDisplayMode. - - - - - Restricts the search for Display Info to Display Modes either equal to or following the current - Display Mode in Modes. For example, a page being rendered in the Default Display Mode will not - display Mobile partial views in order to achieve a consistent look and feel. - - - - - All Display Modes that are available to handle a request. - - - - - Extension methods used to determine what browser a visitor wants to be seen as using. - - - - - Stock IE6 user agent string - - - - - Stock Windows Mobile 6.0 user agent string - - - - - Clears the set browser for the request. After clearing the browser the overridden browser will be the browser for the request. - - - - - Gets the overridden browser for the request based on the overridden user agent. - If no overridden user agent is set, returns the browser for the request. - - - - - Internal GetOverriddenBrowser overload to allow the browser creation function to changed. Defaults to CreateOverridenBrowser if createBrowser is null. - - - - - Gets the overridden user agent for the request. If no overridden user agent is set, returns the user agent for the request. - - - - - Gets a string that varies based upon the type of the browser. Can be used to override - System.Web.HttpApplication.GetVaryByCustomString to differentiate cache keys based on - the overridden browser. - - - - - Gets a string that varies based upon the type of the browser. Can be used to override - System.Web.HttpApplication.GetVaryByCustomString to differentiate cache keys based on - the overridden browser. - - - - - Sets the overridden user agent for the request using a BrowserOverride. - - - - - Sets the overridden user agent for the request using a string - - - - - Provides programmatic configuration for the anti-forgery token system. - - - - - Specifies an object that can provide additional data to put into all - generated tokens and that can validate additional data in incoming - tokens. - - - - - Specifies the name of the cookie that is used by the anti-forgery - system. - - - If an explicit name is not provided, the system will automatically - generate a name. - - - - - Specifies whether SSL is required for the anti-forgery system - to operate. If this setting is 'true' and a non-SSL request - comes into the system, all anti-forgery APIs will fail. - - - - - Specifies whether to suppress the generation of X-Frame-Options header - which is used to prevent ClickJacking. By default, the X-Frame-Options - header is generated with the value SAMEORIGIN. If this setting is 'true', - the X-Frame-Options header will not be generated for the response. - - - - - Specifies whether the anti-forgery system should skip checking - for conditions that might indicate misuse of the system. Please - use caution when setting this switch, as improper use could open - security holes in the application. - - - Setting this switch will disable several checks, including: - - Identity.IsAuthenticated = true without Identity.Name being set - - special-casing claims-based identities - - - - - If claims-based authorization is in use, specifies the claim - type from the identity that is used to uniquely identify the - user. If this property is set, all claims-based identities - must return unique values for this claim type. - - - If claims-based authorization is in use and this property has - not been set, the anti-forgery system will automatically look - for claim types "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier" - and "http://schemas.microsoft.com/accesscontrolservice/2010/07/claims/identityprovider". - - - - - Allows providing or validating additional custom data for anti-forgery tokens. - For example, the developer could use this to supply a nonce when the token is - generated, then he could validate the nonce when the token is validated. - - - The anti-forgery system already embeds the client's username within the - generated tokens. This interface provides and consumes supplemental - data. If an incoming anti-forgery token contains supplemental data but no - additional data provider is configured, the supplemental data will not be - validated. - - - - - Provides additional data to be stored for the anti-forgery tokens generated - during this request. - - Information about the current request. - Supplemental data to embed within the anti-forgery token. - - - - Validates additional data that was embedded inside an incoming anti-forgery - token. - - Information about the current request. - Supplemental data that was embedded within the token. - True if the data is valid; false if the data is invalid. - - - - An interface that provides DisplayInfo for a virtual path and request. An IDisplayMode may modify the virtual path before checking - if it exists. CanHandleContext is called to determine if the Display Mode is available to return display info for the request. - GetDisplayInfo should return null if the virtual path does not exist. For an example implementation, see DefaultDisplayMode. - DisplayModeId is used to cache the non-null result of a call to GetDisplayInfo and should be unique for each Display Mode. See - DisplayModes for the built-in Display Modes and their ids. - - - - - The can take any suffix and determine if there is a corresponding - file that exists given a path and request by transforming the path to contain the suffix. - Add a new DefaultDisplayMode to the Modes collection to handle a new suffix or inherit from - DefaultDisplayMode to provide custom logic to transform paths with a suffix. - - - - - Returns DisplayInfo with the transformed path if it exists. - - - - - Transforms paths according to the following rules: - \some\path.blah\file.txt.zip -> \some\path.blah\file.txt.suffix.zip - \some\path.blah\file -> \some\path.blah\file.suffix - - - - - When set, the will only be available to return Display Info for a request - if the ContextCondition evaluates to true. - - - - - This class caches the result of VirtualPathProvider.FileExists for a short - period of time, and recomputes it if necessary. - - The default VPP MapPathBasedVirtualPathProvider caches the result of - the FileExists call with the appropriate dependencies, so it is less - expensive on subsequent calls, but it still needs to do MapPath which can - take quite some time. - - - - - Provides access to the anti-forgery system, which provides protection against - Cross-site Request Forgery (XSRF, also called CSRF) attacks. - - - - - Generates an anti-forgery token for this request. This token can - be validated by calling the Validate() method. - - An HTML string corresponding to an <input type="hidden"> - element. This element should be put inside a <form>. - - This method has a side effect: it may set a response cookie. - - - - - Generates an anti-forgery token pair (cookie and form token) for this request. - This method is similar to GetHtml(), but this method gives the caller control - over how to persist the returned values. To validate these tokens, call the - appropriate overload of Validate. - - The anti-forgery token - if any - that already existed - for this request. May be null. The anti-forgery system will try to reuse this cookie - value when generating a matching form token. - Will contain a new cookie value if the old cookie token - was null or invalid. If this value is non-null when the method completes, the caller - must persist this value in the form of a response cookie, and the existing cookie value - should be discarded. If this value is null when the method completes, the existing - cookie value was valid and needn't be modified. - The value that should be stored in the <form>. The caller - should take care not to accidentally swap the cookie and form tokens. - - Unlike the GetHtml() method, this method has no side effect. The caller - is responsible for setting the response cookie and injecting the returned - form token as appropriate. - - - - - Validates an anti-forgery token that was supplied for this request. - The anti-forgery token may be generated by calling GetHtml(). - - - Throws an HttpAntiForgeryException if validation fails. - - - - - Validates an anti-forgery token pair that was generated by the GetTokens method. - - The token that was supplied in the request cookie. - The token that was supplied in the request form body. - - Throws an HttpAntiForgeryException if validation fails. - - - - - RequestBrowserOverrideStore simply returns the user agent of the current request. - - - - - Initializes a fast property helper. This constructor does not cache the helper. - - - - - Creates a single fast property setter. The result is not cached. - - propertyInfo to extract the getter for. - a fast setter. - This method is more memory efficient than a dynamically compiled lambda, and about the same speed. - - - - Creates and caches fast property helpers that expose getters for every public get property on the underlying type. - - the instance to extract property accessors for. - a cached array of all public property getters from the underlying type of this instance. - - - - Creates a single fast property getter. The result is not cached. - - propertyInfo to extract the getter for. - a fast getter. - This method is more memory efficient than a dynamically compiled lambda, and about the same speed. - - - - Given an object of anonymous type, add each property as a key and associated with its value to a dictionary. - - This helper will cache accessors and types, and is intended when the anonymous object is accessed multiple - times throughout the lifetime of the web application. - - - - - Given an object of anonymous type, add each property as a key and associated with its value to a dictionary. - - This helper will not cache accessors and types, and is intended when the anonymous object is accessed once - or very few times throughout the lifetime of the web application. - - - - - Given an object of anonymous type, add each property as a key and associated with its value to the given dictionary. - - - - This code is copied from http://www.liensberger.it/web/blog/?p=191 - - - - Determines if a type is displayable as part of a Url path. - - - If a type is a displayable type, then we format values of that type as part of the Url Path. If not, then - we attempt to create a RouteValueDictionary, and encode the value as key-value pairs in the query string. - - We determine if a type is displayable by whether or not it implements any interfaces. The built-in simple - types like Int32 implement IFormattable, which will be used to convert it to a string. - - Primarily we do this check to allow anonymous types to represent key-value pairs (anonymous types don't - implement any interfaces). - - - - - Meant for unit tests that causes RequestFieldValidatorBase to basically ignore the unvalidated field requirement. - - - - - An interface that provides information about the current executing file. - WebPageRenderingBase implements this type so that all pages excluding AppStart pages could be queried to identify the - current executing file. - - - - - Wrapper class to be used by _pagestart.cshtml files to call into - the actual page. - Most of the properties and methods just delegate the call to ChildPage.XXX - - - - - Returns either the root-most init page, or the provided page itself if no init page is found - - - - - This is a wrapper around PageDataDictionary[[dynamic]] which allows dynamic - access (e.g. dict.Foo). Like PageDataDictionary, it returns null if the key is not found, - instead of throwing an exception. - This class is intended to be used as DynamicPageDataDictionary[[dynamic]] - - - - - Wraps HTML markup in an IHtmlString, which will enable HTML markup to be - rendered to the output without getting HTML encoded. - - HTML markup string. - An IHtmlString that represents HTML markup. - - - - Wraps HTML markup from the string representation of an object in an IHtmlString, - which will enable HTML markup to be rendered to the output without getting HTML encoded. - - object with string representation as HTML markup - An IHtmlString that represents HTML markup. - - - - Creates a dictionary of HTML attributes from the input object, - translating underscores to dashes. - - new { data_name="value" } will translate to the entry { "data-name" , "value" } - in the resulting dictionary. - - - Anonymous object describing HTML attributes. - A dictionary that represents HTML attributes. - - - - The application level storage context that uses a static dictionary as a backing store. - - - - - Initializes a new instance of the class. - - The base scope. - - The dictionary to use as a storage. Since the dictionary would be used as-is, we expect the implementer to - use the same key-value comparison logic as we do here. - - - - - Custom comparer for the context dictionaries - The comparer treats strings as a special case, performing case insesitive comparison. - This guaratees that we remain consistent throughout the chain of contexts since PageData dictionary - behaves in this manner. - - - - - TemplateFileInfo specifies properties of a template such as VirtualPath. - This type allows us to modify the behavior of ITemplateFile between releases without changing the interface. - - - - - Template stacks store a stack of template files. WebPageExecutingBase implements this type, so when executing Plan9 or Mvc WebViewPage, - the stack would contain instances of the page. - The stack can be queried to identify properties of the current executing file such as the virtual path of the file. - - - - - Path.GetExtension performs a CheckInvalidPathChars(path) which blows up for paths that do not translate to valid physical paths but are valid paths in ASP.NET - This method is a near clone of Path.GetExtension without a call to CheckInvalidPathChars(path); - - - - - Determines true if the path is simply "MyPath", and not app-relative "~/MyPath" or absolute "/MyApp/MyPath" or relative "../Test/MyPath" - - True if it is a not app-relative, absolute or relative. - - - - This is a wrapper around Dictionary so that using PageData[key] returns null - if the key is not found, instead of throwing an exception. - - - - - A strongly-typed resource class, for looking up localized strings, etc. - - - - - Returns the cached ResourceManager instance used by this class. - - - - - Overrides the current thread's CurrentUICulture property for all - resource lookups using this strongly typed resource class. - - - - - Looks up a localized string similar to The provided anti-forgery token failed a custom data check.. - - - - - Looks up a localized string similar to The provided anti-forgery token was meant for a different claims-based user than the current user.. - - - - - Looks up a localized string similar to The required anti-forgery cookie "{0}" is not present.. - - - - - Looks up a localized string similar to The anti-forgery token could not be decrypted. If this application is hosted by a Web Farm or cluster, ensure that all machines are running the same version of ASP.NET Web Pages and that the <machineKey> configuration specifies explicit encryption and validation keys. AutoGenerate cannot be used in a cluster.. - - - - - Looks up a localized string similar to The required anti-forgery form field "{0}" is not present.. - - - - - Looks up a localized string similar to The anti-forgery cookie token and form field token do not match.. - - - - - Looks up a localized string similar to Validation of the provided anti-forgery token failed. The cookie "{0}" and the form field "{1}" were swapped.. - - - - - Looks up a localized string similar to The provided anti-forgery token was meant for user "{0}", but the current user is "{1}".. - - - - - Looks up a localized string similar to The anti-forgery system has the configuration value AntiForgeryConfig.RequireSsl = true, but the current request is not an SSL request.. - - - - - Looks up a localized string similar to The assembly "{0}" is already registered.. - - - - - Looks up a localized string similar to An application module is already registered for virtual path "{0}".. - - - - - Looks up a localized string similar to Unable to find an application module with the name "{0}".. - - - - - Looks up a localized string similar to The assembly "{0}" is not a registered application module.. - - - - - Looks up a localized string similar to The resource file "{0}" could not be found.. - - - - - Looks up a localized string similar to A claim of type '{0}' was not present on the provided ClaimsIdentity.. - - - - - Looks up a localized string similar to A claim of type 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier' or 'http://schemas.microsoft.com/accesscontrolservice/2010/07/claims/identityprovider' was not present on the provided ClaimsIdentity. To enable anti-forgery token support with claims-based authentication, please verify that the configured claims provider is providing both of these claims on the ClaimsIdentity instances it generates. If the configured claims provider instead uses a different claim type as a unique identif [rest of string was truncated]";. - - - - - Looks up a localized string similar to Index length must be exactly one.. - - - - - Looks up a localized string similar to Index must be of type string or int when getting a value.. - - - - - Looks up a localized string similar to Index must be of type string when setting a value.. - - - - - Looks up a localized string similar to The parameter conversion from type "{0}" to type "{1}" failed. See the inner exception for more information.. - - - - - Looks up a localized string similar to The parameter conversion from type "{0}" to type "{1}" failed because no type converter can convert between these types.. - - - - - Looks up a localized string similar to An HttpContext is required to perform this operation. Check that this operation is being performed during a web request.. - - - - - Looks up a localized string similar to Value "{0}" specified in "{1}" is an invalid value for the SessionState directive. Possible values are: "{2}".. - - - - - Looks up a localized string similar to At most one SessionState value can be declared per page.. - - - - - Looks up a localized string similar to RequestScope cannot be created when _AppStart is executing.. - - - - - Looks up a localized string similar to Storage scope is read only.. - - - - - Looks up a localized string similar to Storage scopes cannot be created when _AppStart is executing.. - - - - - Looks up a localized string similar to The provided identity of type '{0}' is marked IsAuthenticated = true but does not have a value for Name. By default, the anti-forgery system requires that all authenticated identities have a unique Name. If it is not possible to provide a unique Name for this identity, consider setting the static property AntiForgeryConfig.AdditionalDataProvider to an instance of a type that can provide some form of unique identifier for the current user.. - - - - - Looks up a localized string similar to Validation parameter names in unobtrusive client validation rules cannot be empty. Client rule type: {0}. - - - - - Looks up a localized string similar to Validation parameter names in unobtrusive client validation rules must start with a lowercase letter and consist of only lowercase letters or digits. Validation parameter name: {0}, client rule type: {1}. - - - - - Looks up a localized string similar to Validation type names in unobtrusive client validation rules cannot be empty. Client rule type: {0}. - - - - - Looks up a localized string similar to Validation type names in unobtrusive client validation rules must consist of only lowercase letters. Invalid name: "{0}", client rule type: {1}. - - - - - Looks up a localized string similar to Validation type names in unobtrusive client validation rules must be unique. The following validation type was seen more than once: {0}. - - - - - Looks up a localized string similar to The UrlData collection is read-only.. - - - - - Looks up a localized string similar to Input format is invalid.. - - - - - Looks up a localized string similar to Values do not match.. - - - - - Looks up a localized string similar to Value must be a decimal between {0} and {1}.. - - - - - Looks up a localized string similar to Value must be an integer between {0} and {1}.. - - - - - Looks up a localized string similar to Value is invalid.. - - - - - Looks up a localized string similar to This field is required.. - - - - - Looks up a localized string similar to Max length: {0}.. - - - - - Looks up a localized string similar to String must be between {0} and {1} characters.. - - - - - Looks up a localized string similar to The file "{0}" cannot be requested directly because it calls the "{1}" method.. - - - - - Looks up a localized string similar to The following file could not be rendered because its extension "{0}" might not be supported: "{1}".. - - - - - Looks up a localized string similar to The file "{0}" could not be rendered, because it does not exist or is not a valid page.. - - - - - Looks up a localized string similar to The layout page "{0}" could not be found at the following path: "{1}".. - - - - - Looks up a localized string similar to The "RenderBody" method has already been called.. - - - - - Looks up a localized string similar to The "RenderBody" method has not been called for layout page "{0}".. - - - - - Looks up a localized string similar to Section already defined: "{0}".. - - - - - Looks up a localized string similar to The "RenderSection" method has already been called for the section named "{0}".. - - - - - Looks up a localized string similar to Section not defined: "{0}".. - - - - - Looks up a localized string similar to The following sections have been defined but have not been rendered for the layout page "{0}": "{1}".. - - - - - Looks up a localized string similar to Files with leading underscores ("_") cannot be served.. - - - - - Attempts to create a WebPageBase instance from a virtualPath and wraps complex compiler exceptions with simpler messages - - - - + + System.Web.WebPages + + + + Helps prevent malicious scripts from submitting forged page requests. + + + Adds an authenticating token to a form to help protect against request forgery. + Returns a string that contains the encrypted token value in a hidden HTML field. + The current object is null. + + + Adds an authenticating token to a form to help protect against request forgery and lets callers specify authentication details. + Returns the encrypted token value in a hidden HTML field. + The HTTP context data for a request. + An optional string of random characters (such as Z*7g1&p4) that is used to add complexity to the encryption for extra safety. The default is null. + The domain of a web application that a request is submitted from. + The virtual root path of a web application that a request is submitted from. + + is null. + + + Gets the search tokens. + The previous cookie token. + The new cookie token. + The form of the token. + + + Validates that input data from an HTML form field comes from the user who submitted the data. + The current value is null. + The HTTP cookie token that accompanies a valid request is missing-or-The form token is missing.-or-The form token value does not match the cookie token value.-or-The form token value does not match the cookie token value. + + + Validates that input data from an HTML form field comes from the user who submitted the data. + The cookie token value. + The token form. + + + Validates that input data from an HTML form field comes from the user who submitted the data and lets callers specify additional validation details. + The HTTP context data for a request. + An optional string of random characters (such as Z*7g1&p4) that is used to decrypt an authentication token created by the class. The default is null. + The current value is null. + The HTTP cookie token that accompanies a valid request is missing.-or-The form token is missing.-or-The form token value does not match the cookie token value.-or-The form token value does not match the cookie token value.-or-The value supplied does not match the value that was used to create the form token. + + + Provides programmatic configuration for the anti-forgery token system. + + + Gets a data provider that can provide additional data to put into all generated tokens and that can validate additional data in incoming tokens. + The data provider. + + + Gets or sets the name of the cookie that is used by the anti-forgery system. + The cookie name. + + + Gets or sets a value that indicates whether the anti-forgery cookie requires SSL in order to be returned to the server. + true if SSL is required to return the anti-forgery cookie to the server; otherwise, false. + + + Gets or sets a value that indicates whether the anti-forgery system should skip checking for conditions that might indicate misuse of the system. + true if the anti-forgery system should not check for possible misuse; otherwise, false. + + + Specifies whether to suppress the generation of X-Frame-Options header which is used to prevent ClickJacking. By default, the X-Frame-Options header is generated with the value SAMEORIGIN. If this setting is 'true', the X-Frame-Options header will not be generated for the response. + + + If claims-based authorization is in use, gets or sets the claim type from the identity that is used to uniquely identify the user. + The claim type. + + + Provides a way to include or validate custom data for anti-forgery tokens. + + + Provides additional data to store for the anti-forgery tokens that are generated during this request. + The supplemental data to embed in the anti-forgery token. + Information about the current request. + + + Validates additional data that was embedded inside an incoming anti-forgery token. + true if the data is valid, or false if the data is invalid. + Information about the current request. + The supplemental data that was embedded in the token. + + + Provides access to unvalidated form values in the object. + + + Gets a collection of unvalidated form values that were posted from the browser. + An unvalidated collection of form values. + + + Gets the specified unvalidated object from the collection of posted values in the object. + The specified member, or null if the specified item is not found. + + + Gets a collection of unvalidated query-string values. + A collection of unvalidated query-string values. + + + Excludes fields of the Request object from being checked for potentially unsafe HTML markup and client script. + + + Returns a version of form values, cookies, and query-string variables without checking them first for HTML markup and client script. + An object that contains unvalidated versions of the form and query-string values. + The object that contains values to exclude from request validation. + + + Returns a value from the specified form field, cookie, or query-string variable without checking it first for HTML markup and client script. + A string that contains unvalidated text from the specified field, cookie, or query-string value. + The object that contains values to exclude from validation. + The name of the field to exclude from validation. can refer to a form field, to a cookie, or to the query-string variable. + + + Returns all values from the Request object (including form fields, cookies, and the query string) without checking them first for HTML markup and client script. + An object that contains unvalidated versions of the form, cookie, and query-string values. + The object that contains values to exclude from validation. + + + Returns the specified value from the Request object without checking it first for HTML markup and client script. + A string that contains unvalidated text from the specified field, cookie, or query-string value. + The object that contains values to exclude from validation. + The name of the field to exclude from validation. can refer to a form field, to a cookie, or to the query-string variable. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. + + + This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the class. + + + This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Initializes a new instance of the class. + The containing message. + + + This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Initializes a new instance of the class. + The message. + The inner exception. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. + The error message. + The other. + + + + + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. + The error message. + The minimum value. + The maximum value. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Initializes a new instance of the class. + The exception message. + The pattern. + + + Represents the remote rule for the validation of the model client. + + + Initializes a new instance of the class. + The error message. + The URL of the rule. + The HTTP method. + The additional fields used. + + + Represents the required rule for the validation of the model client. + + + Initializes a new instance of the class. + The error message + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Represents a length of the validation rule of the model client. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the class. + The error message. + The minimum length of the validation rule. + The maximum length of the validation rule. + + + Contains classes and properties that are used to create HTML elements. This class is used to write helpers, such as those found in the namespace. + + + Creates a new tag that has the specified tag name. + The tag name without the "<", "/", or ">" delimiters. + + is null or empty. + + + Adds a CSS class to the list of CSS classes in the tag. + The CSS class to add. + + + Gets the collection of attributes. + The collection of attributes. + + + Replaces each invalid character in the tag ID with a valid HTML character. + The sanitized tag ID, or null if is null or empty, or if does not begin with a letter. + The ID that might contain characters to replace. + + + Replaces each invalid character in the tag ID with the specified replacement string. + The sanitized tag ID, or null if is null or empty, or if does not begin with a letter. + The ID that might contain characters to replace. + The replacement string. + + is null. + + + Generates a sanitized ID attribute for the tag by using the specified name. + The name to use to generate an ID attribute. + + + Gets or sets a string that can be used to replace invalid HTML characters. + The string to use to replace invalid HTML characters. + + + Gets or sets the inner HTML value for the element. + The inner HTML value for the element. + + + Adds a new attribute to the tag. + The key for the attribute. + The value of the attribute. + + + Adds a new attribute or optionally replaces an existing attribute in the opening tag. + The key for the attribute. + The value of the attribute. + true to replace an existing attribute if an attribute exists that has the specified value, or false to leave the original attribute unchanged. + + + Adds new attributes to the tag. + The collection of attributes to add. + The type of the key object. + The type of the value object. + + + Adds new attributes or optionally replaces existing attributes in the tag. + The collection of attributes to add or replace. + For each attribute in , true to replace the attribute if an attribute already exists that has the same key, or false to leave the original attribute unchanged. + The type of the key object. + The type of the value object. + + + Sets the property of the element to an HTML-encoded version of the specified string. + The string to HTML-encode. + + + Gets the tag name for this tag. + The name. + + + Renders the element as a element. + + + Renders the HTML tag by using the specified render mode. + The rendered HTML tag. + The render mode. + + + Enumerates the modes that are available for rendering HTML tags. + + + Represents the mode for rendering a closing tag (for example, </tag>). + + + Represents the mode for rendering normal text. + + + Represents the mode for rendering a self-closing tag (for example, <tag />). + + + Represents the mode for rendering an opening tag (for example, <tag>). + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the validation attributes from the structure or content of . + The to be implemented. + The result of the validation. + + + Contains methods to register assemblies as application parts. + + + Initializes a new instance of the class by using the specified assembly and root virtual path. + The assembly. + The root virtual path. + + is null or empty. + + + Resolves a path to the specified assembly or resource within an assembly by using the specified base virtual path and specified virtual path. + The path of the assembly or resource. + The assembly. + The base virtual path. + The virtual path. + + is not registered. + + + Adds an assembly and all web pages within the assembly to the list of available application parts. + The application part. + + is already registered. + + + Provides objects and methods that are used to execute and render ASP.NET Web Pages application start pages (_AppStart.cshtml or _AppStart.vbhtml files). + + + Initializes a new instance of the class. + + + Gets the HTTP application object that references this application startup page. + The HTTP application object that references this application startup page. + + + The prefix that is applied to all keys that are added to the cache by the application start page. + + + Gets the object that represents context data that is associated with this page. + The current context data. + + + Returns the text writer instance that is used to render the page. + The text writer. + + + Gets the output from the application start page as an HTML-encoded string. + The output from the application start page as an HTML-encoded string. + + + Gets the text writer for the page. + The text writer for the page. + + + The path to the application start page. + + + Gets or sets the virtual path of the page. + The virtual path. + + + Writes the string representation of the specified object as an HTML-encoded string. + The object to encode and write. + + + Writes the specified object as an HTML-encoded string. + The helper result to encode and write. + + + Writes the specified object without HTML encoding. + The object to write. + + + Stores the value for an attribute.This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. + + + Initializes a new instance of the class.This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. + The namespace prefix for the attribute. + The value for the attribute. + true to indicate that the value is a literal value; otherwise, false. + + + Creates an attribute value from the specified tuple object. + The created attribute value. + The tuple object from which to create from. + + + Creates an attribute value from the specified tuple object. + The created attribute value. + The tuple object from which to create from. + + + Gets or sets a value that indicates whether the value is a literal value.This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. + true if the value is a literal value; otherwise, false. + + + Creates an attribute value from the specified tuple object. + The created attribute value. + The tuple object from which to create from. + + + Creates an attribute value from the specified tuple object. + The created attribute value. + The tuple object from which to create from. + + + Gets or sets the namespace prefix for the attribute.This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. + The namespace prefix for the attribute. + + + Gets or set the value for the attribute.This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. + The value for the attribute. + + + Provides a way to specify custom browser (user agent) information. + + + Removes any overridden user agent for the current request. + The current context. + + + Returns the browser capabilities object for the overridden browser capabilities or for the actual browser if no override has been specified. + The browser capabilities. + The current context. + + + Returns the overridden user agent value or the actual user agent string if no override has been specified. + The user agent string + The current context. + + + Gets a string that varies based on the type of the browser. + A string that identifies the browser. + The current context. + + + Gets a string that varies based on the type of the browser. + A string that identifies the browser. + The current context base. + + + Overrides the request's actual user agent value using the specified user agent. + The current context. + The user agent to use. + + + Overrides the request's actual user agent value using the specified browser override information. + The current context. + One of the enumeration values that represents the browser override information to use. + + + Specifies browser types that can be defined for the method. + + + Specifies a desktop browser. + + + Specifies a mobile browser. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.The current BrowserOverrideStore is used to get and set the user agent of a request. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the class. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Looks for a user agent by searching for the browser override cookie. + The user agent. + The HTTP context. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Adds a browser override cookie with the set user agent to the response of the current request. + The HTTP context. + The user agent. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets overridden user agent for a request from a cookie. Creates a cookie to set the overridden user agent. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the class. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the class. + The days to expire. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Looks for a user agent by searching for the browser override cookie. + The user agent. + The HTTP context. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Adds a browser override cookie with the set user agent to the response of the current request. + The HTTP context. + The user agent. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Represents the default display mode of the web pages. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the class. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the class. + The suffix. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Indicates a value whether the can handle context. + true if the can handle context; otherwise, false. + The specified http context. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets a value that indicates whether the context condition displays a default mode. + true if the context condition displays a default mode; otherwise, false. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the display mode identifier of the web pages. + The display mode identifier of the web pages. + + + Retrieves the display information about an item in the result pane. + The display information about an item in the result pane. + The http context. + The virtual path. + true if the virtual path exists; otherwise, false. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Transforms the path of the display mode. + The path of the display mode to transform. + The virtual path. + The suffix. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Represents a property’s display information. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the class. + The virtual path. + The active display mode. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the active display mode for a Web page. + The active display mode for a Web page. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the virtual path of the current Web page. + The virtual path of the current Web page. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Represents the modes of display for the provider. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Defines the default display mode identifier. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets a list of the available display modes for the context base. + A list of the available display modes for the context base. + The http context base. + The current display mode. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the for the virtual path. + The for the virtual path. + The virtual path. + The http context base. + true if the virtual path exists; otherwise, false. + The current display mode. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the instance of the . + The instance of the . + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Defines the mobile display mode identifier. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets a list of modes of the . + A list of modes of the . + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets a value that indicates whether the Web page requires consistent display mode. + true if the Web page requires consistent display mode; otherwise, false. + + + Represents a base class for pages that is used when ASP.NET compiles a .cshtml or .vbhtml file and that exposes page-level and application-level properties and methods. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the class. + + + Gets the application-state data as a object that callers can use to create and access custom application-scoped properties. + The application-state data. + + + Gets a reference to global application-state data that can be shared across sessions and requests in an ASP.NET application. + The application-state data. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Puts all the helper statements into the context of the helper page. + The text writer. + The helper virtual path. + The starting position. + The length of the context. + true of the context has a literal attribute; otherwise, false. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Puts all the helper statements into the context of the helper page. + The helper virtual path. + The starting position. + The length of the context. + true of the context has a literal attribute; otherwise, false. + + + Gets the cache object for the current application domain. + The cache object. + + + Gets the object that is associated with a page. + The current context data. + + + Gets the current page for this helper page. + The current page. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Indicates the end of context block. + The text writer. + The helper virtual path. + The starting position. + The length of the context. + true of the context has a literal attribute; otherwise, false. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Indicates the end of context block. + The helper virtual path. + The starting position. + The length of the context. + true of the context has a literal attribute; otherwise, false. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the path of the helper page. + The path of the helper page. + + + Builds an absolute URL from an application-relative URL by using the specified parameters. + The absolute URL. + The initial path to use in the URL. + Additional path information, such as folders and subfolders. + + + Gets the object that is associated with a page. + An object that supports rendering HTML form controls in a page. + + + Gets a value that indicates whether Ajax is being used during the request of the web page. + true if Ajax is being used during the request; otherwise, false. + + + Gets a value that indicates whether the current request is a post (submitted using the HTTP POST verb). + true if the HTTP verb is POST; otherwise, false. + + + Gets the model that is associated with a page. + An object that represents a model that is associated with the view data for a page. + + + Gets the state data for the model that is associated with a page. + The state of the model. + + + Gets property-like access to page data that is shared between pages, layout pages, and partial pages. + An object that contains page data. + + + Gets and sets the HTTP context for the web page. + The HTTP context for the web page. + + + Gets array-like access to page data that is shared between pages, layout pages, and partial pages. + An object that provides array-like access to page data. + + + Gets the object for the current HTTP request. + An object that contains the HTTP values that were sent by a client during a web request. + + + Gets the object for the current HTTP response. + An object that contains the HTTP-response information from an ASP.NET operation. + + + Gets the object that provides methods that can be used as part of web-page processing. + The object. + + + Gets the object for the current HTTP request. + The object for the current HTTP request. + + + Gets data related to the URL path. + Data related to the URL path. + + + Gets a user value based on the HTTP context. + A user value based on the HTTP context. + + + Gets the virtual path of the page. + The virtual path. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Writes an attribute associated with the helper. + The text writer. + The name of the attribute. + The prefix. + The suffix. + The attribute value. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Writes a literal object to the helper. + The text writer. + The value of the object. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Writes a helper result object to the helper. + The text writer + The helper result. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Writes an object to the helper. + The text writer. + The object value. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Writes a helper result object to the helper. + The text writer. + The helper result value. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Represents the display mode interface for the web pages. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Indicates a value whether the web pages can handle HTTP context. + true if the web pages can handle HTTP context; otherwise, false. + The HTTP context. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the display mode id for the web pages. + The display mode id for the web pages. + + + Returns this method to display all the information for the web pages. + The method to display all the information for the web pages. + The HTTP context. + The virtual path. + true if the virtual path exists; otherwise, false. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Defines the properties and methods that objects that participate in webpages. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets a container for client validation for the required field. + A container for client validation for the required field. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Evaluates the condition it checks and updates the validation context. + The condition it checks and updates the validation context. + The validation context. + + + Defines methods that are implemented by virtual path handler factories. + + + Creates a handler factory for the specified virtual path. + A handler factory for the specified virtual path. + The virtual path. + + + Determines whether the specified virtual path is associated with a handler factory. + true if a handler factory exists for the specified virtual path; otherwise, false. + The virtual path. + + + Defines methods to implement an executor class that can execute the code on a web page. + + + Executes the code on the specified web page. + true if the executor took over execution of the web page; otherwise, false. + The web page. + + + Represents a path attribute for a web page class. + + + Initializes a new instance of the class by using the specified virtual path. + The virtual path. + + + Gets the virtual path of the current web page. + The virtual path. + + + Provides a registration point for pre-application start code for web pages. + + + Registers pre-application start code for web pages. + + + Defines extension methods for the class. + + + Determines whether the specified URL references the local computer. + true if the specified URL references the local computer; otherwise, false. + The HTTP request object. + The URL to test. + + + Serves as the abstract base class for the validation helper classes. + + + Initializes a new instance of the derived class and specifies the name of the HTML element that is being validated. + The name (value of the name attribute) of the user input element to validate. + + + Initializes a new instance of the derived class, registers the specified string as the error message to display if no value is supplied, and specifies whether the method can use unvalidated data. + The error message. + true to use unvalidated user input; false to reject unvalidated data. This parameter is set to true by calling methods in circumstances when the actual value of the user input is not important, such as for required fields. + + + When implemented in a derived class, gets a container for client validation for the required field. + The container. + + + Returns the HTTP context of the current request. + The context. + The validation context. + + + Returns the value to validate. + The value to validate. + The current request. + The name of the field from the current request to validate. + + + Returns a value that indicates whether the specified value is valid. + true if the value is valid; otherwise, false. + The current context. + The value to validate. + + + Performs the validation test. + The result of the validation test. + The context. + + + Defines extension methods for the base class. + + + Configures the cache policy of an HTTP response instance. + The HTTP response instance. + The length of time, in seconds, before items expire from the cache. + true to indicate that items expire from the cache on a sliding basis; false to indicate that items expire when they reach the predefined expiration time. + The list of all parameters that can be received by a GET or POST operation that affect caching. + The list of all HTTP headers that affect caching. + The list of all Content-Encoding headers that affect caching. + One of the enumeration values that specifies how items are cached. + + + Sets the HTTP status code of an HTTP response using the specified integer value. + The HTTP response instance. + The HTTP status code. + + + Sets the HTTP status code of an HTTP response using the specified HTTP status code enumeration value. + The HTTP response instance. + The HTTP status code + + + Writes a sequence of bytes that represent binary content of an unspecified type to the output stream of an HTTP response. + The HTTP response instance. + An array that contains the bytes to write. + + + Writes a sequence of bytes that represent binary content of the specified MIME type to the output stream of an HTTP response. + The receiving HTTP response instance. + An array that contains the bytes to write. + The MIME type of the binary content. + + + Provides a delegate that represents one or more methods that are called when a content section is written. + + + Provides methods and properties that are used to render start pages that use the Razor view engine. + + + Initializes a new instance of the class. + + + Gets or sets the child page of the current start page. + The child page of the current start page. + + + Gets or sets the context of the page. + The context of the page. + + + Calls the methods that are used to execute the developer-written code in the _PageStart start page and in the page. + + + Returns the text writer instance that is used to render the page. + The text writer. + + + Returns the initialization page for the specified page. + The _AppStart page if the _AppStart page exists. If the _AppStart page cannot be found, returns the _PageStart page if a _PageStart page exists. If the _AppStart and _PageStart pages cannot be found, returns . + The page. + The file name of the page. + The collection of file-name extensions that can contain ASP.NET Razor syntax, such as "cshtml" and "vbhtml". + Either or are null. + + is null or empty. + + + Gets or sets the path of the layout page for the page. + The path of the layout page for the page. + + + Gets property-like access to page data that is shared between pages, layout pages, and partial pages. + An object that contains page data. + + + Gets array-like access to page data that is shared between pages, layout pages, and partial pages. + An object that provides array-like access to page data. + + + Renders the page. + The HTML markup that represents the web page. + The path of the page to render. + Additional data that is used to render the page. + + + Executes the developer-written code in the page. + + + Writes the string representation of the specified object as an HTML-encoded string. + The object to encode and write. + + + Writes the string representation of the specified object as an HTML-encoded string. + The helper result to encode and write. + + + Writes the string representation of the specified object without HTML encoding. + The object to write. + + + Provides utility methods for converting string values to other data types. + + + Converts a string to a strongly typed value of the specified data type. + The converted value. + The value to convert. + The data type to convert to. + + + Converts a string to the specified data type and specifies a default value. + The converted value. + The value to convert. + The value to return if is null. + The data type to convert to. + + + Converts a string to a Boolean (true/false) value. + The converted value. + The value to convert. + + + Converts a string to a Boolean (true/false) value and specifies a default value. + The converted value. + The value to convert. + The value to return if is null or is an invalid value. + + + Converts a string to a value. + The converted value. + The value to convert. + + + Converts a string to a value and specifies a default value. + The converted value. + The value to convert. + The value to return if is null or is an invalid value. The default is the minimum time value on the system. + + + Converts a string to a number. + The converted value. + The value to convert. + + + Converts a string to a number and specifies a default value. + The converted value. + The value to convert. + The value to return if is null or invalid. + + + Converts a string to a number. + The converted value. + The value to convert. + + + Converts a string to a number and specifies a default value. + The converted value. + The value to convert. + The value to return if is null. + + + Converts a string to an integer. + The converted value. + The value to convert. + + + Converts a string to an integer and specifies a default value. + The converted value. + The value to convert. + The value to return if is null or is an invalid value. + + + Checks whether a string can be converted to the specified data type. + true if can be converted to the specified type; otherwise, false. + The value to test. + The data type to convert to. + + + Checks whether a string can be converted to the Boolean (true/false) type. + true if can be converted to the specified type; otherwise, false. + The string value to test. + + + Checks whether a string can be converted to the type. + true if can be converted to the specified type; otherwise, false. + The string value to test. + + + Checks whether a string can be converted to the type. + true if can be converted to the specified type; otherwise, false. + The string value to test. + + + Checks whether a string value is null or empty. + true if is null or is a zero-length string (""); otherwise, false. + The string value to test. + + + Checks whether a string can be converted to the type. + true if can be converted to the specified type; otherwise, false. + The string value to test. + + + Checks whether a string can be converted to an integer. + true if can be converted to the specified type; otherwise, false. + The string value to test. + + + Contains methods and properties that describe a file information template. + + + Initializes a new instance of the class by using the specified virtual path. + The virtual path. + + + Gets the virtual path of the web page. + The virtual path. + + + Represents a last-in-first-out (LIFO) collection of template files. + + + Returns the current template file from the specified HTTP context. + The template file, removed from the top of the stack. + The HTTP context that contains the stack that stores the template files. + + + Removes and returns the template file that is at the top of the stack in the specified HTTP context. + The template file, removed from the top of the stack. + The HTTP context that contains the stack that stores the template files. + + is null. + + + Inserts a template file at the top of the stack in the specified HTTP context. + The HTTP context that contains the stack that stores the template files. + The template file to push onto the specified stack. + + or are null. + + + Implements validation for user input. + + + Registers a list of user input elements for validation. + The names (value of the name attribute) of the user input elements to validate. + The type of validation to register for each user input element specified in . + + + Registers a user input element for validation. + The name (value of the name attribute) of the user input element to validate. + A list of one or more types of validation to register. + + + Adds an error message. + The error message. + + + Renders an attribute that references the CSS style definition to use when validation messages for the user input element are rendered. + The attribute. + The name (value of the name attribute) of the user input element to validate. + + + Renders attributes that enable client-side validation for an individual user input element. + The attributes to render. + The name (value of the name attribute) of the user input element to validate. + + + Gets the name of the current form. This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. + The name. + + + Returns a list of current validation errors, and optionally lets you specify a list of fields to check. + The list of errors. + Optional. The names (value of the name attribute) of the user input elements to get error information for. You can specify any number of element names, separated by commas. If you do not specify a list of fields, the method returns errors for all fields. + + + Gets the name of the class that is used to specify the appearance of error-message display when errors have occurred. This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. + The name. + + + Determines whether the contents of the user input fields pass validation checks, and optionally lets you specify a list of fields to check. + true if all specified field or fields pass validation checks; false if any field contains a validation error. + Optional. The names (value of the name attribute) of the user input elements to check for validation errors. You can specify any number of element names, separated by commas. If you do not specify a list of fields, the method checks all elements that are registered for validation. + + + Registers the specified field as one that requires user entry. + The name (value of the name attribute) of the user input element to validate. + + + Registers the specified field as one that requires user entry and registers the specified string as the error message to display if no value is supplied. + The name (value of the name attribute) of the user input element to validate. + The error message. + + + Registers the specified fields as ones that require user entry. + The names (value of the name attribute) of the user input elements to validate. You can specify any number of element names, separated by commas. + + + Performs validation on elements registered for validation, and optionally lets you specify a list of fields to check. + The list of errors for the specified fields, if any validation errors occurred. + Optional. The names (value of the name attribute) of the user input elements to validate. You can specify any number of element names, separated by commas. If you do not specify a list, the method validates all registered elements. + + + Gets the name of the class that is used to specify the appearance of error-message display when errors have occurred. This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. + The name. + + + Defines validation tests that can be registered using the method. + + + Initializes a new instance of the class. + + + Defines a validation test that tests whether a value can be treated as a date/time value. + The validation test. + The error message to display if validation fails. + + + Defines a validation test that tests whether a value can be treated as a decimal number. + The validation test. + The error message to display if validation fails. + + + Defines a validation test that test user input against the value of another field. + The validation test. + The other field to compare. + The error message to display if validation fails. + + + Defines a validation test that tests whether a value can be treated as a floating-point number. + The validation test. + The error message to display if validation fails. + + + Defines a validation test that tests whether a value can be treated as an integer. + The validation test. + The error message to display if validation fails. + + + Defines a validation test that tests whether a decimal number falls within a specific range. + The validation test. + The minimum value. The default is 0. + The maximum value. + The error message to display if validation fails. + + + Defines a validation test that tests whether an integer value falls within a specific range. + The validation test. + The minimum value. The default is 0. + The maximum value. + The error message to display if validation fails. + + + Defines a validation test that tests a value against a pattern specified as a regular expression. + The validation test. + The regular expression to use to test the user input. + The error message to display if validation fails. + + + Defines a validation test that tests whether a value has been provided. + The validation test. + The error message to display if validation fails. + + + Defines a validation test that tests the length of a string. + The validation test. + The maximum length of the string. + The minimum length of the string. The default is 0. + The error message to display if validation fails. + + + Defines a validation test that tests whether a value is a well-formed URL. + The validation test. + The error message to display if validation fails. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. + + + Represents an ASP.NET Razor page. + + + Called from a derived class to create a new instance that is based on the class. + + + Gets or sets the object that is associated with a page. + The current context data. + + + Executes the code in a set of dependent pages. + + + Gets the object that is associated with a page. + An object that can render HTML form controls in a page. + + + Initializes an object that inherits from the class. + + + Gets the model that is associated with a page. + An object that represents a model that is associated with the view data for a page. + + + Gets the state of the model that is associated with a page. + The state of the model. + + + Adds a class to a list of classes that handle page execution and that implement custom features for pages. + The class to add. + + + Renders a content page. + An object that can write the output of the page. + The path of the page to render. + Data to pass to the page. + + + Gets the validation helper for the current page context. + The validation helper. + + + Serves as the base class for classes that represent an ASP.NET Razor page. + + + Initializes the class for use by an inherited class instance. This constructor can only be called by an inherited class. + + + When overridden in a derived class, configures the current web page based on the configuration of the parent web page. + The parent page from which to read configuration information. + + + Creates a new instance of the class by using the specified virtual path. + The new object. + The virtual path to use to create the instance. + + + Attempts to create a WebPageBase instance from a virtualPath and wraps complex compiler exceptions with simpler messages + + + Called by content pages to create named content sections. + The name of the section to create. + The type of action to take with the new section. + + + Executes the code in a set of dependent web pages. + + + Executes the code in a set of dependent web pages by using the specified parameters. + The context data for the page. + The writer to use to write the executed HTML. + + + Executes the code in a set of dependent web pages by using the specified context, writer, and start page. + The context data for the page. + The writer to use to write the executed HTML. + The page to start execution in the page hierarchy. + + + Returns the text writer instance that is used to render the page. + The text writer. + + + Initializes the current page. + + + Returns a value that indicates whether the specified section is defined in the page. + true if the specified section is defined in the page; otherwise, false. + The name of the section to search for. + + + Gets or sets the path of a layout page. + The path of the layout page. + + + Gets the current object for the page. + The object. + + + Gets the stack of objects for the current page context. + The objects. + + + Provides property-like access to page data that is shared between pages, layout pages, and partial pages. + An object that contains page data. + + + Provides array-like access to page data that is shared between pages, layout pages, and partial pages. + A dictionary that contains page data. + + + Returns and removes the context from the top of the instance. + + + Inserts the specified context at the top of the instance. + The page context to push onto the instance. + The writer for the page context. + + + In layout pages, renders the portion of a content page that is not within a named section. + The HTML content to render. + + + Renders the content of one page within another page. + The HTML content to render. + The path of the page to render. + (Optional) An array of data to pass to the page being rendered. In the rendered page, these parameters can be accessed by using the property. + + + In layout pages, renders the content of a named section. + The HTML content to render. + The section to render. + The section was already rendered.-or-The section was marked as required but was not found. + + + In layout pages, renders the content of a named section and specifies whether the section is required. + The HTML content to render. + The section to render. + true to specify that the section is required; otherwise, false. + + + Writes the specified object as an HTML-encoded string. + The object to encode and write. + + + Writes the specified object as an HTML-encoded string. + The helper result to encode and write. + + + Writes the specified object without HTML-encoding it first. + The object to write. + + + Contains data that is used by a object to reference details about the web application, the current HTTP request, the current execution context, and page-rendering data. + + + Initializes a new instance of the class. + + + Initializes a new instance of the class by using the specified context, page, and model. + The HTTP request context data to associate with the page context. + The page data to share between pages, layout pages, and partial pages. + The model to associate with the view data. + + + Gets a reference to the current object that is associated with a page. + The current page context object. + + + Gets the model that is associated with a page. + An object that represents a model that is associated with the view data for a page. + + + Gets the object that is associated with a page. + The object that renders the page. + + + Gets the page data that is shared between pages, layout pages, and partial pages. + A dictionary that contains page data. + + + Provides objects and methods that are used to execute and render ASP.NET pages that include Razor syntax. + + + Initializes a new instance of the class. This constructor can only be called by an inherited class. + + + + + + + + + When overridden in a derived class, gets or sets the object that is associated with a page. + The current context data. + + + + + + + + Returns the text writer instance that is used to render the page. + The text writer. + + + + + + + + Writes the string representation of the specified object as an HTML-encoded string. + The object to encode and write. + + + Writes the specified object as an HTML-encoded string. + The helper result to encode and write. + + + + + + Writes the specified object without HTML encoding. + The object to write. + + + Writes the specified object to the specified instance without HTML encoding. + The text writer. + The object to write. + + + Writes the specified object as an HTML-encoded string to the specified text writer. + The text writer. + The object to encode and write. + + + Writes the specified object as an HTML-encoded string to the specified text writer. + The text writer. + The helper result to encode and write. + + + Provides methods and properties that are used to process specific URL extensions. + + + Initializes a new instance of the class by using the specified web page. + The web page to process. + + is null. + + + Creates a new handler object from the specified virtual path. + A object for the specified virtual path. + The virtual path to use to create the handler. + + + Gets or sets a value that indicates whether web page response headers are disabled. + true if web page response headers are disabled; otherwise, false. + + + Returns a list of file name extensions that the current instance can process. + A read-only list of file name extensions that are processed by the current instance. + + + Gets a value that indicates whether another request can use the instance. + true if the instance is reusable; otherwise, false. + + + Processes the web page by using the specified context. + The context to use when processing the web page. + + + Adds a file name extension to the list of extensions that are processed by the current instance. + The extension to add, without a leading period. + + + The HTML tag name (X-AspNetWebPages-Version) for the version of the ASP.NET Web Pages specification that is used by this web page. + + + Provides methods and properties that are used to render pages that use the Razor view engine. + + + Initializes a new instance of the class. + + + + + + When overridden in a derived class, calls the methods that are used to initialize the page. + + + + + When overridden in a derived class, gets or sets the path of a layout page. + The path of a layout page. + + + When overridden in a derived class, provides property-like access to page data that is shared between pages, layout pages, and partial pages. + An object that contains page data. + + + + When overridden in a derived class, provides array-like access to page data that is shared between pages, layout pages, and partial pages. + An object that provides array-like access to page data. + + + + When overridden in a derived class, renders a web page. + The markup that represents the web page. + The path of the page to render. + Additional data that is used to render the page. + + + + + + + + + + + Provides support for rendering HTML form controls and performing form validation in a web page. + + + Creates a dictionary of HTML attributes from the input object, translating underscores to dashes. + A dictionary that represents HTML attributes. + Anonymous object describing HTML attributes. + + + Returns an HTML-encoded string that represents the specified object by using a minimal encoding that is suitable only for HTML attributes that are enclosed in quotation marks. + An HTML-encoded string that represents the object. + The object to encode. + + + Returns an HTML-encoded string that represents the specified string by using a minimal encoding that is suitable only for HTML attributes that are enclosed in quotation marks. + An HTML-encoded string that represents the original string. + The string to encode. + + + Returns an HTML check box control that has the specified name. + The HTML markup that represents the check box control. + The value to assign to the name attribute of the HTML control element. + + is null or empty. + + + Returns an HTML check box control that has the specified name and default checked status. + The HTML markup that represents the check box control. + The value to assign to the name attribute of the HTML control element. + true to indicate that the checked attribute is set to checked; otherwise, false. + + is null or empty. + + + Returns an HTML check box control that has the specified name, default checked status, and custom attributes defined by an attribute dictionary. + The HTML markup that represents the check box control. + The value to assign to the name attribute of the HTML control element. + true to indicate that the checked attribute is set to checked; otherwise, false. + The names and values of custom attributes for the element. + + is null or empty. + + + Returns an HTML check box control that has the specified name, default checked status, and custom attributes defined by an attribute object. + The HTML markup that represents the check box control. + The value to assign to the name attribute of the HTML control element. + true to indicate that the checked attribute is set to checked; otherwise, false. + An object that contains custom attributes for the element. The attribute names and values are retrieved through reflection by examining the properties of the object. + + is null or empty. + + + Returns an HTML check box control that has the specified name and custom attributes defined by an attribute dictionary. + The HTML markup that represents the check box control. + The value to assign to the name attribute of the HTML control element. + The names and values of custom attributes for the element. + + is null or empty. + + + Returns an HTML check box control that has the specified name and custom attributes defined by an attribute object. + The HTML markup that represents the check box control. + The value to assign to the name attribute of the HTML control element. + An object that contains custom attributes for the element. The attribute names and values are retrieved through reflection by examining the properties of the object. + + is null or empty. + + + Returns an HTML drop-down list control that has the specified name and that contains the specified list items. + The HTML markup that represents the drop-down list control. + The value to assign to the name attribute of the HTML select element. + A list of instances that are used to populate the list. + + is null or empty. + + + Returns an HTML drop-down list control that has the specified name and custom attributes defined by an attribute dictionary, and that contains the specified list items. + The HTML markup that represents the drop-down list control. + The value to assign to the name attribute of the HTML select element. + A list of instances that are used to populate the list. + The names and values of custom attributes for the element. + + is null or empty. + + + Returns an HTML drop-down list control that has the specified name and custom attributes defined by an attribute object, and that contains the specified list items. + The HTML markup that represents the drop-down list control. + The value to assign to the name attribute of the HTML select element. + A list of instances that are used to populate the list. + An object that contains custom attributes for the element. The attribute names and values are retrieved through reflection by examining the properties of the object. + + is null or empty. + + + Returns an HTML drop-down list control that has the specified name, and that contains the specified list items and default item. + The HTML markup that represents the drop-down list control. + The value to assign to the name attribute of the HTML select element. + The text to display for the default option in the list. + A list of instances that are used to populate the list. + + is null or empty. + + + Returns an HTML drop-down list control that has the specified name and custom attributes defined by an attribute dictionary, and that contains the specified list items and default item. + The HTML markup that represents the drop-down list control. + The value to assign to the name attribute of the HTML select element. + The text to display for the default option in the list. + A list of instances that are used to populate the list. + The names and values of custom attributes for the element. + + is null or empty. + + + Returns an HTML drop-down list control that has the specified name and custom attributes defined by an attribute object, and that contains the specified list items and default item. + The HTML markup that represents the drop-down list control. + The value to assign to the name attribute of the HTML select element. + The text to display for the default option in the list. + A list of instances that are used to populate the list. + An object that contains custom attributes for the element. The attribute names and values are retrieved through reflection by examining the properties of the object. + + is null or empty. + + + Returns an HTML drop-down list control that has the specified name, custom attributes defined by an attribute dictionary, and default selection, and that contains the specified list items and default item. + The HTML markup that represents the drop-down list control. + The value to assign to the name attribute of the HTML select element. + The text to display for the default option in the list. + A list of instances that are used to populate the list. + The value that specifies the item in the list that is selected by default. The selected item is the first item in the list whose value matches the parameter (or whose text matches, if there is no value.) + The names and values of custom attributes for the element. + + is null or empty. + + + Returns an HTML drop-down list control that has the specified name, custom attributes defined by an attribute object, and default selection, and that contains the specified list items and default item. + The HTML markup that represents the drop-down list control. + The value to assign to the name attribute of the HTML select element. + The text to display for the default option in the list. + A list of instances that are used to populate the list. + The value that specifies the item in the list that is selected by default. The item that is selected is the first item in the list that has a matching value, or that matches the items displayed text if the item has no value. + An object that contains custom attributes for the element. The attribute names and values are retrieved through reflection by examining the properties of the object. + + is null or empty. + + + Returns an HTML-encoded string that represents the specified object by using a full encoding that is suitable for arbitrary HTML. + An HTML-encoded string that represents the object. + The object to encode. + + + Returns an HTML-encoded string that represents the specified string by using a full encoding that is suitable for arbitrary HTML. + An HTML-encoded string that represents the original string. + The string to encode. + + + Returns an HTML hidden control that has the specified name. + The HTML markup that represents the hidden control. + The value to assign to the name attribute of the HTML control element. + + is null or empty. + + + Returns an HTML hidden control that has the specified name and value. + The HTML markup that represents the hidden control. + The value to assign to the name attribute of the HTML control element. + The value to assign to the value attribute of the element. + + is null or empty. + + + Returns an HTML hidden control that has the specified name, value, and custom attributes defined by an attribute dictionary. + The HTML markup that represents the hidden control. + The value to assign to the name attribute of the HTML control element. + The value to assign to the value attribute of the element. + The names and values of custom attributes for the element. + + is null or empty. + + + Returns an HTML hidden control that has the specified name, value, and custom attributes defined by an attribute object. + The HTML markup that represents the hidden control. + The value to assign to the name attribute of the HTML control element. + The value to assign to the value attribute of the element. + An object that contains custom attributes for the element. The attribute names and values are retrieved through reflection by examining the properties of the object. + + is null or empty. + + + Gets or sets the character that is used to replace the dot (.) in the id attribute of rendered form controls. + The character that is used to replace the dot in the id attribute of rendered form controls. The default is an underscore (_). + + + Returns an HTML label that displays the specified text. + The HTML markup that represents the label. + The text to display. + + is null or empty. + + + Returns an HTML label that displays the specified text and that has the specified custom attributes. + The HTML markup that represents the label. + The text to display. + An object that contains custom attributes for the element. The attribute names and values are retrieved through reflection by examining the properties of the object. + + is null or empty. + + + Returns an HTML label that displays the specified text and that has the specified for attribute. + The HTML markup that represents the label. + The text to display. + The value to assign to the for attribute of the HTML control element. + + is null or empty. + + + Returns an HTML label that displays the specified text, and that has the specified for attribute and custom attributes defined by an attribute dictionary. + The HTML markup that represents the label. + The text to display. + The value to assign to the for attribute of the HTML control element. + The names and values of custom attributes for the element. + + is null or empty. + + + Returns an HTML label that displays the specified text, and that has the specified for attribute and custom attributes defined by an attribute object. + The HTML markup that represents the label. + The text to display. + The value to assign to the for attribute of the HTML control element. + An object that contains custom attributes for the element. The attribute names and values are retrieved through reflection by examining the properties of the object. + + is null or empty. + + + Returns an HTML list box control that has the specified name and that contains the specified list items. + The HTML markup that represents the list box control. + The value to assign to the name attribute of the HTML select element. + A list of instances that are used to populate the list. + + is null or empty. + + + Returns an HTML list box control that has the specified name and custom attributes defined by an attribute dictionary, and that contains the specified list items. + The HTML markup that represents the list box control. + The value to assign to the name attribute of the HTML select element. + A list of instances that are used to populate the list. + The names and values of custom attributes for the element. + + is null or empty. + + + Returns an HTML list box control that has the specified name and custom attributes defined by an attribute object, and that contains the specified list items. + The HTML markup that represents the list box control. + The value to assign to the name attribute of the HTML select element. + A list of instances that are used to populate the list. + An object that contains custom attributes for the element. The attribute names and values are retrieved through reflection by examining the properties of the object. + + is null or empty. + + + Returns an HTML list box control that has the specified name, size, list items, and default selections, and that specifies whether multiple selections are enabled. + The HTML markup that represents the list box control. + The value to assign to the name attribute of the HTML select element. + A list of instances that are used to populate the list. + An object that specifies the items in the list that are selected by default. The selections are retrieved through reflection by examining the properties of the object. + The value to assign to the size attribute of the element. + true to indicate that the multiple selections are enabled; otherwise, false. + + is null or empty. + + + Returns an HTML list box control that has the specified name, and that contains the specified list items and default item. + The HTML markup that represents the list box control. + The value to assign to the name attribute of the HTML select element. + The text to display for the default option in the list. + A list of instances that are used to populate the list box. + + is null or empty. + + + Returns an HTML list box control that has the specified name and custom attributes defined by an attribute dictionary, and that contains the specified list items and default item. + The HTML markup that represents the list box control. + The value to assign to the name attribute of the HTML select element. + The text to display for the default option in the list. + A list of instances that are used to populate the list. + The names and values of custom attributes for the element. + + is null or empty. + + + Returns an HTML list box control that has the specified name and custom attributes defined by an attribute object, and that contains the specified list items and default item. + The HTML markup that represents the list box control. + The value to assign to the name attribute of the HTML select element. + The text to display for the default option in the list. + A list of instances that are used to populate the list box. + An object that contains custom attributes for the element. The attribute names and values are retrieved through reflection by examining the properties of the object. + + is null or empty. + + + Returns an HTML list box control that has the specified name and custom attributes defined by an attribute dictionary, and that contains the specified list items, default item, and selections. + The HTML markup that represents the list box control. + The value to assign to the name attribute of the HTML select element. + The text to display for the default option in the list. + A list of instances that are used to populate the list. + An object that specifies the items in the list that are selected by default. The selections are retrieved through reflection by examining the properties of the object. + The names and values of custom attributes for the element. + + is null or empty. + + + Returns an HTML list box control that has the specified name, size, items, default item, and selections, and that specifies whether multiple selections are enabled. + The HTML markup that represents the list box control. + The value to assign to the name attribute of the HTML select element. + The text to display for the default option in the list. + A list of instances that are used to populate the list. + An object that specifies the items in the list that are selected by default. The selections are retrieved through reflection by examining the properties of the object. + The value to assign to the size attribute of the element. + true to indicate that multiple selections are enabled; otherwise, false. + + is null or empty. + + + Returns an HTML list box control that has the specified name, size, custom attributes defined by an attribute dictionary, items, default item, and selections, and that specifies whether multiple selections are enabled. + The HTML markup that represents the list box control. + The value to assign to the name attribute of the HTML select element. + The text to display for the default option in the list. + A list of instances that are used to populate the list. + An object that specifies the items in the list that are selected by default. The selections are retrieved through reflection by examining the properties of the object. + The value to assign to the size attribute of the element. + true to indicate that multiple selections are enabled; otherwise, false. + The names and values of custom attributes for the element. + + is null or empty. + + + Returns an HTML list box control that has the specified name, size, custom attributes defined by an attribute object, items, default item, and selections, and that specifies whether multiple selections are enabled. + The HTML markup that represents the list box control. + The value to assign to the name attribute of the HTML select element. + The text to display for the default option in the list. + A list of instances that are used to populate the list. + An object that specifies the items in the list that are selected by default. The selections are retrieved through reflection by examining the properties of the object. + The value to assign to the size attribute of the element. + true to indicate that multiple selections are enabled; otherwise, false. + An object that contains custom attributes for the element. The attribute names and values are retrieved through reflection by examining the properties of the object. + + is null or empty. + + + Returns an HTML list box control that has the specified name, items, default item, and custom attributes defined by an attribute object, and selections. + The HTML markup that represents the list box control. + The value to assign to the name attribute of the HTML select element. + The text to display for the default option in the list. + A list of instances that are used to populate the list. + An object that specifies the items in the list that are selected by default. The selections are retrieved through reflection by examining the properties of the object. + An object that contains custom attributes for the element. The attribute names and values are retrieved through reflection by examining the properties of the object. + + is null or empty. + + + Creates a dictionary from an object, by adding each public instance property as a key with its associated value to the dictionary. It will expose public properties from derived types as well. This is typically used with objects of an anonymous type. + The created dictionary of property names and property values. + The object to be converted. + + + Returns an HTML password control that has the specified name. + The HTML markup that represents the password control. + The value to assign to the name attribute of the HTML control element. + + is null or empty. + + + Returns an HTML password control that has the specified name and value. + The HTML markup that represents the password control. + The value to assign to the name attribute of the HTML control element. + The value to assign to the value attribute of the element. + + is null or empty. + + + Returns an HTML password control that has the specified name, value, and custom attributes defined by an attribute dictionary. + The HTML markup that represents the password control. + The value to assign to the name attribute of the HTML control element. + The value to assign to the value attribute of the element. + The names and values of custom attributes for the element. + + is null or empty. + + + Returns an HTML password control that has the specified name, value, and custom attributes defined by an attribute object. + The HTML markup that represents the password control. + The value to assign to the name attribute of the HTML control element. + The value to assign to the value attribute of the element. + An object that contains custom attributes for the element. The attribute names and values are retrieved through reflection by examining the properties of the object. + + is null or empty. + + + Returns an HTML radio button control that has the specified name and value. + The HTML markup that represents the radio button control. + The value to assign to the name attribute of the HTML control element. The name attribute defines the group that the radio button belongs to. + The value to assign to the value attribute of the element. + + is null or empty. + + + Returns an HTML radio button control that has the specified name, value, and default selected status. + The HTML markup that represents the radio button control. + The value to assign to the name attribute of the HTML control element. The name attribute defines the group that the radio button belongs to. + The value to assign to the value attribute of the element. + true to indicate that the control is selected; otherwise, false. + + is null or empty. + + + Returns an HTML radio button control that has the specified name, value, default selected status, and custom attributes defined by an attribute dictionary. + The HTML markup that represents the radio button control. + The value to assign to the name attribute of the HTML control element. The name attribute defines the group that the radio button belongs to. + The value to assign to the value attribute of the element. + true to indicate that the control is selected; otherwise, false. + The names and values of custom attributes for the element. + + is null or empty. + + + Returns an HTML radio button control that has the specified name, value, default selected status, and custom attributes defined by an attribute object. + The HTML markup that represents the radio button control. + The value to assign to the name attribute of the HTML control element. The name attribute defines the group that the radio button belongs to. + The value to assign to the value attribute of the element. + true to indicate that the control is selected; otherwise, false. + An object that contains custom attributes for the element. The attribute names and values are retrieved through reflection by examining the properties of the object. + + is null or empty. + + + Returns an HTML radio button control that has the specified name, value, and custom attributes defined by an attribute dictionary. + The HTML markup that represents the radio button control. + The value to assign to the name attribute of the HTML control element. The name attribute defines the group that the radio button belongs to. + The value to assign to the value attribute of the element. + The names and values of custom attributes for the element. + + is null or empty. + + + Returns an HTML radio button control that has the specified name, value, and custom attributes defined by an attribute object. + The HTML markup that represents the radio button control. + The value to assign to the name attribute of the HTML control element. The name attribute defines the group that the radio button belongs to. + The value to assign to the value attribute of the element. + An object that contains custom attributes for the element. The attribute names and values are retrieved through reflection by examining the properties of the object. + + is null or empty. + + + Wraps HTML markup in an instance so that it is interpreted as HTML markup. + The unencoded HTML. + The object to render HTML for. + + + Wraps HTML markup in an instance so that it is interpreted as HTML markup. + The unencoded HTML. + The string to interpret as HTML markup instead of being HTML-encoded. + + + Returns an HTML multi-line text input (text area) control that has the specified name. + The HTML markup that represents the text area control. + The value to assign to the name attribute of the HTML textarea element. + + is null or empty. + + + Returns an HTML multi-line text input (text area) control that has the specified name and custom attributes defined by an attribute dictionary. + The HTML markup that represents the text area control. + The value to assign to the name attribute of the HTML textarea element. + The names and values of custom attributes for the element. + + is null or empty. + + + Returns an HTML multi-line text input (text area) control that has the specified name and custom attributes defined by an attribute object. + The HTML markup that represents the text area control. + The value to assign to the name attribute of the HTML textarea element. + An object that contains custom attributes for the element. The attribute names and values are retrieved through reflection by examining the properties of the object. + + is null or empty. + + + Returns an HTML multi-line text input (text area) control that has the specified name and value. + The HTML markup that represents the text area control. + The value to assign to the name attribute of the HTML textrarea element. + The text to display. + + is null or empty. + + + Returns an HTML multi-line text input (text area) control that has the specified name, value, and custom attributes defined by an attribute dictionary. + The HTML markup that represents the text area control. + The value to assign to the name attribute of the HTML textarea element. + The text to display. + The names and values of custom attributes for the element. + + is null or empty. + + + Returns an HTML multi-line text input (text area) control that has the specified name, value, row attribute, col attribute, and custom attributes defined by an attribute dictionary. + The HTML markup that represents the text area control. + The value to assign to the name attribute of the HTML textarea element. + The text to display. + The value to assign to the rows attribute of the element. + The value to assign to the cols attribute of the element. + The names and values of custom attributes for the element. + + is null or empty. + + + Returns an HTML multi-line text input (text area) control that has the specified name, value, row attribute, col attribute, and custom attributes defined by an attribute object. + The HTML markup that represents the text area control. + The value to assign to the name attribute of the HTML textarea element. + The text to display. + The value to assign to the rows attribute of the element. + The value to assign to the cols attribute of the element. + An object that contains custom attributes for the element. The attribute names and values are retrieved through reflection by examining the properties of the object. + + is null or empty. + + + Returns an HTML multi-line text input (text area) control that has the specified name, value, and custom attributes defined by an attribute object. + The HTML markup that represents the text area control. + The value to assign to the name attribute of the HTML textarea element. + The text to display. + An object that contains custom attributes for the element. The attribute names and values are retrieved through reflection by examining the properties of the object. + + is null or empty. + + + Returns an HTML text control that has the specified name. + The HTML markup that represents the text control. + The value to assign to the name attribute of the HTML control element. + + is null or empty. + + + Returns an HTML text control that has the specified name and value. + The HTML markup that represents the text control. + The value to assign to the name attribute of the HTML control element. + The value to assign to the value attribute of the element. + + is null or empty. + + + Returns an HTML text control that has the specified name, value, and custom attributes defined by an attribute dictionary. + The HTML markup that represents the text control. + The value to assign to the name attribute of the HTML control element. + The value to assign to the value attribute of the element. + The names and values of custom attributes for the element. + + is null or empty. + + + Returns an HTML text control that has the specified name, value, and custom attributes defined by an attribute object. + The HTML markup that represents the text control. + The value to assign to the name attribute of the HTML control element. + The value to assign to the value attribute of the element. + An object that contains custom attributes for the element. The attribute names and values are retrieved through reflection by examining the properties of the object. + + is null or empty. + + + Gets or sets a value that indicates whether the page uses unobtrusive JavaScript for Ajax functionality. + true if the page uses unobtrusive JavaScript; otherwise, false. + + + Gets or sets the name of the CSS class that defines the appearance of input elements when validation fails. + The name of the CSS class. The default is field-validation-error. + + + Gets or sets the name of the CSS class that defines the appearance of input elements when validation passes. + The name of the CSS class. The default is input-validation-valid. + + + Returns an HTML span element that contains the first validation error message for the specified form field. + If the value in the specified field is valid, null; otherwise, the HTML markup that represents the validation error message that is associated with the specified field. + The name of the form field that was validated. + + is null or empty. + + + Returns an HTML span element that has the specified custom attributes defined by an attribute dictionary, and that contains the first validation error message for the specified form field. + If the value in the specified field is valid, null; otherwise, the HTML markup that represents the validation error message that is associated with the specified field. + The name of the form field that was validated. + The names and values of custom attributes for the element. + + is null or empty. + + + Returns an HTML span element that has the specified custom attributes defined by an attribute object, and that contains the first validation error message for the specified form field. + If the value in the specified field is valid, null; otherwise, the HTML markup that represents the validation error message that is associated with the specified field. + The name of the form field that was validated. + An object that contains custom attributes for the element. The attribute names and values are retrieved through reflection by examining the properties of the object. + + is null or empty. + + + Returns an HTML span element that contains a validation error message for the specified form field. + If the value in the specified field is valid, null; otherwise, the HTML markup that represents the validation error message that is associated with the specified field. + The name of the form field that was validated. + The validation error message to display. If null, the first validation error message that is associated with the specified form field is displayed. + + is null or empty. + + + Returns an HTML span element that has the specified custom attributes defined by an attribute dictionary, and that contains a validation error message for the specified form field. + If the specified field is valid, null; otherwise, the HTML markup that represents a validation error message that is associated with the specified field. + The name of the form field that was validated. + The validation error message to display. If null, the first validation error message that is associated with the specified form field is displayed. + The names and values of custom attributes for the element. + + is null or empty. + + + Returns an HTML span element that has the specified custom attributes defined by an attribute object, and that contains a validation error message for the specified form field. + If the specified field is valid, null; otherwise, the HTML markup that represents a validation error message that is associated with the specified field. + The name of the form field that was validated. + The validation error message to display. If null, the first validation error message that is associated with the specified form field is displayed. + An object that contains custom attributes for the element. The attribute names and values are retrieved through reflection by examining the properties of the object. + + is null or empty. + + + Gets or sets the name of the CSS class that defines the appearance of validation error messages when validation fails. + The name of the CSS class. The default is field-validation-error. + + + Gets or sets the name of the CSS class that defines the appearance of validation error messages when validation passes. + The name of the CSS class. The default is field-validation-valid. + + + Returns an HTML div element that contains an unordered list of all validation error messages from the model-state dictionary. + The HTML markup that represents the validation error messages. + + + Returns an HTML div element that contains an unordered list of validation error message from the model-state dictionary, optionally excluding field-level errors. + The HTML markup that represents the validation error messages. + true to exclude field-level validation error messages from the list; false to include both model-level and field-level validation error messages. + + + Returns an HTML div element that has the specified custom attributes defined by an attribute dictionary, and that contains an unordered list of all validation error messages that are in the model-state dictionary. + The HTML markup that represents the validation error messages. + The names and values of custom attributes for the element. + + + Returns an HTML div element that has the specified custom attributes defined by an attribute object, and that contains an unordered list of all validation error messages that are in the model-state dictionary. + The HTML markup that represents the validation error messages. + An object that contains custom attributes for the element. The attribute names and values are retrieved through reflection by examining the properties of the object. + + + Returns an HTML div element that contains a summary message and an unordered list of all validation error messages that are in the model-state dictionary. + The HTML markup that represents the validation error messages. + The message that comes before the list of validation error messages. + + + Returns an HTML div element that has the specified custom attributes defined by an attribute dictionary, and that contains a summary message and an unordered list of validation error message from the model-state dictionary, optionally excluding field-level errors. + The HTML markup that represents the validation error messages. + The summary message that comes before the list of validation error messages. + true to exclude field-level validation error messages from the results; false to include both model-level and field-level validation error messages. + The names and values of custom attributes for the element. + + + Returns an HTML div element that has the specified custom attributes defined by an attribute object, and that contains a summary message and an unordered list of validation error message from the model-state dictionary, optionally excluding field-level errors. + The HTML markup that represents the validation error messages. + The summary message that comes before the list of validation error messages. + true to exclude field-level validation error messages from the results; false to include and field-level validation error messages. + An object that contains custom attributes for the element. The attribute names and values are retrieved through reflection by examining the properties of the object. + + + Returns an HTML div element that has the specified custom attributes defined by an attribute dictionary, and that contains a summary message and an unordered list of all validation error message from the model-state dictionary. + The HTML markup that represents the validation error messages. + The message that comes before the list of validation error messages. + The names and values of custom attributes for the element. + + + Returns an HTML div element that has the specified custom attributes defined by an attribute object, and that contains a summary message and an unordered list of all validation error message from the model-state dictionary. + The HTML markup that represents the validation error messages. + The summary message that comes before the list of validation error messages. + An object that contains custom attributes for the element. The attribute names and values are retrieved through reflection by examining the properties of the object. + + + Gets or sets the name of the CSS class that defines the appearance of a validation summary when validation fails. + The name of the CSS class. The default is validation-summary-errors. + + + Gets or sets the name of the CSS class that defines the appearance of a validation summary when validation passes. + The name of the CSS class. The default is validation-summary-valid. + + + Encapsulates the state of model binding to a property of an action-method argument, or to the argument itself. + + + Initializes a new instance of the class. + + + Returns a list of strings that contains any errors that occurred during model binding. + The errors that occurred during model binding. + + + Returns an object that encapsulates the value that was bound during model binding. + The value that was bound. + + + Represents the result of binding a posted form to an action method, which includes information such as validation status and validation error messages. + + + Initializes a new instance of the class. + + + Initializes a new instance of the class by using values that are copied from the specified model-state dictionary. + The model-state dictionary that values are copied from. + + + Adds the specified item to the model-state dictionary. + The item to add to the model-state dictionary. + + + Adds an item that has the specified key and value to the model-state dictionary. + The key. + The value. + + + Adds an error message to the model state that is associated with the specified key. + The key that is associated with the model state that the error message is added to. + The error message. + + + Adds an error message to the model state that is associated with the entire form. + The error message. + + + Removes all items from the model-state dictionary. + + + Determines whether the model-state dictionary contains the specified item. + true if the model-state dictionary contains the specified item; otherwise, false. + The item to look for. + + + Determines whether the model-state dictionary contains the specified key. + true if the model-state dictionary contains the specified key; otherwise, false. + The key to look for. + + + Copies the elements of the model-state dictionary to an array, starting at the specified index. + The one-dimensional instance where the elements will be copied to. + The index in at which copying begins. + + + Gets the number of model states that the model-state dictionary contains. + The number of model states in the model-state dictionary. + + + Returns an enumerator that can be used to iterate through the collection. + An enumerator that can be used to iterate through the collection. + + + Gets a value that indicates whether the model-state dictionary is read-only. + true if the model-state dictionary is read-only; otherwise, false. + + + Gets a value that indicates whether any error messages are associated with any model state in the model-state dictionary. + true if any error messages are associated with any model state in the dictionary; otherwise, false. + + + Determines whether any error messages are associated with the specified key. + true if no error messages are associated with the specified key, or the specified key does not exist; otherwise, false. + The key. + + is null. + + + Gets or sets the model state that is associated with the specified key in the model-state dictionary. + The model state that is associated with the specified key in the dictionary. + + + Gets a list that contains the keys in the model-state dictionary. + The list of keys in the dictionary. + + + Copies the values from the specified model-state dictionary into this instance, overwriting existing values when the keys are the same. + The model-state dictionary that values are copied from. + + + Removes the first occurrence of the specified item from the model-state dictionary. + true if the item was successfully removed from the model-state dictionary; false if the item was not removed or if the item does not exist in the model-state dictionary. + The item to remove. + + + Removes the item that has the specified key from the model-state dictionary. + true if the item was successfully removed from the model-state dictionary; false if the item was not removed or does not exist in the model-state dictionary. + The key of the element to remove. + + + Sets the value of the model state that is associated with the specified key. + The key to set the value of. + The value to set the key to. + + + Returns an enumerator that can be used to iterate through the model-state dictionary. + An enumerator that can be used to iterate through the model-state dictionary. + + + Gets the model-state value that is associated with the specified key. + true if the model-state dictionary contains an element that has the specified key; otherwise, false. + The key to get the value of. + When this method returns, if the key is found, contains the model-state value that is associated with the specified key; otherwise, contains the default value for the type. This parameter is passed uninitialized. + + + Gets a list that contains the values in the model-state dictionary. + The list of values in the dictionary. + + + Represents an item in an HTML select list. + + + Initializes a new instance of the class using the default settings. + + + Initializes a new instance of the class by copying the specified select list item. + The select list item to copy. + + + Gets or sets a value that indicates whether the instance is selected. + true if the select list item is selected; otherwise, false. + + + Gets or sets the text that is used to display the instance on a web page. + The text that is used to display the select list item. + + + Gets or sets the value of the HTML value attribute of the HTML option element that is associated with the instance. + The value of the HTML value attribute that is associated with the select list item. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Represents a web pages instrumentation service. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the class. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Called before it renders the output for the specified context. + The context. + The virtual path. + The writer. + The start position. + The length of the context. + Determines whether the context is literal. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Called after it renders the output for the specified context. + The context. + The virtual path. + The writer. + The start position. + The length of the context. + Determines whether the context is literal. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets a value indicating whether the service is available. + true if the service is available; otherwise, false. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Represents a position tagged. + The type of the position.. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the class. + The value of this current instance. + The offset. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the specified object is equal to the current object. + true if the specified object is equal to the current object; otherwise, false. + The object to compare to. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the hash code of the current instance. + The hash code of the current instance. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the two objects are equal. + true if the two objects are equal; otherwise, false. + The first object. + The second object. + + + Converts the specified object to a object. + The that represents the converted . + The object to convert. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Converts the to a object. + The that represents the converted . + The object to convert. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the two objects are not equal. + true if the two objects are not equal; otherwise, false. + The first object. + The second object. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the position associated with the . + The position associated with the . + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Returns a string representation of the object. + A string that represents the object. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the value of the current instance. + The value of the current instance. + + + Defines an ASP.NET request scope storage provider. + + + Initializes a new instance of the class. + + + Gets the dictionary to store data in the application scope. + The dictionary that stores application scope data. + + + Gets or sets the dictionary to store data in the current scope. + The dictionary that stores current scope data. + + + Gets the dictionary to store data in the global scope. + The dictionary that stores global scope data. + + + Gets the dictionary to store data in the request scope. + The dictionary that stores request scope data. + + + Defines a dictionary that provides scoped access to data. + + + Gets and sets the dictionary that is used to store data in the current scope. + The dictionary that stores current scope data. + + + Gets the dictionary that is used to store data in the global scope. + The dictionary that stores global scope data. + + + Defines a class that is used to contain storage for a transient scope. + + + Returns a dictionary that is used to store data in a transient scope, based on the scope in the property. + The dictionary that stores transient scope data. + + + Returns a dictionary that is used to store data in a transient scope. + The dictionary that stores transient scope data. + The context. + + + Gets or sets the current scope provider. + The current scope provider. + + + Gets the dictionary that is used to store data in the current scope. + The dictionary that stores current scope data. + + + Gets the dictionary that is used to store data in the global scope. + The dictionary that stores global scope data. + + + Represents a collection of keys and values that are used to store data at different scope levels (local, global, and so on). + + + Initializes a new instance of the class. + + + Initializes a new instance of the class using the specified base scope. + The base scope. + + + Adds a key/value pair to the object using the specified generic collection. + The key/value pair. + + + Adds the specified key and specified value to the object. + The key. + The value. + + + Gets the dictionary that stores the object data. + + + Gets the base scope for the object. + The base scope for the object. + + + Removes all keys and values from the concatenated and objects. + + + Returns a value that indicates whether the specified key/value pair exists in either the object or in the object. + true if the object or the object contains an element that has the specified key/value pair; otherwise, false. + The key/value pair. + + + Returns a value that indicates whether the specified key exists in the object or in the object. + true if the object or the object contains an element that has the specified key; otherwise, false. + The key. + + + Copies all of the elements in the object and the object to an object, starting at the specified index. + The array. + The zero-based index in . + + + Gets the number of key/value pairs that are in the concatenated and objects. + The number of key/value pairs. + + + Returns an enumerator that can be used to iterate through concatenated and objects. + An object. + + + Returns an enumerator that can be used to iterate through the distinct elements of concatenated and objects. + An enumerator that contains distinct elements from the concatenated dictionary objects. + + + Gets a value that indicates whether the object is read-only. + true if the object is read-only; otherwise, false. + + + Gets or sets the element that is associated with the specified key. + The element that has the specified key. + + + Gets a object that contains the keys from the concatenated and objects. + An object that contains that contains the keys. + + + Removes the specified key/value pair from the concatenated and objects. + true if the key/value pair is removed, or false if is not found in the concatenated and objects. + The key/value pair. + + + Removes the value that has the specified key from the concatenated and objects. + true if the key/value pair is removed, or false if is not found in the concatenated and objects. + The key. + + + Sets a value using the specified key in the concatenated and objects. + The key. + The value. + + + Returns an enumerator for the concatenated and objects. + The enumerator. + + + Gets the value that is associated with the specified key from the concatenated and objects. + true if the concatenated and objects contain an element that has the specified key; otherwise, false. + The key. + When this method returns, if the key is found, contains the value that is associated with the specified key; otherwise, the default value for the type of the parameter. This parameter is passed uninitialized. + + + Gets a object that contains the values from the concatenated and objects. + The object that contains the values. + + + Provides scoped access to static data. + + + Initializes a new instance of the class. + + + Gets or sets a dictionary that stores current data under a static context. + The dictionary that provides current scoped data. + + + Gets a dictionary that stores global data under a static context. + The dictionary that provides global scoped data. + + + \ No newline at end of file diff --git a/src/Orchard.Web/Web.config b/src/Orchard.Web/Web.config index d28f5f17e..e9592e794 100644 --- a/src/Orchard.Web/Web.config +++ b/src/Orchard.Web/Web.config @@ -17,7 +17,7 @@ - + @@ -46,7 +46,7 @@ - + @@ -132,7 +132,7 @@ - +