diff --git a/lib/aspnetmvc/System.Web.Helpers.dll b/lib/aspnetmvc/System.Web.Helpers.dll index be23db719..0280d3265 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 9d2f72da7..496d5230e 100644 --- a/lib/aspnetmvc/System.Web.Helpers.xml +++ b/lib/aspnetmvc/System.Web.Helpers.xml @@ -217,12 +217,12 @@ 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. @@ -404,7 +404,10 @@ 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. @@ -469,7 +472,10 @@ 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. @@ -791,7 +797,22 @@ 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. diff --git a/lib/aspnetmvc/System.Web.Mvc.dll b/lib/aspnetmvc/System.Web.Mvc.dll index 05fb8f08c..835f1b55d 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 5358fe5c0..27f7aa6b7 100644 --- a/lib/aspnetmvc/System.Web.Mvc.xml +++ b/lib/aspnetmvc/System.Web.Mvc.xml @@ -63,7 +63,11 @@ There is more than one attribute of type defined for this member. The parameter is null. - + + Gets the filter attributes. + The filter attributes. + true to use the cache, otherwise false. + Returns the filters that are associated with this action method. The filters that are associated with this action method. @@ -280,7 +284,10 @@ Gets the collection of URL routes for the application. The collection of routes for the application. - + + Gets the ViewBag. + The ViewBag. + Gets the context information about the view. The context of the view. @@ -308,7 +315,10 @@ The view data container. The URL route collection. - + + Gets the ViewBag. + The ViewBag. + Gets the strongly typed version of the view data dictionary. The strongly typed data dictionary of the view. @@ -441,7 +451,15 @@ Called from constructors in a derived class to initialize the class. - + + When overridden in a derived class, creates the model metadata for the property. + The model metadata for the property. + The set of attributes. + The type of the container. + The model accessor. + The type of the model. + The name of the property. + Gets a list of attributes. A list of attributes. @@ -455,8 +473,26 @@ The model container. The type of the container. - - + + Returns the metadata for the specified property using the container type and property descriptor. + The metadata for the specified property using the container type and property descriptor. + The model accessor. + The type of the container. + The property descriptor + + + Returns the metadata for the specified property using the container type and property name. + The metadata for the specified property using the container type and property name. + The model accessor. + The type of the container. + The name of the property. + + + Returns the metadata for the specified property using the type of the model. + The metadata for the specified property using the type of the model. + The model accessor. + The type of the model. + Returns the type descriptor from the specified type. The type descriptor. @@ -662,35 +698,125 @@ Provides an abstract class to implement a cached metadata provider. - - - - - - - - - - + + Initializes a new instance of the class. + + + Gets the cache item policy. + The cache item policy. + + + Gets the cache key prefix. + The cache key prefix. + + + When overridden in a derived class, creates the cached model metadata for the property. + The cached model metadata for the property. + The attributes. + The container type. + The model accessor. + The model type. + The property name. + + + Creates prototype metadata by applying the prototype and model access to yield the final metadata. + The prototype metadata. + The prototype. + The model accessor. + + + Creates a metadata prototype. + A metadata prototype. + The attributes. + The container type. + The model type. + The property name. + + + Gets the metadata for the properties. + The metadata for the properties. + The container. + The container type. + + + Returns the metadata for the specified property. + The metadata for the specified property. + The model accessor. + The container type. + The property descriptor. + + + Returns the metadata for the specified property. + The metadata for the specified property. + The model accessor. + The container type. + The property name. + + + Returns the cached metadata for the specified property using the type of the model. + The cached metadata for the specified property using the type of the model. + The model accessor. + The type of the container. + + + Gets the prototype cache. + The prototype cache. + Provides a container to cache attributes. - - - - - - - - - - - - + + Initializes a new instance of the class. + The attributes. + + + Gets the data type. + The data type. + + + Gets the display. + The display. + + + Gets the display column. + The display column. + + + Gets the display format. + The display format. + + + Gets the display name. + The display name. + + + Indicates whether a data field is editable. + true if the field is editable; otherwise, false. + + + Gets the hidden input. + The hidden input. + + + Indicates whether a data field is read only. + true if the field is read only; otherwise, false. + + + Indicates whether a data field is required. + true if the field is required; otherwise, false. + + + Indicates whether a data field is scaffold. + true if the field is scaffold; otherwise, false. + + + Gets the UI hint. + The UI hint. + Provides a container to cache . - + Initializes a new instance of the class using the prototype and model accessor. The prototype. The model accessor. @@ -777,7 +903,7 @@ Initializes a new instance of the class. - + Returns a container of real instances of the cached metadata class based on prototype and model accessor. A container of real instances of the cached metadata class. The prototype. @@ -803,7 +929,7 @@ The property name. The prototype. - + Constructor for creating the prototype instances of the metadata class. The prototype. The model accessor. @@ -1009,7 +1135,10 @@ The metadata. The context. - + + Gets the resource class key. + The resource class key. + Provides an attribute that compares two properties of a model. @@ -1043,7 +1172,10 @@ Gets the property to compare with the current property. The property to compare with the current property. - + + Gets the other properties display name. + The other properties display name. + Represents a user-defined content type that is the result of an action method. @@ -1077,9 +1209,23 @@ Gets the action invoker for the controller. The action invoker. - - - + + Provides asynchronous operations. + Returns . + + + Begins execution of the specified request context + Returns an IAsyncController instance. + The request context. + The callback. + The state. + + + Begins to invoke the action in the current controller context. + Returns an IAsyncController instance. + The callback. + The state. + Gets or sets the binder. The binder. @@ -1110,7 +1256,10 @@ Creates a temporary data provider. A temporary data provider. - + + Disable asynchronous support to provide backward compatibility. + true if asynchronous support is disabled; otherwise false. + Releases all resources that are used by the current instance of the class. @@ -1118,8 +1267,14 @@ Releases unmanaged resources and optionally releases managed resources. true to release both managed and unmanaged resources; false to release only unmanaged resources. - - + + Ends the invocation of the action in the current controller context. + The asynchronous result. + + + Ends the execute core. + The asynchronous result. + Invokes the action in the current controller context. @@ -1275,7 +1430,10 @@ The name of the view that is rendered to the response. The model that is rendered by the partial view - + + Gets the HTTP context profile. + The HTTP context profile. + Creates a object that redirects to the specified URL. The redirect result object. @@ -1434,8 +1592,17 @@ Gets the object for the current HTTP request. The HTTP session-state object for the current HTTP request. - - + + Initializes a new instance of the class. + Returns an IAsyncController instance. + The request context. + The callback. + The state. + + + Ends the execute task. + The asynchronous result. + This API supports the ASP.NET MVC infrastructure and is not intended to be used directly from your code. This method calls the method. The filter context. @@ -1690,7 +1857,10 @@ The view that is rendered to the response. The model that is rendered by the view. - + + Gets the view engine collection. + The view engine collection. + Represents a class that is responsible for invoking the action methods of a controller. @@ -1892,7 +2062,10 @@ Gets or sets the controller. The controller. - + + Gets the display mode. + The display mode. + Gets or sets the HTTP context. The HTTP context. @@ -1953,7 +2126,11 @@ There is more than one attribute of type defined for this member. The parameter is null (Nothing in Visual Basic). - + + Gets the filter attributes. + The filter attributes. + true if the cache should be used; otherwise, false. + Retrieves a value that indicates whether one or more instance of the specified custom attribute are defined for this member. true if the is defined for this member; otherwise, false. @@ -1990,7 +2167,15 @@ Provides a container for common metadata, for the class, and for the class for a data model. - + + Initializes a new instance of the class. + The data-annotations model metadata provider. + The type of the container. + The model accessor. + The type of the model. + The name of the property. + The display column attribute. + Returns simple text for the model data. Simple text for the model data. @@ -2001,7 +2186,15 @@ Initializes a new instance of the class. - + + Gets the metadata for the specified property. + The metadata for the property. + The attributes. + The type of the container. + The model accessor. + The type of the model. + The name of the property. + Represents the method that creates a instance. @@ -2331,7 +2524,11 @@ This API supports the ASP.NET MVC infrastructure and is not intended to be used directly from your code. The implementation of the dependency resolver. - + + This API supports the ASP.NET MVC infrastructure and is not intended to be used directly from your code. + The function that provides the service. + The function that provides the services. + This API supports the ASP.NET MVC infrastructure and is not intended to be used directly from your code. The common service locator. @@ -2340,7 +2537,11 @@ This API supports the ASP.NET MVC infrastructure and is not intended to be used directly from your code. The object that implements the dependency resolver. - + + Provides a registration point for dependency resolvers using the specified service delegate and specified service collection delegates. + The service delegate. + The services delegates. + Provides a registration point for dependency resolvers using the provided common service locator when using a service locator interface. The common service locator. @@ -2380,7 +2581,11 @@ The prefix to search for. The parameter is null. - + + Gets the keys from the prefix. + The keys from the prefix. + the prefix. + Returns a value object using the specified key and controller context. The value object for the specified key. @@ -2393,7 +2598,15 @@ Initializes a new instance of the class. - + + Creates a new instance of the class. + A new instance of the class. + The attributes. + The type of the container. + The model accessor. + The type of the model. + The name of the model. + Provides an empty validation provider for models that do not require a validator. @@ -2979,7 +3192,12 @@ The HTML-encoded string. The string to encode. - + + Formats the value. + The formatted value. + The value. + The format string. + Creates an HTML element ID using the specified element name. The ID of the HTML element. @@ -3080,7 +3298,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. - + + Returns markup that is not HTML encoded. + Markup that is not HTML encoded. + The value. + Returns markup that is not HTML encoded. The HTML markup without encoding. @@ -3112,7 +3334,10 @@ The name of the CSS class that is used to style the validation summary when the input is valid. - + + Gets the view bag. + The view bag. + Gets or sets the context information about the view. The context of the view. @@ -3140,7 +3365,10 @@ The view data container. The route collection. - + + Gets the view bag. + The view bag. + Gets the strongly typed view data dictionary. The strongly typed view data dictionary. @@ -3188,6 +3416,18 @@ The context within which the controller operates. The context information includes the controller, HTTP content, request context, and route data. Encapsulates information about a method, such as its type, return type, and arguments. + + Specifies that the HTTP request must be the HTTP HEAD method. + + + Initializes a new instance of the class. + + + Determines whether a request is a valid HTTP HEAD request. + true if the request is HEAD; otherwise, false. + The controller context. + The method info. + Defines an object that is used to indicate that the requested resource was not found. @@ -3198,6 +3438,30 @@ Initializes a new instance of the class using a status description. The status description. + + Represents an attribute that is used to restrict an action method so that the method handles only HTTP OPTIONS requests. + + + Initializes a new instance of the class. + + + Determines whether a request is a valid HTTP OPTIONS request. + true if the request is OPTIONS; otherwise, false. + The controller context. + The method info. + + + Represents an attribute that is used to restrict an action method so that the method handles only HTTP PATCH requests. + + + Initializes a new instance of the class. + + + Determines whether a request is a valid HTTP PATCH request. + true if the request is PATCH; otherwise, false. + The controller context. + The method info. + Represents an attribute that is used to restrict an action method so that the method handles only HTTP POST requests. @@ -3257,8 +3521,15 @@ The status code. The status description. - - + + Initializes a new instance of the class using a status code. + The status code. + + + Initializes a new instance of the class using a status code and status description. + The status code. + The status description. + Enables processing of the result of an action method by a custom type that inherits from the class. The context in which the result is executed. The context information includes the controller, HTTP content, request context, and route data. @@ -3299,6 +3570,12 @@ Retrieves the message headers for the information or entity that is identified by the URI of the request. + + Requests that a set of changes described in the request entity be applied to the resource identified by the Request- URI. + + + Represents a request for information about the communication options available on the request/response chain identified by the Request-URI. + Defines the methods that are used in an action filter. @@ -3384,7 +3661,7 @@ The type of the requested services. - Represents a special IValueProvider that has the ability to be enumerable. + Represents a special that has the ability to be enumerable. Gets the keys from the prefix. @@ -3626,8 +3903,14 @@ Gets or sets a value that indicates whether HTTP GET requests from the client are allowed. A value that indicates whether HTTP GET requests from the client are allowed. - - + + Gets or sets the maximum length of data. + The maximum length of data. + + + Gets or sets the recursion limit. + The recursion limit. + Enables action methods to send and receive JSON-formatted text and to model-bind the JSON text to parameters of action methods. @@ -3911,7 +4194,14 @@ Provides a container for common metadata, for the class, and for the class for a data model. - + + Initializes a new instance of the class. + The provider. + The type of the container. + The model accessor. + The type of the model. + The name of the model. + Gets a dictionary that contains additional metadata about the model. A dictionary that contains additional metadata about the model. @@ -3947,9 +4237,13 @@ Gets or sets the edit format string of the model. The edit format string of the model. - - - + + Returns the metadata from the parameter for the model. + The metadata. + An expression that identifies the model. + The view data dictionary. + The type of the parameter. + The type of the value. Gets the metadata from the expression parameter for the model. @@ -4058,8 +4352,19 @@ The container. The type of the container. - - + + Gets metadata for the specified property. + A object for the property. + The model accessor. + The type of the container. + The property to get the metadata model for. + + + Gets metadata for the specified model accessor and model type. + A object for the specified model accessor and model type. + The model accessor. + The type of the model. + Provides a container for the current instance. @@ -4581,7 +4886,11 @@ The prefix to search for. The parameter is null. - + + Gets the keys using the specified prefix. + They keys. + The prefix. + Returns a value object using the specified key. The value object for the specified key. @@ -4968,7 +5277,11 @@ The custom attribute type cannot be loaded. There is more than one attribute of type defined for this member. - + + Gets the filter attributes. + The filter attributes. + true to use the cache, otherwise false. + Retrieves the parameters of the action method. The parameters of the action method. @@ -5030,7 +5343,11 @@ The custom attribute type cannot be loaded. There is more than one attribute of type defined for this member. - + + Gets the filter attributes. + The filter attributes. + true to use the cache, otherwise false. + Returns a value that indicates whether one or more instances of a custom attribute type are defined for this member. true if the custom attribute type is defined for this member; otherwise, false. @@ -5710,6 +6027,18 @@ The request context. true to include implicit MVC values; otherwise. false. + + Generates a fully qualified URL for the specified route values. + A fully qualified URL for the specified route values. + The route name. + The route values. + + + Generates a fully qualified URL for the specified route values. + A fully qualified URL for the specified route values. + The route name. + The route values. + Returns a value that indicates whether the URL is local. true if the URL is local; otherwise, false. @@ -5834,7 +6163,11 @@ true if the collection contains the specified prefix; otherwise, false. The prefix to search for. - + + Gets the keys using the specified prefix. + They keys. + The prefix. + Returns a value object using the specified key. The value object for the specified key. @@ -6100,7 +6433,10 @@ Gets an object that implements the interface to render in the browser. The view. - + + Gets the dynamic view data dictionary. + The dynamic view data dictionary. + Gets the view data that is passed to the view. The view data. @@ -6288,7 +6624,10 @@ Initializes a new instance of the class. - + + Initializes a new instance of the T:System.Web.Mvc.ViewDataInfo class and associates a delegate for accessing the view data information. + A delegate that defines how the view data information is accessed. + Gets or sets the object that contains the values to be displayed by the template. The object that contains the values to be displayed by the template. @@ -6771,7 +7110,10 @@ The path of the view. The path of the master view. - + + Gets or sets the display mode provider. + The display mode provider. + Returns a value that indicates whether the file is in the specified path by using the specified controller context. true if the file is in the specified path; otherwise, false. @@ -7669,7 +8011,11 @@ The type of the custom attributes to return. true to look up the hierarchy chain for the inherited custom attribute; otherwise, false. - + + Gets the filter attributes. + The filter attributes. + Use cache flag. + Returns the parameters of the action method. The parameters of the action method. @@ -7720,7 +8066,11 @@ The type of the custom attributes. true to look up the hierarchy chain for the inherited custom attribute; otherwise, false. - + + Gets the filter attributes. + The filter attributes. + true to use the cache, otherwise false. + Returns a value that indicates whether one or more instances of the specified custom attribute are defined for this member. true if an attribute of the type represented by is defined for this member; otherwise, false. @@ -7768,6 +8118,7 @@ The controller descriptor. + Ends the asynchronous operation. The result of an asynchronous operation. An object that represents the status of an asynchronous operation. @@ -7798,8 +8149,8 @@ The parameters of the asynchronous action method. - Returns the asynchronous action-method selectors - The asynchronous action-method selectors + Returns the asynchronous action-method selectors. + The asynchronous action-method selectors. Returns a value that indicates whether one or more instance of the specified custom attribute are defined for this member. @@ -7982,21 +8333,62 @@ A string that is used to disambiguate the names of HTML input elements that are rendered for properties that have the same name. An anonymous object that can contain additional view data that will be merged into the instance that is created for the template. - - - + + Returns HTML markup for each property in the object that is represented by the expression. + The HTML markup for each property in the object that is represented by the expression. + The HTML helper instance that this method extends. + An expression that identifies the object that contains the properties to display. + The type of the model. + The type of the value. - - - + + Returns a string that contains each property value in the object that is represented by the specified expression, using additional view data. + The HTML markup for each property in the object that is represented by the expression. + The HTML helper instance that this method extends. + An expression that identifies the object that contains the properties to display. + An anonymous object that can contain additional view data that will be merged into the instance that is created for the template. + The type of the model. + The type of the value. - - - + + Returns a string that contains each property value in the object that is represented by the , using the specified template. + The HTML markup for each property in the object that is represented by the expression. + The HTML helper instance that this method extends. + An expression that identifies the object that contains the properties to display. + The name of the template that is used to render the object. + The type of the model. + The type of the value. - - - + + Returns a string that contains each property value in the object that is represented by the specified expression, using the specified template and additional view data. + The HTML markup for each property in the object that is represented by the expression. + The HTML helper instance that this method extends. + An expression that identifies the object that contains the properties to display. + The name of the template that is used to render the object. + An anonymous object that can contain additional view data that will be merged into the instance that is created for the template. + The type of the model. + The type of the value. + + + Returns HTML markup for each property in the object that is represented by the , using the specified template and an HTML field ID. + The HTML markup for each property in the object that is represented by the expression. + The HTML helper instance that this method extends. + An expression that identifies the object that contains the properties to display. + The name of the template that is used to render the object. + A string that is used to disambiguate the names of HTML input elements that are rendered for properties that have the same name. + The type of the model. + The type of the value. + + + Returns HTML markup for each property in the object that is represented by the specified expression, using the template, an HTML field ID, and additional view data. + The HTML markup for each property in the object that is represented by the expression. + The HTML helper instance that this method extends. + An expression that identifies the object that contains the properties to display. + The name of the template that is used to render the object. + A string that is used to disambiguate the names of HTML input elements that are rendered for properties that have the same name. + An anonymous object that can contain additional view data that will be merged into the instance that is created for the template. + The type of the model. + The type of the value. Returns HTML markup for each property in the model. @@ -8038,15 +8430,15 @@ An anonymous object that can contain additional view data that will be merged into the instance that is created for the template. - Gets the display name from the model meta-data. + Provides a mechanism to get display names. - Gets the display name from the model meta-data. + Gets the display name. The display name. The HTML helper instance that this method extends. An expression that identifies the object that contains the display name. - + Gets the display name for the model. The display name for the model. The HTML helper instance that this method extends. @@ -8054,7 +8446,7 @@ The type of the model. The type of the value. - + Gets the display name for the model. The display name for the model. The HTML helper instance that this method extends. @@ -8076,9 +8468,13 @@ The HTML helper instance that this method extends. An expression that identifies the object that contains the properties to display. - - - + + Returns HTML markup for each property in the object that is represented by the specified expression. + The HTML markup for each property. + The HTML helper instance that this method extends. + An expression that identifies the object that contains the properties to display. + The type of the model. + The type of the result. Represents support for the HTML input element in an application. @@ -8128,21 +8524,62 @@ A string that is used to disambiguate the names of HTML input elements that are rendered for properties that have the same name. An anonymous object that can contain additional view data that will be merged into the instance that is created for the template. - - - + + Returns an HTML input element for each property in the object that is represented by the expression. + An HTML input element for each property in the object that is represented by the expression. + The HTML helper instance that this method extends. + An expression that identifies the object that contains the properties to display. + The type of the model. + The type of the value. - - - + + Returns an HTML input element for each property in the object that is represented by the expression, using additional view data. + An HTML input element for each property in the object that is represented by the expression. + The HTML helper instance that this method extends. + An expression that identifies the object that contains the properties to display. + An anonymous object that can contain additional view data that will be merged into the instance that is created for the template. + The type of the model. + The type of the value. - - - + + Returns an HTML input element for each property in the object that is represented by the expression, using the specified template. + An HTML input element for each property in the object that is represented by the expression. + The HTML helper instance that this method extends. + An expression that identifies the object that contains the properties to display. + The name of the template to use to render the object. + The type of the model. + The type of the value. - - - + + Returns an HTML input element for each property in the object that is represented by the expression, using the specified template and additional view data. + An HTML input element for each property in the object that is represented by the expression. + The HTML helper instance that this method extends. + An expression that identifies the object that contains the properties to display. + The name of the template to use to render the object. + An anonymous object that can contain additional view data that will be merged into the instance that is created for the template. + The type of the model. + The type of the value. + + + Returns an HTML input element for each property in the object that is represented by the expression, using the specified template and HTML field name. + An HTML input element for each property in the object that is represented by the expression. + The HTML helper instance that this method extends. + An expression that identifies the object that contains the properties to display. + The name of the template to use to render the object. + A string that is used to disambiguate the names of HTML input elements that are rendered for properties that have the same name. + The type of the model. + The type of the value. + + + Returns an HTML input element for each property in the object that is represented by the expression, using the specified template, HTML field name, and additional view data. + An HTML input element for each property in the object that is represented by the expression. + The HTML helper instance that this method extends. + An expression that identifies the object that contains the properties to display. + The name of the template to use to render the object. + A string that is used to disambiguate the names of HTML input elements that are rendered for properties that have the same name. + An anonymous object that can contain additional view data that will be merged into the instance that is created for the template. + The type of the model. + The type of the value. Returns an HTML input element for each property in the model. @@ -8429,11 +8866,31 @@ The name of the form field. An object that contains the HTML attributes to set for the element. - - + + Returns a check box input element for each property in the object that is represented by the specified expression. + An HTML input element whose type attribute is set to "checkbox" 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. + The type of the model. + The parameter is null. - - + + Returns a check box input element for each property in the object that is represented by the specified expression, using the specified HTML attributes. + An HTML input element whose type attribute is set to "checkbox" 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. + A dictionary that contains the HTML attributes to set for the element. + The type of the model. + The parameter is null. + + + Returns a check box input element for each property in the object that is represented by the specified expression, using the specified HTML attributes. + An HTML input element whose type attribute is set to "checkbox" 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. + An object that contains the HTML attributes to set for the element. + The type of the model. + The parameter is null. Returns a hidden input element by using the specified HTML helper and the name of the form field. @@ -8464,13 +8921,31 @@ 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. An object that contains the HTML attributes to set for the element. - - - + + Returns an HTML hidden input element for each property in the object that is represented by the specified expression. + An input element whose type attribute is set to "hidden" for each property in the object that is represented by the expression. + The HTML helper instance that this method extends. + An expression that identifies the object that contains the properties to render. + The type of the model. + The type of the property. - - - + + Returns an HTML hidden input element for each property in the object that is represented by the specified expression, using the specified HTML attributes. + An input element whose type attribute is set to "hidden" for each property in the object that is represented by the expression. + The HTML helper instance that this method extends. + An expression that identifies the object that contains the properties to render. + An object that contains the HTML attributes to set for the element. + The type of the model. + The type of the property. + + + Returns an HTML hidden input element for each property in the object that is represented by the specified expression, using the specified HTML attributes. + An input element whose type attribute is set to "hidden" for each property in the object that is represented by the expression. + The HTML helper instance that this method extends. + An expression that identifies the object that contains the properties to render. + An object that contains the HTML attributes to set for the element. + The type of the model. + The type of the property. Returns a password input element by using the specified HTML helper and the name of the form field. @@ -8501,13 +8976,34 @@ 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. An object that contains the HTML attributes to set for the element. - - - + + Returns a password input element for each property in the object that is represented by the specified expression. + An HTML input element whose type attribute is set to "password" 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. + The type of the model. + The type of the value. + The parameter is null. - - - + + Returns a password input element for each property in the object that is represented by the specified expression, using the specified HTML attributes. + An HTML input element whose type attribute is set to "password" 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. + A dictionary that contains the HTML attributes to set for the element. + The type of the model. + The type of the value. + The parameter is null. + + + Returns a password input element for each property in the object that is represented by the specified expression, using the specified HTML attributes. + An HTML input element whose type attribute is set to "password" 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. + An object that contains the HTML attributes to set for the element. + The type of the model. + The type of the value. + The parameter is null. Returns a radio button input element that is used to present mutually exclusive options. @@ -8570,13 +9066,37 @@ The parameter is null or empty. The parameter is null. - - - + + Returns a radio button input element for each property in the object that is represented by the specified expression. + 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 type of the model. + The type of the value. + The parameter is null. - - - + + Returns a radio button input element for each property in the object that is represented by the specified expression, using the specified HTML attributes. + 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. + A dictionary that contains the HTML attributes to set for the element. + The type of the model. + The type of the value. + The parameter is null. + + + Returns a radio button input element for each property in the object that is represented by the specified expression, using the specified HTML attributes. + 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. + An object that contains the HTML attributes to set for the element. + The type of the model. + The type of the value. + The parameter is null. Returns a text input element by using the specified HTML helper and the name of the form field. @@ -8607,20 +9127,89 @@ 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. An object that contains the HTML attributes to set for the element. - - - - - - + + Returns a text input element. + 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. + A string that is used to format the input. - - - + + Returns a text input element. + 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. + A string that is used to format the input. + An object that contains the HTML attributes to set for the element. - - - + + Returns a text input element. + 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. + A string that is used to format the input. + An object that contains the HTML attributes to set for the element. + + + Returns a text input element for each property in the object that is represented by the specified expression. + An HTML input element whose type attribute is set to "text" for each property in the object that is represented by the expression. + The HTML helper instance that this method extends. + An expression that identifies the object that contains the properties to render. + The type of the model. + The type of the value. + The parameter is null or empty. + + + Returns a text input element for each property in the object that is represented by the specified expression, using the specified HTML attributes. + An HTML input element type attribute is set to "text" for each property in the object that is represented by the expression. + The HTML helper instance that this method extends. + An expression that identifies the object that contains the properties to render. + A dictionary that contains the HTML attributes to set for the element. + The type of the model. + The type of the value. + The parameter is null or empty. + + + Returns a text input element for each property in the object that is represented by the specified expression, using the specified HTML attributes. + An HTML input element whose type attribute is set to "text" for each property in the object that is represented by the expression. + The HTML helper instance that this method extends. + An expression that identifies the object that contains the properties to render. + An object that contains the HTML attributes to set for the element. + The type of the model. + The type of the value. + The parameter is null or empty. + + + Returns a text input element. + An input element whose type attribute is set to "text". + The HTML helper instance that this method extends. + An expression that identifies the object that contains the properties to display. + A string that is used to format the input. + The type of the model. + The type of the value. + + + Returns a text input element. + An input element whose type attribute is set to "text". + The HTML helper instance that this method extends. + An expression that identifies the object that contains the properties to display. + A string that is used to format the input. + An object that contains the HTML attributes to set for the element. + The type of the model. + The type of the value. + + + Returns a text input element. + An input element whose type attribute is set to "text". + The HTML helper instance that this method extends. + An expression that identifies the object that contains the properties to display. + A string that is used to format the input. + An object that contains the HTML attributes to set for the element. + The type of the model. + The type of the value. Represents support for the HTML label element in an ASP.NET MVC view. @@ -8631,8 +9220,20 @@ The HTML helper instance that this method extends. An expression that identifies the property to display. - - + + Returns an HTML label element and the property name of the property that is represented by the specified expression. + Returns . + The HTML helper instance that this method extends. + An expression that identifies the property to display. + An object that contains the HTML attributes to set for the element. + + + Returns an HTML label element and the property name of the property that is represented by the specified expression. + An HTML label element and the property name of the property that is represented by the expression. + The HTML helper instance that this method extends. + An expression that identifies the property to display. + An object that contains the HTML attributes to set for the element. + Returns an HTML label element and the property name of the property that is represented by the specified expression using the label text. An HTML label element and the property name of the property that is represented by the expression. @@ -8640,35 +9241,113 @@ An expression that identifies the property to display. The label text to display. - - - - + + Returns an HTML label element and the property name of the property that is represented by the specified expression. + An HTML label element and the property name of the property that is represented by the expression. + The HTML helper instance that this method extends. + An expression that identifies the property to display. + The label text. + An object that contains the HTML attributes to set for the element. + + + Returns an HTML label element and the property name of the property that is represented by the specified expression. + An HTML label element and the property name of the property that is represented by the expression. + The HTML helper instance that this method extends. + An expression that identifies the property to display. + The label text. + An object that contains the HTML attributes to set for the element. + + + Returns an HTML label element and the property name of the property that is represented by the specified expression. + An HTML label element and the property name of the property that is represented by the expression. + The HTML helper instance that this method extends. + An expression that identifies the property to display. + The type of the model. + The type of the value. + + + Returns an HTML label element and the property name of the property that is represented by the specified expression. + An HTML label element and the property name of the property that is represented by the expression. + The HTML helper instance that this method extends. + An expression that identifies the property to display. + An object that contains the HTML attributes to set for the element. + The type of the model. - - + + Returns an HTML label element and the property name of the property that is represented by the specified expression. + An HTML label element and the property name of the property that is represented by the expression. + The HTML helper instance that this method extends. + An expression that identifies the property to display. + An object that contains the HTML attributes to set for the element. + The type of the model. + The value. + + + Returns an HTML label element and the property name of the property that is represented by the specified expression using the label text. + An HTML label element and the property name of the property that is represented by the expression. + The HTML helper instance that this method extends. + An expression that identifies the property to display. + The label text to display. + The type of the model. + The type of the value. + + + Returns an HTML label element and the property name of the property that is represented by the specified expression. + An HTML label element and the property name of the property that is represented by the expression. + The HTML helper instance that this method extends. + An expression that identifies the property to display. + An object that contains the HTML attributes to set for the element. + The type of the model. - - - + + Returns an HTML label element and the property name of the property that is represented by the specified expression. + An HTML label element and the property name of the property that is represented by the expression. + The HTML helper instance that this method extends. + An expression that identifies the property to display. + The label text. + An object that contains the HTML attributes to set for the element. + The type of the model. + The Value. Returns an HTML label element and the property name of the property that is represented by the model. An HTML label element and the property name of the property that is represented by the model. The HTML helper instance that this method extends. - - + + Returns an HTML label element and the property name of the property that is represented by the specified expression. + An HTML label element and the property name of the property that is represented by the expression. + The HTML helper instance that this method extends. + An object that contains the HTML attributes to set for the element. + + + Returns an HTML label element and the property name of the property that is represented by the specified expression. + An HTML label element and the property name of the property that is represented by the expression. + The HTML helper instance that this method extends. + An object that contains the HTML attributes to set for the element. + Returns an HTML label element and the property name of the property that is represented by the specified expression using the label text. An HTML label element and the property name of the property that is represented by the expression. The HTML helper instance that this method extends. The label text to display. - - + + Returns an HTML label element and the property name of the property that is represented by the specified expression. + An HTML label element and the property name of the property that is represented by the expression. + The HTML helper instance that this method extends. + The label Text. + An object that contains the HTML attributes to set for the element. + + + Returns an HTML label element and the property name of the property that is represented by the specified expression. + An HTML label element and the property name of the property that is represented by the expression. + The HTML helper instance that this method extends. + The label text. + An object that contains the HTML attributes to set for the element. + Represents support for HTML links in an application. @@ -8915,7 +9594,7 @@ The HTML helper instance that this method extends. An expression that identifies the object that contains the ID. - + Gets the ID of the string The HTML ID attribute value for the object that is represented by the expression. The HTML helper instance that this method extends. @@ -8934,7 +9613,7 @@ The HTML helper instance that this method extends. An expression that identifies the object that contains the name. - + Gets the full HTML field name for the object that is represented by the expression. The full HTML field name for the object that is represented by the expression. The HTML helper instance that this method extends. @@ -9078,17 +9757,72 @@ The text for a default empty item. This parameter can be null. The parameter is null or empty. - - - + + Returns an HTML select element for each property in the object that is represented by the specified expression using the specified list items. + An HTML select element for each property in the object that is represented by the expression. + The HTML helper instance that this method extends. + An expression that identifies the object that contains the properties to display. + A collection of objects that are used to populate the drop-down list. + The type of the model. + The type of the value. + The parameter is null. - - - + + Returns an HTML select element for each property in the object that is represented by the specified expression using the specified list items and HTML attributes. + An HTML select element for each property in the object that is represented by the expression. + The HTML helper instance that this method extends. + An expression that identifies the object that contains the properties to display. + A collection of objects that are used to populate the drop-down list. + An object that contains the HTML attributes to set for the element. + The type of the model. + The type of the value. + The parameter is null. - - - + + Returns an HTML select element for each property in the object that is represented by the specified expression using the specified list items and HTML attributes. + An HTML select element for each property in the object that is represented by the expression. + The HTML helper instance that this method extends. + An expression that identifies the object that contains the properties to display. + A collection of objects that are used to populate the drop-down list. + An object that contains the HTML attributes to set for the element. + The type of the model. + The type of the value. + The parameter is null. + + + Returns an HTML select element for each property in the object that is represented by the specified expression using the specified list items and option label. + An HTML select element for each property in the object that is represented by the expression. + The HTML helper instance that this method extends. + An expression that identifies the object that contains the properties to display. + A collection of objects that are used to populate the drop-down list. + The text for a default empty item. This parameter can be null. + The type of the model. + The type of the value. + The parameter is null. + + + Returns an HTML select element for each property in the object that is represented by the specified expression using the specified list items, option label, and HTML attributes. + An HTML select element for each property in the object that is represented by the expression. + The HTML helper instance that this method extends. + An expression that identifies the object that contains the properties to display. + A collection of objects that are used to populate the drop-down list. + The text for a default empty item. This parameter can be null. + An object that contains the HTML attributes to set for the element. + The type of the model. + The type of the value. + The parameter is null. + + + Returns an HTML select element for each property in the object that is represented by the specified expression using the specified list items, option label, and HTML attributes. + An HTML select element for each property in the object that is represented by the expression. + The HTML helper instance that this method extends. + An expression that identifies the object that contains the properties to display. + A collection of objects that are used to populate the drop-down list. + The text for a default empty item. This parameter can be null. + An object that contains the HTML attributes to set for the element. + The type of the model. + The type of the value. + The parameter is null. Returns a multi-select select element using the specified HTML helper and the name of the form field. @@ -9123,13 +9857,37 @@ An object that contains the HTML attributes to set for the element. The parameter is null or empty. - - - + + Returns an HTML select element for each property in the object that is represented by the specified expression and using the specified list items. + An HTML select element for each property in the object that is represented by the expression. + The HTML helper instance that this method extends. + An expression that identifies the object that contains the properties to display. + A collection of objects that are used to populate the drop-down list. + The type of the model. + The type of the property. + The parameter is null. - - - + + Returns an HTML select element for each property in the object that is represented by the specified expression using the specified list items and HTML attributes. + An HTML select element for each property in the object that is represented by the expression. + The HTML helper instance that this method extends. + An expression that identifies the object that contains the properties to display. + A collection of objects that are used to populate the drop-down list. + An object that contains the HTML attributes to set for the element. + The type of the model. + The type of the property. + The parameter is null. + + + Returns an HTML select element for each property in the object that is represented by the specified expression using the specified list items and HTML attributes. + An HTML select element for each property in the object that is represented by the expression. + The HTML helper instance that this method extends. + An expression that identifies the object that contains the properties to display. + A collection of objects that are used to populate the drop-down list. + An object that contains the HTML attributes to set for the element. + The type of the model. + The type of the property. + The parameter is null. Represents support for HTML textarea controls. @@ -9197,17 +9955,58 @@ The text content. An object that contains the HTML attributes to set for the element. - - - + + Returns an HTML textarea element for each property in the object that is represented by the specified expression. + An HTML textarea element for each property in the object that is represented by the expression. + The HTML helper instance that this method extends. + An expression that identifies the object that contains the properties to render. + The type of the model. + The type of the property. + The parameter is null. - - - + + Returns an HTML textarea element for each property in the object that is represented by the specified expression using the specified HTML attributes. + An HTML textarea element for each property in the object that is represented by the expression. + The HTML helper instance that this method extends. + An expression that identifies the object that contains the properties to render. + A dictionary that contains the HTML attributes to set for the element. + The type of the model. + The type of the property. + The parameter is null. - - - + + Returns an HTML textarea element for each property in the object that is represented by the specified expression using the specified HTML attributes and the number of rows and columns. + An HTML textarea element for each property in the object that is represented by the expression. + The HTML helper instance that this method extends. + An expression that identifies the object that contains the properties to render. + The number of rows. + The number of columns. + A dictionary that contains the HTML attributes to set for the element. + The type of the model. + The type of the property. + The parameter is null. + + + Returns an HTML textarea element for each property in the object that is represented by the specified expression using the specified HTML attributes and the number of rows and columns. + An HTML textarea element for each property in the object that is represented by the expression. + The HTML helper instance that this method extends. + An expression that identifies the object that contains the properties to render. + The number of rows. + The number of columns. + A dictionary that contains the HTML attributes to set for the element. + The type of the model. + The type of the property. + The parameter is null. + + + Returns an HTML textarea element for each property in the object that is represented by the specified expression using the specified HTML attributes. + An HTML textarea element for each property in the object that is represented by the expression. + The HTML helper instance that this method extends. + An expression that identifies the object that contains the properties to render. + A dictionary that contains the HTML attributes to set for the element. + The type of the model. + The type of the property. + The parameter is null. Provides support for validating the input from an HTML form. @@ -9222,9 +10021,12 @@ The name of the property or model object that is being validated. The parameter is null. - - - + + Retrieves the validation metadata for the specified model and applies each rule to the data field. + The HTML helper instance that this method extends. + An expression that identifies the object that contains the properties to render. + The type of the model. + The type of the property. Displays a validation message if an error exists for the specified field in the object. @@ -9269,17 +10071,42 @@ The message to display if the specified field contains an error. An object that contains the HTML attributes for the element. - - - + + 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. + The HTML helper instance that this method extends. + An expression that identifies the object that contains the properties to render. + 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. + If the property or object is valid, an empty string; otherwise, a span element that contains an error message. + The HTML helper instance that this method extends. + An expression that identifies the object that contains the properties to render. + The message to display if the specified field contains an error. + 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. + The HTML helper instance that this method extends. + An expression that identifies the object that contains the properties to render. + The message to display if the specified field contains an error. + An object that contains the HTML attributes for the element. + 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. + The HTML helper instance that this method extends. + An expression that identifies the object that contains the properties to render. + The message to display if the specified field contains an error. + An object that contains the HTML attributes for the element. + The type of the model. + The type of the property. Returns an unordered list (ul element) of validation messages that are in the object. @@ -9336,60 +10163,75 @@ An object that contains the HTML attributes for the element. - Provides a mechanism to get view data, model data and model state. + Provides a mechanism to create custom HTML markup compatible with the ASP.NET MVC model binders and templates. - Gets the value of the object identified by the expression. - The value of the object identified by the expression. + Provides a mechanism to create custom HTML markup compatible with the ASP.NET MVC model binders and templates. + The HTML markup for the value. The HTML helper instance that this method extends. - An expression that identifies the object. + The name of the model. - Gets the value of the object identified by the expression. - The value of the object identified by the expression. + Provides a mechanism to create custom HTML markup compatible with the ASP.NET MVC model binders and templates. + The HTML markup for the value. The HTML helper instance that this method extends. - The name of the object. + The name of the model. + The format string. - - Gets the value of the object identified by the expression. - The value of the object identified by the expression. + + Provides a mechanism to create custom HTML markup compatible with the ASP.NET MVC model binders and templates. + The HTML markup for the value. The HTML helper instance that this method extends. - An expression that identifies the object. + An expression that identifies the object that contains the properties to expose. The model. The property. - - Gets the value of the object identified by the expression. - The value of the object identified by the expression. + + Provides a mechanism to create custom HTML markup compatible with the ASP.NET MVC model binders and templates. + The HTML markup for the value. The HTML helper instance that this method extends. - An expression that identifies the object. - A sting used to format the value from T:System.Web.Mvc.ModelMetadata or from the ViewData for the current model. + An expression that identifies the object that contains the properties to expose. + The format string. The model. The property. - Gets the value of the object identified by the expression. - The value of the object identified by the expression. + Provides a mechanism to create custom HTML markup compatible with the ASP.NET MVC model binders and templates. + The HTML markup for the value. The HTML helper instance that this method extends. - Gets the value of the object identified by the expression. - The value of the object identified by the expression. + Provides a mechanism to create custom HTML markup compatible with the ASP.NET MVC model binders and templates. + The HTML markup for the value. The HTML helper instance that this method extends. - A sting used to format the value from T:System.Web.Mvc.ModelMetadata or from the ViewData for the current model. + The format string. + + + Compiles ASP.NET Razor views into classes. + + + Initializes a new instance of the class. + + + The inherits directive. + + + The model directive. - - - - Extends the VBCodeParser class by adding support for the @model keyword. Initializes a new instance of the class. - - + + Sets a value that indicates whether the current code block and model should be inherited. + true if the code block and model is inherited; otherwise, false. + + + The Model Type Directive. + Returns void. + Configures the ASP.NET Razor parser and code generator for a specified file. diff --git a/lib/aspnetmvc/System.Web.Razor.dll b/lib/aspnetmvc/System.Web.Razor.dll index 2defd256d..6a78bc6b7 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 9031a04fb..05e6ce2f3 100644 --- a/lib/aspnetmvc/System.Web.Razor.xml +++ b/lib/aspnetmvc/System.Web.Razor.xml @@ -632,7 +632,9 @@ 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. @@ -717,8 +719,12 @@ 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. @@ -728,7 +734,9 @@ 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. @@ -967,12 +975,18 @@ 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. @@ -1018,9 +1032,15 @@ 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. @@ -1048,12 +1068,18 @@ 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. @@ -1177,12 +1203,18 @@ 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. @@ -1201,7 +1233,9 @@ 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. @@ -2222,7 +2256,9 @@ 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. @@ -3969,7 +4005,7 @@ 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. @@ -4056,7 +4092,7 @@ 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. diff --git a/lib/aspnetmvc/System.Web.WebPages.Deployment.dll b/lib/aspnetmvc/System.Web.WebPages.Deployment.dll index 1371f7083..89e7d2745 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 30123402c..beb6b3d26 100644 --- a/lib/aspnetmvc/System.Web.WebPages.Deployment.xml +++ b/lib/aspnetmvc/System.Web.WebPages.Deployment.xml @@ -11,43 +11,31 @@ Registers pre-application start code for Web Pages deployment. - Provides methods to confirm the deployment of a Web Pages application. - - - Represents the prefix for files that are stored in the cache. + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. - Returns the full path of the folder that contains ASP.NET Web Pages assemblies for the specified version. - The full path of the folder that contains ASP.NET Web Pages assemblies. - The version of the assemblies. - - is null. - The registry key for the path cannot be found.-or-The path cannot be found. + 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. - - - Returns the version of ASP.NET Web Pages that is installed. - The version of ASP.NET Web Pages that is installed, or null if the version is undetermined. The path of the root directory for the application. - - is null or empty. - - + + 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. + - Returns a value that indicates whether the Web Pages application is enabled. - true if the Web Pages application is enabled; otherwise, false. - The path of the root directory for the application. - - is null or empty. + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. - Returns a value that indicates whether the Web Pages application is explicitly disabled. - true if the Web Pages application is explicitly disabled; otherwise, false. - The path of the root directory for the application. - - is null or empty. + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. \ 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 853bb467d..547c6e04e 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 c921a3775..f59250149 100644 --- a/lib/aspnetmvc/System.Web.WebPages.Razor.xml +++ b/lib/aspnetmvc/System.Web.WebPages.Razor.xml @@ -4,10 +4,18 @@ System.Web.WebPages.Razor - - - - + + 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. @@ -35,7 +43,9 @@ 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. @@ -45,11 +55,15 @@ 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. @@ -108,14 +122,18 @@ 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. diff --git a/lib/aspnetmvc/System.Web.WebPages.dll b/lib/aspnetmvc/System.Web.WebPages.dll index 57ea1e19e..60e9abab5 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 50f6bed30..187a7ea46 100644 --- a/lib/aspnetmvc/System.Web.WebPages.xml +++ b/lib/aspnetmvc/System.Web.WebPages.xml @@ -22,11 +22,13 @@ is null. + 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 and lets callers specify additional validation details. The HTTP context data for a request. @@ -34,6 +36,43 @@ 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. + + + 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. @@ -86,18 +125,25 @@ This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. + 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. @@ -283,7 +329,10 @@ 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. @@ -311,126 +360,174 @@ Writes the specified object without HTML encoding. The object to write. - - - - - - - - - Returns . + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. - - Returns . + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. - - - Returns . + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. - Returns . + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. - Returns . + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. - Returns . + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. - Returns . + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. + + + Provides a way to specify custom browser (user agent) information. + + + Removes any overridden user agent for the current request. + The current context. - - - Returns . + 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 . + 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. - Returns . + Gets a string that varies based on the type of the browser. + A string that identifies the browser. + The current context. - Returns . + 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. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. - - - Returns . + 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. - - - - Returns . + 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. - - - - Returns . + 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. - - - - - Returns . + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. - Returns . + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. - Returns . + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. - Returns . + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. - Returns . + 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. - - - Returns . + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. - Returns . + 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. - - - Returns . + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. - Returns . + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. - Returns . + 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. - - Returns . + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. - Returns . + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. - Represents a base class that is used when ASP.NET compiles a .cshtml or .vbhtml file that is in the App_Code folder. + 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. - 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. Gets the application-state data as a object that callers can use to create and access custom application-scoped properties. @@ -440,8 +537,12 @@ 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. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. + Gets the cache object for the current application domain. The cache object. @@ -454,10 +555,14 @@ 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. + + + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. + - Returns . + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Builds an absolute URL from an application-relative URL by using the specified parameters. @@ -474,8 +579,8 @@ true if Ajax is being used during the request; otherwise, false. - Gets a value that indicates whether the HTTP data transfer method used by the client to request the web page is a POST operation. - true if the HTTP verb is "POST"; 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. @@ -525,84 +630,71 @@ 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 the specified object to the specified instance without HTML encoding. - The text writer. - The object to write. + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. - Writes the specified object to the specified instance without HTML encoding. - The text writer. - The object to write. + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. - Writes the specified object as an HTML-encoded string to the specified text writer. - The text writer. - The object to encode and write. + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. - Writes the specified object as an HTML-encoded string to the specified text writer. - The text writer. - The helper result to encode and write. + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. - Represents the result of a helper action as an HTML-encoded string. + 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. - A function that takes a instance as its only parameter, and writes its result to the as an HTML-encoded string. The function does not have a return value. + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. - Returns an HTML-encoded string that represents the helper result. - The HTML-encoded string that represents the result. + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. - Returns an HTML-encoded string that represents the helper result. - The HTML-encoded string that represents the result. + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. - Writes an HTML-encoded string that writes the helper result to the specified object. - The instance to write the result to. + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. - Provides methods to extend the HTTP context. + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. - Redirects to the root of the website if the host is not local. - The HTTP context of the HTTP request. - A local URL. + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. - Adds a resource to the list of resources to dispose at the end of an HTTP request. - The HTTP context of the HTTP request. - The resource to dispose. - - is null. + 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. - - Returns . + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. - Returns . + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. - Returns . + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. - Defines an interface to provide information about the currently executing file. + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. - Gets the template information for the current web page. - The template information. + 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. - - Returns . + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. - Returns . + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Defines methods that are implemented by virtual path handler factories. @@ -651,23 +743,43 @@ 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. + - Returns . + When implemented in a derived class, gets a container for client validation for the required field. + The container. - Returns . + Returns the HTTP context of the current request. + The context. + The validation context. - Returns . + Returns the value to validate. + The value to validate. + The current request. + The name of the field from the current request to validate. - Returns . + 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. - Returns . + Performs the validation test. + The result of the validation test. + The context. Defines extension methods for the base class. @@ -723,7 +835,10 @@ 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 . @@ -907,79 +1022,149 @@ 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. + + - Returns . + 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. - Returns . + 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. - Returns . + 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 . + 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. - Returns . + 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. - Returns . + 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. - - - - Returns . + 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. - Returns . + 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. - - - Returns . + 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. - Returns . + 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. - Returns . + Defines a validation test that test user input against the value of another field. + The validation test. + The error message to display if validation fails. - Returns . + 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. - Returns . + 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. - Returns . + 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. - Returns . + 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. - Returns . + 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. - Returns . + Defines a validation test that tests whether a value has been provided. + The validation test. + The error message to display if validation fails. - Returns . + 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. - Returns . + 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. - Contains methods that are used for managing virtual path factories. + 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. - - - Adds a virtual path factory to the list of virtual path factories. - The virtual path factory to add. + 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. @@ -1013,8 +1198,16 @@ 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. @@ -1049,7 +1242,10 @@ 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. @@ -1162,23 +1358,47 @@ 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. + + + 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. + When overridden in a derived class, gets or sets the object that is associated with a page. The current context data. - - - - + + 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. + Executes the server code in the current web page that is marked using Razor syntax. - - + + Returns the text writer instance that is used to render the page. + The text writer. + + + 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. + Returns a normalized path from the specified path. The normalized path. @@ -1188,7 +1408,9 @@ Gets or sets 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 the string representation of the specified object as an HTML-encoded string. The object to encode and write. @@ -1197,9 +1419,15 @@ Writes the specified object as an HTML-encoded string. The helper result to encode and write. - - - + + 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. + Writes the specified object without HTML encoding. The object to write. @@ -1270,7 +1498,10 @@ When overridden in a derived class, gets or sets the culture for the current thread. The culture for the current thread. - + + Gets the display mode for the request. + The display mode. + When overridden in a derived class, calls the methods that are used to initialize the page. @@ -1298,7 +1529,10 @@ 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. - + + Gets profile information for the current request context. + The profile information. + When overridden in a derived class, renders a web page. The markup that represents the web page. @@ -1534,6 +1768,7 @@ 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. @@ -1778,10 +2013,13 @@ is null or empty. - Returns . + 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. @@ -1889,16 +2127,16 @@ is null or empty. - Returns . + 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 is associated with field validation error messages. - The name of the CSS class that is associated with field validation errors. The default is field-validation-error. - - is null. + 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. - Returns . + 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. @@ -1950,10 +2188,12 @@ is null or empty. - Returns . + 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. - Returns . + 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. @@ -2006,13 +2246,12 @@ 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 is associated with validation summary messages. - The name of the CSS class that is associated with validation summaries. The default is validation-summary-errors. - - is null. + 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. - Returns . + 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. @@ -2161,43 +2400,54 @@ 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. + + + 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. + - Returns . + 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. + - Returns . + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. - Returns . + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. - Returns . + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. - Returns . + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. - Returns . + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. - Returns . + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. - Returns . + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. - Returns . + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. - Returns . + This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Defines an ASP.NET request scope storage provider. diff --git a/lib/aspnetwebapi/System.Net.Http.Formatting.dll b/lib/aspnetwebapi/System.Net.Http.Formatting.dll index c365d5ae3..367d253b9 100644 Binary files a/lib/aspnetwebapi/System.Net.Http.Formatting.dll and b/lib/aspnetwebapi/System.Net.Http.Formatting.dll differ diff --git a/lib/aspnetwebapi/System.Net.Http.Formatting.xml b/lib/aspnetwebapi/System.Net.Http.Formatting.xml index bf89bdf0e..be4d98a55 100644 --- a/lib/aspnetwebapi/System.Net.Http.Formatting.xml +++ b/lib/aspnetwebapi/System.Net.Http.Formatting.xml @@ -4,119 +4,348 @@ System.Net.Http.Formatting - - Extension methods to provide convenience methods for finding items within a <see cref="T:System.Collections.Generic.IEnumerable`1" /> collection. + + Extension methods that aid in making formatted requests using . - - Returns all instances of in a sequence that has a header field with a property equal to the provided contentType. - null if source is empty or if no element matches; otherwise the first in the sequence with a matching media type. - The content to evaluate - The media type to look for. + + Sends a POST request as an asynchronous operation, with a specified value serialized as JSON. + A task object representing the asynchronous operation. + The client used to make the request. + The URI the request is sent to. + The value to write into the entity body of the request. + The type of object to serialize. - - Returns all instances of in a sequence that has a header field with a property equal to the provided contentType. - null if source is empty or if no element matches; otherwise the first in the sequence with a matching media type. - The content to evaluate - The media type to look for. + + Sends a POST request as an asynchronous operation, with a specified value serialized as JSON. Includes a cancellation token to cancel the request. + A task object representing the asynchronous operation. + The client used to make the request. + The URI the request is sent to. + The value to write into the entity body of the request. + A cancellation token that can be used by other objects or threads to receive notice of cancellation. + The type of object to serialize. - - Returns the first in a sequence that has a header field with a property equal to dispositionName. - The first in the sequence with a matching disposition name. - The contents to evaluate - The disposition name to look for. + + Sends a POST request as an asynchronous operation, with a specified value serialized as XML. + A task object representing the asynchronous operation. + The client used to make the request. + The URI the request is sent to. + The value to write into the entity body of the request. + The type of object to serialize. - - Returns the first in a sequence that has a header field with a property equal to dispositionName. - null if source is empty or if no element matches; otherwise the first in the sequence with a matching disposition name. - The contents to evaluate - The disposition name to look for. + + Sends a POST request as an asynchronous operation, with a specified value serialized as XML. Includes a cancellation token to cancel the request. + A task object representing the asynchronous operation. + The client used to make the request. + The URI the request is sent to. + The value to write into the entity body of the request. + A cancellation token that can be used by other objects or threads to receive notice of cancellation. + The type of object to serialize. - - Returns the first in a sequence that has a header field with a property equal to dispositionType. - The first in the sequence with a matching disposition type. - The contents to evaluate - The disposition type to look for. + + Sends a POST request as an asynchronous operation, with a specified value serialized using the given formatter. + A task object representing the asynchronous operation. + The client used to make the request. + The URI the request is sent to. + The value to write into the entity body of the request. + The formatter used to serialize the value. + The type of object to serialize. - - Returns the first in a sequence that has a header field with a property equal to dispositionType. - null if source is empty or if no element matches; otherwise the first in the sequence with a matching disposition type. - The contents to evaluate - The disposition type to look for. + + Sends a POST request as an asynchronous operation, with a specified value serialized using the given formatter and media type. + A task object representing the asynchronous operation. + The client used to make the request. + The URI the request is sent to. + The value to write into the entity body of the request. + The formatter used to serialize the value. + The authoritative value of the Content-Type header. Can be null, in which case the default content type of the formatter will be used. + A cancellation token that can be used by other objects or threads to receive notice of cancellation. + The type of object to serialize. - - Returns the start multipart body part. The start is used to identify the main body in multipart/related content (see RFC 2387). - The first in the sequence with a matching value. - The contents to evaluate. - The start value to look for. A match is found if a has a Content-ID header field with the given value. + + Sends a POST request as an asynchronous operation, with a specified value serialized using the given formatter and media type string. + A task object representing the asynchronous operation. + The client used to make the request. + The URI the request is sent to. + The value to write into the entity body of the request. + The formatter used to serialize the value. + The authoritative value of the Content-Type header. Can be null, in which case the default content type of the formatter will be used. + The type of object to serialize. - - Returns the first in a sequence that has a header field parameter equal to start. This parameter is typically used in connection with multipart/related content (see RFC 2387). - null if source is empty or if no element matches; otherwise the first in the sequence with a matching value. - The contents to evaluate. - The start value to look for. A match is found if a has a Content-ID header field with the given value. + + Sends a POST request as an asynchronous operation, with a specified value serialized using the given formatter and media type string. Includes a cancellation token to cancel the request. + A task object representing the asynchronous operation. + The client used to make the request. + The URI the request is sent to. + The value to write into the entity body of the request. + The formatter used to serialize the value. + The authoritative value of the Content-Type header. Can be null, in which case the default content type of the formatter will be used. + A cancellation token that can be used by other objects or threads to receive notice of cancellation. + The type of object to serialize. + + + Sends a POST request as an asynchronous operation, with a specified value serialized using the given formatter. Includes a cancellation token to cancel the request. + A task object representing the asynchronous operation. + The client used to make the request. + The URI the request is sent to. + The value to write into the entity body of the request. + The formatter used to serialize the value. + A cancellation token that can be used by other objects or threads to receive notice of cancellation. + The type of object to serialize. + + + Sends a PUT request as an asynchronous operation, with a specified value serialized as JSON. + A task object representing the asynchronous operation. + The client used to make the request. + The URI the request is sent to. + The value to write into the entity body of the request. + The type of object to serialize. + + + Sends a PUT request as an asynchronous operation, with a specified value serialized as JSON. Includes a cancellation token to cancel the request. + A task object representing the asynchronous operation. + The client used to make the request. + The URI the request is sent to. + The value to write into the entity body of the request. + A cancellation token that can be used by other objects or threads to receive notice of cancellation. + The type of object to serialize. + + + Sends a PUT request as an asynchronous operation, with a specified value serialized as XML. + A task object representing the asynchronous operation. + The client used to make the request. + The URI the request is sent to. + The value to write into the entity body of the request. + The type of object to serialize. + + + Sends a PUT request as an asynchronous operation, with a specified value serialized as XML. Includes a cancellation token to cancel the request. + A task object representing the asynchronous operation. + The client used to make the request. + The URI the request is sent to. + The value to write into the entity body of the request. + A cancellation token that can be used by other objects or threads to receive notice of cancellation. + The type of object to serialize. + + + Sends a PUT request as an asynchronous operation, with a specified value serialized using the given formatter. + A task object representing the asynchronous operation. + The client used to make the request. + The URI the request is sent to. + The value to write into the entity body of the request. + The formatter used to serialize the value. + The type of object to serialize. + + + Sends a PUT request as an asynchronous operation, with a specified value serialized using the given formatter and media type. Includes a cancellation token to cancel the request. + A task object representing the asynchronous operation. + The client used to make the request. + The URI the request is sent to. + The value to write into the entity body of the request. + The formatter used to serialize the value. + The authoritative value of the Content-Type header. Can be null, in which case the default content type of the formatter will be used. + A cancellation token that can be used by other objects or threads to receive notice of cancellation. + The type of object to serialize. + + + Sends a PUT request as an asynchronous operation, with a specified value serialized using the given formatter and media type string. + A task object representing the asynchronous operation. + The client used to make the request. + The URI the request is sent to. + The value to write into the entity body of the request. + The formatter used to serialize the value. + The authoritative value of the Content-Type header. Can be null, in which case the default content type of the formatter will be used. + The type of object to serialize. + + + Sends a PUT request as an asynchronous operation, with a specified value serialized using the given formatter and media type string. Includes a cancellation token to cancel the request. + A task object representing the asynchronous operation. + The client used to make the request. + The URI the request is sent to. + The value to write into the entity body of the request. + The formatter used to serialize the value. + The authoritative value of the Content-Type header. Can be null, in which case the default content type of the formatter will be used. + A cancellation token that can be used by other objects or threads to receive notice of cancellation. + The type of object to serialize. + + + Sends a PUT request as an asynchronous operation, with a specified value serialized using the given formatter and medai type string. Includes a cancellation token to cancel the request. + A task object representing the asynchronous operation. + The client used to make the request. + The URI the request is sent to. + The value to write into the entity body of the request. + The formatter used to serialize the value. + A cancellation token that can be used by other objects or threads to receive notice of cancellation. + The type of object to serialize. + + + Represents the factory for creating new instance of . + + + Creates a new instance of the . + A new instance of the . + The list of HTTP handler that delegates the processing of HTTP response messages to another handler. + + + Creates a new instance of the . + A new instance of the . + The inner handler which is responsible for processing the HTTP response messages. + The list of HTTP handler that delegates the processing of HTTP response messages to another handler. + + + Creates a new instance of the which should be pipelined. + A new instance of the which should be pipelined. + The inner handler which is responsible for processing the HTTP response messages. + The list of HTTP handler that delegates the processing of HTTP response messages to another handler. - Extension methods to allow strongly typed objects to be read from instances. + Specifies extension methods to allow strongly typed objects to be read from HttpContent instances. - - + + Returns a Task that will yield an object of the specified type <typeparamref name="T" /> from the content instance. + An object instance of the specified type. + The HttpContent instance from which to read. + The type of the object to read. - - - - - + + Returns a Task that will yield an object of the specified type <typeparamref name="T" /> from the content instance. + An object instance of the specified type. + The HttpContent instance from which to read. + The collection of MediaTyepFormatter instances to use. + The type of the object to read. - - + + Returns a Task that will yield an object of the specified type <typeparamref name="T" /> from the content instance. + An object instance of the specified type. + The HttpContent instance from which to read. + The collection of MediaTypeFormatter instances to use. + The IFormatterLogger to log events to. + The type of the object to read. - - + + Returns a Task that will yield an object of the specified type from the content instance. + A Task that will yield an object instance of the specified type. + The HttpContent instance from which to read. + The type of the object to read. - - - - - + + Returns a Task that will yield an object of the specified type from the content instance using one of the provided formatters to deserialize the content. + An object instance of the specified type. + The HttpContent instance from which to read. + The type of the object to read. + The collection of MediaTypeFormatter instances to use. - - + + Returns a Task that will yield an object of the specified type from the content instance using one of the provided formatters to deserialize the content. + An object instance of the specified type. + The HttpContent instance from which to read. + The type of the object to read. + The collection of MediaTypeFormatter instances to use. + The IFormatterLogger to log events to. + + + Extension methods to read HTML form URL-encoded datafrom instances. + + + Determines whether the specified content is HTML form URL-encoded data. + true if the specified content is HTML form URL-encoded data; otherwise, false. + The content. + + + Asynchronously reads HTML form URL-encoded from an instance and stores the results in a object. + A task object representing the asynchronous operation. + The content. - Extension methods to read and entities from instances. + Provides extension methods to read and entities from instances. - Determines whether the specified content is HTTP request message content. - true if the specified content is HTTP message content; otherwise, false. - The content. + Determines whether the specified content is HTTP request message content. + true if the specified content is HTTP message content; otherwise, false. + The content to check. - Determines whether the specified content is HTTP response message content. - true if the specified content is HTTP message content; otherwise, false. - The content. + Determines whether the specified content is HTTP response message content. + true if the specified content is HTTP message content; otherwise, false. + The content to check. + + + Reads the as an . + The parsed instance. + The content to read. + + + Reads the as an . + The parsed instance. + The content to read. + The URI scheme to use for the request URI. + + + Reads the as an . + The parsed instance. + The content to read. + The URI scheme to use for the request URI. + The size of the buffer. + + + Reads the as an . + The parsed instance. + The content to read. + The URI scheme to use for the request URI. + The size of the buffer. + The maximum length of the HTTP header. + + + Reads the as an . + The parsed instance. + The content to read. + + + Reads the as an . + The parsed instance. + The content to read. + The size of the buffer. + + + Reads the as an . + The parsed instance. + The content to read. + The size of the buffer. + The maximum length of the HTTP header. - - - - - - Extension methods to read MIME multipart entities from instances. + Extension methods to read MIME multipart entities from instances. - Determines whether the specified content is MIME multipart content. - true if the specified content is MIME multipart content; otherwise, false. + Determines whether the specified content is MIME multipart content. + true if the specified content is MIME multipart content; otherwise, false. The content. - Determines whether the specified content is MIME multipart content with the specified subtype. For example, the subtype mixed would match content with a content type of multipart/mixed. - true if the specified content is MIME multipart content with the specified subtype; otherwise, false. + Determines whether the specified content is MIME multipart content with the specified subtype. + true if the specified content is MIME multipart content with the specified subtype; otherwise, false. The content. The MIME multipart subtype to match. - - - + + Reads all body parts within a MIME multipart message and produces a set of instances as a result. + A <see cref="T:System.Threading.Tasks.Task`1" /> representing the tasks of getting the collection of instances where each instance represents a body part. + An existing instance to use for the object's content. + + + Reads all body parts within a MIME multipart message and produces a set of instances as a result using the streamProvider instance to determine where the contents of each body part is written. + A representing the tasks of getting the collection of instances where each instance represents a body part. + An existing instance to use for the object's content. + A stream provider providing output streams for where to write body parts as they are parsed. + The type of the MIME multipart. + + + Reads all body parts within a MIME multipart message and produces a set of instances as a result using the streamProvider instance to determine where the contents of each body part is written and bufferSize as read buffer size. + A representing the tasks of getting the collection of instances where each instance represents a body part. + An existing instance to use for the object's content. + A stream provider providing output streams for where to write body parts as they are parsed. + Size of the buffer used to read the contents. + The type of the MIME multipart. + Derived class which can encapsulate an or an as an entity with media type "application/http". @@ -149,254 +378,84 @@ true if the length has been computed; otherwise false. The computed length of the stream. - - Derived class that contains a strongly typed object as its content. - The type of object it contains as its content. + + Provides extension methods for the class. - - Initializes a new instance of the <see cref="T:System.Net.Http.HttpRequestMessage`1" /> class. + + Gets any cookie headers present in the request. + A collection of instances. + The request headers. - - Initializes a new instance of the <see cref="T:System.Net.Http.HttpRequestMessage`1" /> class. - The object to use as the content of this new instance. + + Gets any cookie headers present in the request that contain a cookie state whose name that matches the specified value. + A collection of instances. + The request headers. + The cookie state name to match. - - Initializes a new instance of the <see cref="T:System.Net.Http.HttpRequestMessage`1" /> class. - The object to use as the content of this new instance. - The collection of instances to use for serialization. + + + + Provides extension methods for the class. - - Initializes a new instance of the <see cref="T:System.Net.Http.HttpRequestMessage`1" /> class. - The object to use as the content of this new instance. - The media type to use to write the request. + + Adds cookies to a response. Each Set-Cookie header is represented as one instance. A contains information about the domain, path, and other cookie information as well as one or more instances. Each instance contains a cookie name and whatever cookie state is associate with that name. The state is in the form of a which on the wire is encoded as HTML Form URL-encoded data. This representation allows for multiple related "cookies" to be carried within the same Cookie header while still providing separation between each cookie state. A sample Cookie header is shown below. In this example, there are two with names state1 and state2 respectively. Further, each cookie state contains two name/value pairs (name1/value1 and name2/value2) and (name3/value3 and name4/value4). <code> Set-Cookie: state1:name1=value1&amp;name2=value2; state2:name3=value3&amp;name4=value4; domain=domain1; path=path1; </code> + The response headers + The cookie values to add to the response. - - Initializes a new instance of the <see cref="T:System.Net.Http.HttpRequestMessage`1" /> class. - The object to use as the content of this new instance. - The media type to use to write the request. - The collection of instances to use for serialization. + + Represents a multipart file data. - - Initializes a new instance of the <see cref="T:System.Net.Http.HttpRequestMessage`1" /> class. - The object to use as the content of this new instance. - The media type to use to write the request. - The collection of instances to use for serialization. - The to use to select the . + + Initializes a new instance of the class. + The headers of the multipart file data. + The name of the local file for the multipart file data. - - Initializes a new instance of the <see cref="T:System.Net.Http.HttpRequestMessage`1" /> class. - The object to use as the content of this new instance. - The for this request. - The to use for this request. - The collection of instances to use for serialization. + + Gets or sets the headers of the multipart file data. + The headers of the multipart file data. - - Initializes a new instance of the <see cref="T:System.Net.Http.HttpRequestMessage`1" /> class. - The object to use as the content of this new instance. - The media type to use to write the request. - - - Gets or sets the that manages the object value for this . - - - Extension methods for . - - - Creates a new instance associated with the given . - The existing - The type of the value. - The value for the new - - - Creates a new instance associated with the given . - The . - The type of the value. - The value for the new - The collection of instances to use. - The to select the - - - Creates a new instance associated with the given . - The . - The type of the value. - The value for the new - The to set as the request media type. - The collection of instances to use. - The to select the - - - Creates a new instance associated with the given . - The existing - The value for the new - The type of value for the new . - - - Creates a new instance associated with the given . - The . - The value for the new - The collection of instances to use. - The to select the - The type of the value. - - - Creates a new instance associated with the given . - The . - The value for the new - The to set as the request media type. - The collection of instances to use. - The to select the - The type of the value. - - - Derived class that contains a strongly typed object as its content. - The type of object instances of this class will contain as its content. - - - Initializes a new instance of the <see cref="T:System.Net.Http.HttpResponseMessage`1" /> class. - The to use for this response. - - - Initializes a new instance of the <see cref="T:System.Net.Http.HttpResponseMessage`1" /> class. - The value to use as the content of this new instance. - - - Initializes a new instance of the <see cref="T:System.Net.Http.HttpResponseMessage`1" /> class. - The value to use as the content of this new instance. - The collection of instances to use for serialization. - - - Initializes a new instance of the <see cref="T:System.Net.Http.HttpResponseMessage`1" /> class. - The value to use as the content of this new instance. - The to use to select the appropriate . - - - Initializes a new instance of the <see cref="T:System.Net.Http.HttpResponseMessage`1" /> class. - The value to use as the content of this new instance. - The to use to serialize the response. - - - Initializes a new instance of the <see cref="T:System.Net.Http.HttpResponseMessage`1" /> class. - The value to use as the content of this new instance. - The original . - The collection of instances to use for serialization. - The to use to select the appropriate . - - - Initializes a new instance of the <see cref="T:System.Net.Http.HttpResponseMessage`1" /> class. - The value to use as the content of this new instance. - The original . - The media type to use. - The collection of instances to use for serialization. - The to use to select the appropriate . - - - Initializes a new instance of the <see cref="T:System.Net.Http.HttpResponseMessage`1" /> class. - The value to use as the content of this new instance. - The to use for this response. - - - Initializes a new instance of the <see cref="T:System.Net.Http.HttpResponseMessage`1" /> class. - The value to use as the content of this new instance. - The to use for this response. - The collection of instances to use for serialization. - - - Gets or sets the that manages the value for this instance. - - - - Creates a new instance associated with the given . - The existing - The type of the value. - The value for the new - - - Creates a new instance associated with the given . - The . - The type of the value. - The value for the new - The collection of instances to use. - The to select the - - - Creates a new instance associated with the given . - The . - The type of the value. - The value for the new - The to set as the response media type. - The collection of instances to use. - The to select the - - - Creates a new instance associated with the given . - The existing - The value for the new - The type of value for the new . - - - Creates a new instance associated with the given . - The . - The value for the new - The collection of instances to use. - The to select the - The type of the value. - - - Creates a new instance associated with the given . - The . - The value for the new - The to set as the response media type. - The collection of instances to use. - The to select the - The type of the value. - - - An implementation examines the headers provided by the MIME multipart parser as part of the MIME multipart extension methods (see ) and decides what kind of stream to return for the body part to be written to. - - - When a MIME multipart body part has been parsed this method is called to get a stream for where to write the body part to. - The instance where the message body part is written to. - Header fields describing the body part. + + Gets or sets the name of the local file for the multipart file data. + The name of the local file for the multipart file data. - An suited for writing each MIME body parts of the MIME multipart message to a file using a . - - - Initializes a new instance of the class. + Represents an suited for writing each MIME body parts of the MIME multipart message to a file using a . - Initializes a new instance of the class. + Initializes a new instance of the class. The root path where the content of MIME multipart body parts are written to. - Initializes a new instance of the class. + Initializes a new instance of the class. The root path where the content of MIME multipart body parts are written to. The number of bytes buffered for writes to the file. - - Gets an <see cref="T:System.Collections.Generic.IEnumerable`1" /> containing the files names of MIME body part written to file. + + Gets or sets the number of bytes buffered for writes to the file. + The number of bytes buffered for writes to the file. + + + Gets or sets the multipart file data. + The multipart file data. - Gets the name of the local file which will be combined with the root path to create an absolute file name where the contents of the current MIME body part will be stored. + Gets the name of the local file which will be combined with the root path to create an absolute file name where the contents of the current MIME body part will be stored. A relative filename with no path component. The headers for the current MIME body part. - - This body part stream provider examines the headers provided by the MIME multipart parser and decides which to write the body part to. + + Gets the stream instance where the message body part is written to. The instance where the message body part is written to. - Header fields describing the body part + The content of HTTP. + The header fields describing the body part. - - Override this method in a derived class to examine the headers provided by the MIME multipart parser and decides which to write the body part to. - The instance where the message body part is written to. - Header fields describing the body part + + Gets or sets the root path where the content of MIME multipart body parts are written to. + The root path where the content of MIME multipart body parts are written to. An suited for use with HTML file uploads for writing file content to a . The stream provider looks at the <b>Content-Disposition</b> header field and determines an output based on the presence of a <b>filename</b> parameter. If a <b>filename</b> parameter is present in the <b>Content-Disposition</b> header field then the body part is written to a , otherwise it is written to a . This makes it convenient to process MIME Multipart HTML Form data which is a combination of form data and file content. - - Initializes a new instance of the class. - Initializes a new instance of the class. The root path where the content of MIME multipart body parts are written to. @@ -406,160 +465,325 @@ The root path where the content of MIME multipart body parts are written to. The number of bytes buffered for writes to the file. - - Gets an <see cref="T:System.Collections.Generic.IDictionary`2" /> instance containing mappings of each <b>filename</b> parameter provided in a <b>Content-Disposition</b> header field (represented as the keys) to a local file name where the contents of the body part is stored (represented as the values). + + Reads the non-file contents as form data + A task that represents the asynchronous operation. - - Gets the name of the local file which will be combined with the root path to create an absolute file name where the contents of the current MIME body part will be stored. - A relative filename with no path component. - The headers for the current MIME body part. + + Gets a of form data passed as part of the multipart form data. + The of form data. - - This body part stream provider examines the headers provided by the MIME multipart parser and decides whether it should return a file stream or a memory stream for the body part to be written to. + + The instance where the message body part is written. + The HTTP content that contains this body part. + Header fields describing the body part. + + + Represents a multipart memory stream provider. + + + Initializes a new instance of the class. + + + Returns the for the . + The for the . + A object. + The HTTP content headers. + + + Represents the provider for the multipart related multistream. + + + Initializes a new instance of the class. + + + Gets the related stream for the provider. + The content headers. + The parent content. + The http content headers. + + + Gets the root content of the . + The root content of the . + + + Represents a stream provider that examines the headers provided by the MIME multipart parser as part of the MIME multipart extension methods (see ) and decides what kind of stream to return for the body part to be written to. + + + Initializes a new instance of the class. + + + Gets or sets the contents for this . + The contents for this . + + + Executes the post processing operation for this . + The asynchronous task for this operation. + + + Gets the stream where to write the body part to. This method is called when a MIME multipart body part has been parsed. The instance where the message body part is written to. - Header fields describing the body part - - - Override this method in a derived class to examine the headers provided by the MIME multipart parser and decide whether it should return a file stream or a memory stream for the body part to be written to. - The instance where the message body part is written to. - Header fields describing the body part + The content of the HTTP. + The header fields describing the body part. - Derived class that contains a strongly typed object. + Contains a value as well as an associated that will be used to serialize the value when writing this content. - - Asynchronously creates the content read stream. - A instance that will yield a stream intended for reading. + + Initializes a new instance of the class. + The type of object this instance will contain. + The value of the object this instance will contain. + The formatter to use when serializing the value. - - Gets or sets the default formatter. - The default formatter. + + Initializes a new instance of the class. + The type of object this instance will contain. + The value of the object this instance will contain. + The formatter to use when serializing the value. + The authoritative value of the Content-Type header. Can be null, in which case the default content type of the formatter will be used. - - Gets or sets the formatter context. - The formatter context. + + Initializes a new instance of the class. + The type of object this instance will contain. + The value of the object this instance will contain. + The formatter to use when serializing the value. + The authoritative value of the Content-Type header. - - Gets the mutable collection of instances used to serialize or deserialize the value of this . - - - Gets or sets the formatter selector. - The formatter selector. - - - Gets or sets the inner wrapped by by the current . + + Gets the media-type formatter associated with this content instance. + The . - Gets the type of object managed by this instance. - - - Asynchronously returns the object instance for this . - A instance that will yield the object instance. - - - - - - Asynchronously returns the object instance for this or the default value for the type if content is not available. - A instance that will yield the object instance. - - - Selects the appropriate to read the object content. - The selected or null. - - - Selects the appropriate to write the object content. - The selected or null. - The to use to describe the object's content type. + Gets the type of object managed by this instance. + The object type. - Asynchronously serializes the object's content to the given stream. - A instance that is asynchronously serializing the object's content. - The to which to write. + Asynchronously serializes the object's content to the given stream. + The task object representing the asynchronous operation. + The stream to write to. The associated . - - Sets the value of the without any type checking. - The value to set to - - Computes the length of the stream if possible. - true if the length has been computed; otherwise false. - The computed length of the stream. + Computes the length of the stream if possible. + true if the length has been computed; otherwise, false. + Receives the computed length of the stream. - - Gets a value indicating whether the formatter collection was set explicitly. - truefalse - - - Gets a value indicating whether formatter context was set explicitly. - truefalse - - - Gets a value indicating whether the formatter selector was set explicitly. - truefalse - - - Gets and sets value indicating whether the media type was set explicitly. - truefalse - - - Gets or sets the write formatter. - The write formatter. + + Gets or sets the value of the content. + The content value. Generic form of . The type of object this class will contain. - - Returns a instance to yield the object instance for this . - A that will yield the object instance. + + Initializes a new instance of the class. + The value of the object this instance will contain. + The formatter to use when serializing the value. - - Returns a instance to yield the object instance for this or the default value for the type if content is not available. - A that will yield the object instance. + + Initializes a new instance of the <see cref="T:System.Net.Http.ObjectContent`1" /> class. + The value of the object this instance will contain. + The formatter to use when serializing the value. + The authoritative value of the Content-Type header. Can be null, in which case the default content type of the formatter will be used. + + + Initializes a new instance of the class. + The value of the object this instance will contain. + The formatter to use when serializing the value. + The authoritative value of the Content-Type header. + + + Enables scenarios where a data producer wants to write directly (either synchronously or asynchronously) using a stream. + + + Initializes a new instance of the class. + An action that is called when an output stream is available, allowing the action to write to it directly. + + + Initializes a new instance of the class. + An action that is called when an output stream is available, allowing the action to write to it directly. + The media type. + + + Initializes a new instance of the class. + An action that is called when an output stream is available, allowing the action to write to it directly. + The media type. + + + Asynchronously serializes the push content into stream. + The serialized push content. + The stream where the push content will be serialized. + The context. + + + Determines whether the stream content has a valid length in bytes. + true if length is a valid length; otherwise, false. + The length in bytes of the stream content. - Extension methods to allow strongly typed objects to be read from the query component of instances. + Contains extension methods to allow strongly typed objects to be read from the query component of instances. - Parses the query portion of the specified . - A containing the parsed result. - The instance from which to read. + Parses the query portion of the specified URI. + A that contains the query parameters. + The URI to parse. - Reads HTML form URL encoded data provided in the query component as an of the given type. - true if the query component can be read as the specified type; otherwise false. - The instance from which to read. - The type of the object to read. - An object to be initialized with this instance or null if the conversion cannot be performed. + Reads HTML form URL encoded data provided in the URI query string as an object of a specified type. + true if the query component of the URI can be read as the specified type; otherwise, false. + The URI to read. + The type of object to read. + When this method returns, contains an object that is initialized from the query component of the URI. This parameter is treated as uninitialized. - Reads HTML form URL encoded data provided in the query component as an of type <typeparamref name="T" />. - true if the query component can be read as the specified type; otherwise false. - The instance from which to read. - An object to be initialized with this instance or null if the conversion cannot be performed. - The type of the object to read. + Reads HTML form URL encoded data provided in the URI query string as an object of a specified type. + true if the query component of the URI can be read as the specified type; otherwise, false. + The URI to read. + When this method returns, contains an object that is initialized from the query component of the URI. This parameter is treated as uninitialized. + The type of object to read. - - Reads HTML form URL encoded data provided in the query component as a object. - true if the query component can be read as ; otherwise false. + + Reads HTML form URL encoded data provided in the query component as a object. + true if the query component can be read as ; otherwise false. The instance from which to read. An object to be initialized with this instance or null if the conversion cannot be performed. - Helper class to allow a synchronous formatter on top of the async formatter infrastructure. This does not guarantee non-blocking threads. The only way to guarantee that we don't block a thread on IO is: a) use the async form, or b) fully buffer the entire write operation. The user opted out of the async form, meaning they can tolerate potential thread blockages. This class just tries to do smart buffering to minimize that blockage. It also gives us a place to do future optimizations on synchronous usage. + Represents a helper class to allow a synchronous formatter on top of the asynchronous formatter infrastructure. Initializes a new instance of the class. - Suggested size of buffer to use with streams, in bytes. + Gets or sets the suggested size of buffer to use with streams in bytes. + The suggested size of buffer to use with streams in bytes. + + + Reads synchronously from the buffered stream. + An object of the given . + The type of the object to deserialize. + The stream from which to read + The , if available. Can be null. + The to log events to. + + + Reads asynchronously from the buffered stream. + A task object representing the asynchronous operation. + The type of the object to deserialize. + The stream from which to read. + The , if available. Can be null. + The to log events to. + + + Writes synchronously to the buffered stream. + The type of the object to serialize. + The object value to write. Can be null. + The stream to which to write. + The , if available. Can be null. + + + Writes asynchronously to the buffered stream. + A task object representing the asynchronous operation. + The type of the object to serialize. + The object value to write. It may be null. + The stream to which to write. + The , if available. Can be null. + The transport context. + + + Represents the result of content negotiation performed using <see cref="M:System.Net.Http.Formatting.IContentNegotiator.Negotiate(System.Type,System.Net.Http.HttpRequestMessage,System.Collections.Generic.IEnumerable{System.Net.Http.Formatting.MediaTypeFormatter})" /> + + + Create the content negotiation result object. + The formatter. + The preferred media type. Can be null. + + + The formatter chosen for serialization. + + + The media type that is associated with the formatter chosen for serialization. Can be null. + + + The default implementation of , which is used to select a for an or . + + + Initializes a new instance of the class. + + + Initializes a new instance of the class. + true to exclude formatters that match only on the object type; otherwise, false. + + + Determines how well each formatter matches an HTTP request. + Returns a collection of objects that represent all of the matches. + The type to be serialized. + The request. + The set of objects from which to choose. + + + If true, exclude formatters that match only on the object type; otherwise, false. + Returns a . + + + Matches a set of Accept header fields against the media types that a formatter supports. + Returns a object that indicates the quality of the match, or null if there is no match. + A list of Accept header values, sorted in descending order of q factor. You can create this list by calling the method. + The formatter to match against. + + + Matches a request against the objects in a media-type formatter. + Returns a object that indicates the quality of the match, or null if there is no match. + The requrst. + The media-type formatter. + + + Match the content type of a request against the media types that a formatter supports. + Returns a object that indicates the quality of the match, or null if there is no match. + The request. + The formatter to match against. + + + Selects the first supported media type of a formatter. + Returns a with set to , or null if there is no match. + The type to match. + The formatter to match against. + + + Performs content negotiating by selecting the most appropriate out of the passed in for the given that can serialize an object of the given . + The result of the negotiation containing the most appropriate instance, or null if there is no appropriate formatter. + The type to be serialized. + The request. + The set of objects from which to choose. + + + Determines the best character encoding for writing the response. + Returns the that is the best match. + The request. + The selected media formatter. + + + Selects the best match among the candidate matches found. + Returns the object that represents the best match. + The collection of matches. + + + Sorts Accept header values in descending order of q factor. + Returns the sorted list of MediaTypeWithQualityHeaderValue objects. + A collection of MediaTypeWithQualityHeaderValue objects, representing the Accept header values. + + + Sorts a list of Accept-Charset, Accept-Encoding, Accept-Language or related header values in descending order or q factor. + Returns the sorted list of StringWithQualityHeaderValue objects. + A collection of StringWithQualityHeaderValue objects, representing the header fields. + + + Evaluates whether a match is better than the current match. + Returns whichever object is a better match. + The current match. + The match to evaluate against the current match. - - - - Helper class to serialize <see cref="T:System.Collections.Generic.IEnumerable`1" /> types by delegating them through a concrete implementation."/&gt;. The interface implementing to proxy. @@ -583,332 +807,301 @@ Get the enumerator of the associated <see cref="T:System.Collections.Generic.IEnumerable`1" />. The enumerator of the <see cref="T:System.Collections.Generic.IEnumerable`1" /> source. - - The context used to identify the or that needs to be either read or written. + + Represent the collection of form data. - - Instantiates a new instance of a . - The to use in the absence of a request or response. - Indicates if this is context is meant to select a formatter to read or to write. + + Initializes a new instance of class. + The pairs. - - Instantiates a new instance of the class to use to serialize or deserialize a request. - The to serialize or deserialize. - Indicates if this is context is meant to select a formatter to read or to write. + + Initializes a new instance of class. + The query. - - Instantiates a new instance of the class to use to serialize or deserialize a response. - The to serialize or deserialize. - Indicates if this is context is meant to select a formatter to read or to write. + + Initializes a new instance of class. + The URI - - Gets the HTTP Content-Type of the request or response associated with the context. + + Gets the collection of form data. + The collection of form data. + The key. - - Gets a value indicating whether the context will be used to select for formatter for reading or writing the content + + Gets an enumerable that iterates through the collection. + The enumerable that iterates through the collection. - - Gets the associated with the context. + + Gets the values of the collection of form data. + The values of the collection of form data. + The key. - - Gets the associated with the context or null if there is no associated response message. + + Reads the collection of form data as a collection of name value. + The collection of form data as a collection of name value. - - Class that selects a for an or . - - - Initializes a new instance of the class. - - - Called to select a formatter for deserializing an instance of a given type. - The chosen for deserialization or null if their is no appropriate formatter.&gt; - The type to be deserialized. - The context related to the deserialization of the instance. - The set of objects from which to choose. - - - Called to select a formatter for serializing an instance of a given type. - The chosen for serialization or null if their is no appropriate formatter. - The type to be serialized. - The context related to the serialization of the instance. - The set of objects from which to choose. - The media type that is associated with the formatter chosen for serialization. - - - Selects a formatter for deserializing an instance of a given type. - The chosen for deserialization or null if their is no appropriate formatter.&gt; - The type to be deserialized. - The context related to the deserialization of the instance. - The set of objects from which to choose. - - - Selects a formatter for serializing an instance of a given type. - The chosen for serialization or null if their is no appropriate formatter. - The type to be serialized. - The context related to the serialization of the instance. - The set of objects from which to choose. - The media type that is associated with the formatter chosen for serialization. + + Gets an enumerable that iterates through the collection. + The enumerable that iterates through the collection. class for handling HTML form URL-ended data, also known as application/x-www-form-urlencoded. - Initializes a new instance of the class. + Initializes a new instance of the class. - Determines whether this can read objects of the specified type. - true if objects of this type can be read, otherwise false. - The type of object that will be read. + Queries whether the can deserializean object of the specified type. + true if the can deserialize the type; otherwise, false. + The type to deserialize. - Determines whether this can write objects of the specified type. - true if objects of this type can be written, otherwise false. - The type of object that will be written. + Queries whether the can serializean object of the specified type. + true if the can serialize the type; otherwise, false. + The type to serialize. - Gets the default media type for HTML Form URL encoded data, namely application/x-www-form-urlencoded. - - - + Gets the default media type for HTML form-URL-encoded data, which is application/x-www-form-urlencoded. + The default media type for HTML form-URL-encoded data - - - Called during serialization to write an object of the specified type to the specified stream. - A that will write the value to the stream. - The type of object to write. - The object to write. - The to which to write. - The for the content being read. - The containing the respective request or response. - The . + + Gets or sets the maximum depth allowed by this formatter. + The maximum depth. - Gets or sets the size of the buffer when reading the incoming stream. - The size of the read buffer. + Gets or sets the size of the buffer when reading the incoming stream. + The buffer size. - - Interface to select a for an or . + + Asynchronously deserializes an object of the specified type. + A whose result will be the object instance that has been read. + The type of object to deserialize. + The to read. + The for the content being read. + The to log events to. - - Selects a formatter for deserializing an instance of a given type. - The chosen for deserialization or null if their is no appropriate formatter.&gt; - The type to be deserialized. - The context related to the deserialization of the instance. - The set of objects from which to choose. + + Performs content negotiation. This is the process of selecting a response writer (formatter) in compliance with header values in the request. - - Selects a formatter for serializing an instance of a given type. - The chosen for serialization or null if their is no appropriate formatter. + + Performs content negotiating by selecting the most appropriate out of the passed in formatters for the given request that can serialize an object of the given type. + The result of the negotiation containing the most appropriate instance, or null if there is no appropriate formatter. The type to be serialized. - The context related to the serialization of the instance. + Request message, which contains the header values used to perform negotiation. The set of objects from which to choose. - The media type that is associated with the formatter chosen for serialization. - - Interface to provide a key/value model of an object graph. + + Specifies a callback interface that a formatter can use to log errors while reading. - - Gets all the keys for all the values. + + Logs an error. + The path to the member for which the error is being logged. + The error message. - - Attempts to retrieve the value associated with the given key. - If there was a value associated with that key - The key of the value to retrieve. - The value associated with that key. + + Logs an error. + The path to the member for which the error is being logged. + The error message to be logged. + + + Defines method that determines whether a given member is required on deserialization. + + + Determines whether a given member is required on deserialization. + true if should be treated as a required member; otherwise false. + The to be deserialized. - - class to handle Json. + Represents the class to handle JSON. Initializes a new instance of the class. - - Gets or sets a flag indicating whether this formatter uses a serialization surrogate to allow data contracts marked with set to true to be serialized. - truefalse - - Determines whether this can read objects of the specified type. - true if objects of this type can be read, otherwise false. + Determines whether this can read objects of the specified . + true if objects of this can be read, otherwise false. The type of object that will be read. - Determines whether this can write objects of the specified type. - true if objects of this type can be written, otherwise false. + Determines whether this can write objects of the specified . + true if objects of this can be written, otherwise false. The type of object that will be written. - - Gets or sets the to use when writing data. - - - - - - Creates the default serializer used to serialize objects of the specified type. - A that can serialize instances of the specified type. - The type of object to create a serializer for. - A <see cref="T:System.Collections.Generic.IEnumerable`1" /> of Type that contains the known types that may be present in the object graph. - true to create a serializer that can handle reference data contracts, otherwise false. + + Creates a JsonSerializerSettings instance with the default settings used by the . + A newly created JsonSerializerSettings instance with the default settings used by the . - Gets the default media type for Json, namely "application/json". - - - + Gets the default media type for JSON, namely "application/json". + The for JSON. - - - Called during serialization to write an object of the specified type to the specified stream. + + Gets or sets a value indicating whether to indent elements when writing data. + true if to indent elements when writing data; otherwise, false. + + + Gets or sets the maximum depth allowed by this formatter. + The maximum depth allowed by this formatter. + + + Reads an object of the specified from the specified . This method is called during deserialization. + Returns . + The type of object to read. + Thestream from which to read + The content being written. + The to log events to. + + + Gets or sets the JsonSerializerSettings used to configure the JsonSerializer. + The JsonSerializerSettings used to configure the JsonSerializer. + + + Gets or sets a value indicating whether to use by default. + true if to by default; otherwise, false. + + + Writes an object of the specified to the specified . This method is called during serialization. A that will write the value to the stream. The type of object to write. The object to write. - The to which to write. - The for the content being written. - The containing the respective request or response. + The to which to write. + The where the content is being written. The . - - Unregisters the serializer currently associated with the given type. - true if a serializer was registered for the type; otherwise false. - The type of object whose serializer should be removed. - - - Registers the to use to read or write the specified <typeparamref name="T" /> type. - The instance to use. - The type of object that will be serialized or deserialized with the serializer. - - - Registers the to use to read or write the specified type. - The type of object that will be serialized or deserialized with the serializer. - The instance to use. - - - Class that provides s for a request or response from a media range. - - - Initializes a new instance of the class. - The that provides a description of the media range. - The to return on a match. - - - Initializes a new instance of the class. - The description of the media range. - The media type to return on a match. - - - Gets the describing the known media range. - Base class to handle serializing and deserializing strongly-typed objects using . - Initializes a new instance of the class. + Initializes a new instance of the class. - Determines whether this can deserialize an object of the specified type. - true if this can deserialize an object of that type; otherwise false. - The type of object that will be deserialized. + Queries whether this can deserializean object of the specified type. + true if the can deserialize the type; otherwise, false. + The type to deserialize. - Determines whether this can serialize an object of the specified type. - true if this can serialize an object of that type; otherwise false. - The type of object that will be serialized. + Queries whether this can serializean object of the specified type. + true if the can serialize the type; otherwise, false. + The type to serialize. - - Gets or sets the to use when reading and writing data. - - - + + Gets the default value for the specified type. + The default value. + The type for which to get the default value. + + + Returns a specialized instance of the that can format a response for the given parameters. + Returns . + The type to format. + The request. + The media type. + + + Gets or sets the maximum number of keys stored in a T: . + The maximum number of keys. - Gets the mutable collection of elements used by this instance to determine the of requests or responses. + Gets the mutable collection of objects that match HTTP requests to media types. + The collection. - - Called from <see cref="M:System.Net.Http.Formatting.MediaTypeFormatter.GetResponseHeaders(System.Type,System.String,System.Net.Http.HttpResponseMessage)" /> to retrieve the response headers. - The collection of response header key value pairs. - The type of the object. See . - The media type. - The . + + Asynchronously deserializes an object of the specified type. + A whose result will be an object of the given type. + The type of the object to deserialize. + The to read. + The , if available. It may be null. + The to log events to. + Derived types need to support reading. - - - Called to write an object to the stream asynchronously. - A that will write the object to the stream asynchronously. - The type of object to write. - The object instance to write. - The to which to write. - The for the content being written. - The containing the respective request or response. - The . + + Gets or sets the instance used to determine required members. + The instance. - - - Gets or sets {insert text here}. + + Determines the best character encoding for reading or writing an HTTP entity body, given a set of content headers. + The encoding that is the best match. + The content headers. + + + Sets the default headers for content that will be formatted using this formatter. This method is called from the constructor. This implementation sets the Content-Type header to the value of mediaType if it is not null. If it is null it sets the Content-Type to the default media type of this formatter. If the Content-Type does not specify a charset it will set it using this formatters configured . + The type of the object being serialized. See . + The content headers that should be configured. + The authoritative media type. Can be null. + + + Gets the mutable collection of character encodings supported bythis . + The collection of objects. - Gets the mutable collection of elements supported by this instance. + Gets the mutable collection of media types supported bythis . + The collection of objects. - - Returns a that serializes the given value of the given type to the given stream. + + Asynchronously writes an object of the specified type. A that will perform the write. The type of the object to write. The object value to write. It may be null. - The to which to write. - The if available. It may be null. - The containing the - The if available. It may be null. + The to which to write. + The if available. It may be null. + The if available. It may be null. + Derived types need to support writing. - Collection class that contains instances. + Represents a collection class that contains instances. - Initializes a new instance of the class. + Initializes a new instance of the class with default values. - Initializes a new instance of the class. + Initializes a new instance of the class with the given . A collection of instances to place in the collection. + + Searches a collection for a formatter that can read the .NET in the given . + The that can read the type, or null if no formatter found. + The .NET type to read. + The media type to match on. + + + Searches a collection for a formatter that can write the .NET in the given . + The that can write the type, or null if no formatter found. + The .NET type to write. + The media type to match on. + Gets the to use for application/x-www-form-urlencoded data. + The to use for application/x-www-form-urlencoded data. + + + Determines whether the is one of those loosely defined types that should be excluded from validation. + true if the type should be excluded; otherwise, false. + The .NET to validate. - Gets the to use for Json. + Gets the to use for JSON. + The to use for JSON. - Gets the to use for Xml. - - - Extensions for adding items to a . - - - Updates the given formatter's set of elements so that it associates the mediaType with requests or responses containing mediaRange in the content headers. - The to receive the new item. - The media range that will appear in the content headers. - The media type to associate with that mediaRange. - - - Updates the given formatter's set of elements so that it associates the mediaType with requests or responses containing mediaRange in the content headers. - The to receive the new item. - The media range that will appear in the content headers. - The media type to associate with that mediaRange. + Gets the to use for XML. + The to use for XML. - Updates the given formatter's set of elements so that it associates the mediaType with s containing a specific query parameter and value. + Updates the given set of formatter of elements so that it associates the mediaType with s containing a specific query parameter and value. The to receive the new item. The name of the query parameter. The value assigned to that query parameter. The to associate with a containing a query string matching queryStringParameterName and queryStringParameterValue. - Updates the given formatter's set of elements so that it associates the mediaType with s containing a specific query parameter and value. + Updates the given set of formatter of elements so that it associates the mediaType with s containing a specific query parameter and value. The to receive the new item. The name of the query parameter. The value assigned to that query parameter. The media type to associate with a containing a query string matching queryStringParameterName and queryStringParameterValue. - Updates the given formatter's set of elements so that it associates the mediaType with a specific HTTP request header field with a specific value. + Updates the given set of formatter of elements so that it associates the mediaType with a specific HTTP request header field with a specific value. The to receive the new item. Name of the header to match. The header value to match. @@ -917,7 +1110,7 @@ The to associate with a entry with a name matching headerName and a value matching headerValue. - Updates the given formatter's set of elements so that it associates the mediaType with a specific HTTP request header field with a specific value. + Updates the given set of formatter of elements so that it associates the mediaType with a specific HTTP request header field with a specific value. The to receive the new item. Name of the header to match. The header value to match. @@ -925,17 +1118,51 @@ if set to true then headerValue is considered a match if it matches a substring of the actual header value. The media type to associate with a entry with a name matching headerName and a value matching headerValue. - - Updates the given formatter's set of elements so that it associates the mediaType with s ending with the given uriPathExtension. - The to receive the new item. - The string of the path extension. - The to associate with s ending with uriPathExtension. + + This class describes how well a particular matches a request. - - Updates the given formatter's set of elements so that it associates the mediaType with s ending with the given uriPathExtension. - The to receive the new item. - The string of the path extension. - The string media type to associate with s ending with uriPathExtension. + + Initializes a new instance of the class. + The matching formatter. + The media type. Can be null in which case the media type application/octet-stream is used. + The quality of the match. Can be null in which case it is considered a full match with a value of 1.0 + The kind of match. + + + Gets the media type formatter. + + + Gets the matched media type. + + + Gets the quality of the match + + + Gets the kind of match that occurred. + + + Contains information about the degree to which a matches the explicit or implicit preferences found in an incoming request. + + + No match was found + + + Matched on a type, meaning that the formatter is able to serialize the type. + + + Matched on an explicit literal accept header, such as “application/json”. + + + Matched on an explicit subtype range in an Accept header, such as “application/*”. + + + Matched on an explicit “*/*” range in the Accept header. + + + Matched on after having applied the various s. + + + Matched on the media type of the entity body in the HTTP request message. An abstract base class used to create an association between or instances that have certain characteristics and a specific . @@ -951,26 +1178,11 @@ Gets the that is associated with or instances that have the given characteristics of the . - - Implemented in a derived class to determine if the should be associated with the of the . - The quality of the match. It must be between 0.0 and 1.0. A value of 0.0 signifies no match. A value of 1.0 signifies a complete match. - The to evaluate for the characteristics associated with the of the . - - - Implemented in a derived class to determine if the should be associated with the of the . - The quality of the match. It must be between 0.0 and 1.0. A value of 0.0 signifies no match. A value of 1.0 signifies a complete match. - The to evaluate for the characteristics associated with the of the . - Returns the quality of the match of the associated with request. The quality of the match. It must be between 0.0 and 1.0. A value of 0.0 signifies no match. A value of 1.0 signifies a complete match. The to evaluate for the characteristics associated with the of the . - - Returns the quality of the match of the associated with response. - The quality of the match. It must be between 0.0 and 1.0. A value of 0.0 signifies no match. A value of 1.0 signifies a complete match. - The to evaluate for the characteristics associated with the of the . - Class that provides s from query strings. @@ -992,6 +1204,11 @@ Gets the query string parameter value. + + Returns a value indicating whether the current instance can return a from request. + If this instance can produce a from request it returns 1.0 otherwise 0.0. + The to check. + This class provides a mapping from an arbitrary HTTP request header field to a used to select instances for handling the entity body of an or . <remarks>This class only checks header fields associated with for a match. It does not check header fields associated with or instances.</remarks> @@ -1024,98 +1241,249 @@ Gets a value indicating whether is a matched as a substring of the actual header value. this instance is value substring. truefalse - + Returns a value indicating whether the current instance can return a from request. The quality of the match. It must be between 0.0 and 1.0. A value of 0.0 signifies no match. A value of 1.0 signifies a complete match. The to check. - - Returns a value indicating whether the current instance can return a from response. - The quality of the match. It must be between 0.0 and 1.0. A value of 0.0 signifies no match. A value of 1.0 signifies a complete match. - The to check. + + A that maps the X-Requested-With http header field set by AJAX XmlHttpRequest (XHR) to the media type application/json if no explicit Accept header fields are present in the request. - - Class that provides s from path extensions appearing in a . + + Initializes a new instance of class - - Initializes a new instance of the class. - The extension corresponding to mediaType. This value should not include a dot or wildcards. - The that will be returned if uriPathExtension is matched. - - - Initializes a new instance of the class. - The extension corresponding to mediaType. This value should not include a dot or wildcards. - The media type that will be returned if uriPathExtension is matched. - - - Gets the path extension. + + Returns a value indicating whether the current instance can return a from request. + The quality of the match. A value of 0.0 signifies no match. A value of 1.0 signifies a complete match and that the request was made using XmlHttpRequest without an Accept header. + The to check. class to handle Xml. - Initializes a new instance of the class. + Initializes a new instance of the class. - Determines whether this can read objects of the specified type. - true if objects of this type can be read, otherwise false. - The type of object that will be read. + Queries whether the can deserializean object of the specified type. + true if the can deserialize the type; otherwise, false. + The type to deserialize. - Determines whether this can write objects of the specified type. - true if objects of this type can be written, otherwise false. - The type of object that will be written. - - - Gets or sets the to use when writing data. - - - + Queries whether the can serializean object of the specified type. + true if the can serialize the type; otherwise, false. + The type to serialize. - Gets the default media type for xml, namely "application/xml". - <remarks> The default media type does not have any charset parameter as the can be configured on a per instance basis. </remarks> + Gets the default media type for the XML formatter. + The default media type, which is “application/xml”. - - - Called during serialization to write an object of the specified type to the specified stream. - A that will write the value to the stream. - The type of object to write. - The object to write. - The to which to write. - The for the content being written. - The containing the respective request or response. - The . + + Gets or sets a value indicating whether to indent elements when writing data. + true to indent elements; otherwise, false. + + + Gets and sets the maximum nested node depth. + The maximum nested node depth. + + + Called during deserialization to read an object of the specified type from the specified readStream. + A whose result will be the object instance that has been read. + The type of object to read. + The from which to read. + The for the content being read. + The to log events to. - Unregisters the serializer currently associated with the given type. - true if a serializer was registered for the type; otherwise false. + Unregisters the serializer currently associated with the given type. + true if a serializer was previously registered for the type; otherwise, false. The type of object whose serializer should be removed. - Registers the to use to read or write the specified <typeparamref name="T" /> type. - The instance to use. - The type of object that will be serialized or deserialized with serializer. + Registers an to read or write objects of a specified type. + The instance. + The type of object that will be serialized or deserialized with. - Registers the to use to read or write the specified type. - The type of object that will be serialized or deserialized with serializer. - The instance to use. + Registers an to read or write objects of a specified type. + The type of object that will be serialized or deserialized with. + The instance. - Registers the to use to read or write the specified type. - The type of objects for which serializer will be used. - The instance to use. + Registers an to read or write objects of a specified type. + The type of object that will be serialized or deserialized with. + The instance. - Registers the to use to read or write the specified <typeparamref name="T" /> type. - The instance to use. - The type of object that will be serialized or deserialized with serializer. + Registers an to read or write objects of a specified type. + The instance. + The type of object that will be serialized or deserialized with. - - Gets or sets a value indicating whether to use by default. - truefalsefalse + + Gets or sets a value indicating whether the XML formatter uses the as the default serializer, instead of using the . + If true, the formatter uses the by default; otherwise, it uses the by default. + + + Called during serialization to write an object of the specified type to the specified writeStream. + A that will write the value to the stream. + The type of object to write. + The object to write. + The to which to write. + The for the content being written. + The . + + + Represents the event arguments for the HTTP progress. + + + Initializes a new instance of the class. + The percentage of the progress. + The user token. + The number of bytes transferred. + The total number of bytes transferred. + + + Gets the number of bytes transferred in the HTTP progress. + The number of bytes transferred in the HTTP progress. + + + Gets the total number of bytes transferred by the HTTP progress. + The total number of bytes transferred by the HTTP progress. + + + Generates progress notification for both request entities being uploaded and response entities being downloaded. + + + Initializes a new instance of the class. + + + Initializes a new instance of the class. + The inner message handler. + + + Occurs when event entities are being downloaded. + + + Occurs when event entities are being uploaded. + + + Raises the event that handles the request of the progress. + The request. + The event handler for the request. + + + Raises the event that handles the response of the progress. + The request. + The event handler for the request. + + + Sends the specified progress message to an HTTP server for delivery. + The sent progress message. + The request. + The cancellation token. + + + Provides value for the cookie header. + + + Initializes a new instance of the class. + + + Initializes a new instance of the class. + The value of the name. + The values. + + + Initializes a new instance of the class. + The value of the name. + The value. + + + Creates a shallow copy of the cookie value. + A shallow copy of the cookie value. + + + Gets a collection of cookies sent by the client. + A collection object representing the client’s cookie variables. + + + Gets or sets the domain to associate the cookie with. + The name of the domain to associate the cookie with. + + + Gets or sets the expiration date and time for the cookie. + The time of day (on the client) at which the cookie expires. + + + Gets or sets a value that specifies whether a cookie is accessible by client-side script. + true if the cookie has the HttpOnly attribute and cannot be accessed through a client-side script; otherwise, false. + + + Gets a shortcut to the cookie property. + The cookie value. + + + Gets or sets the maximum age permitted for a resource. + The maximum age permitted for a resource. + + + Gets or sets the virtual path to transmit with the current cookie. + The virtual path to transmit with the cookie. + + + Gets or sets a value indicating whether to transmit the cookie using Secure Sockets Layer (SSL)—that is, over HTTPS only. + true to transmit the cookie over an SSL connection (HTTPS); otherwise, false. + + + Returns a string that represents the current object. + A string that represents the current object. + + + Indicates a value whether the string representation will be converted. + true if the string representation will be converted; otherwise, false. + The input value. + The parsed value to convert. + + + Contains cookie name and its associated cookie state. + + + Initializes a new instance of the class. + The name of the cookie. + + + Initializes a new instance of the class. + The name of the cookie. + The collection of name-value pair for the cookie. + + + Initializes a new instance of the class. + The name of the cookie. + The value of the cookie. + + + Returns a new object that is a copy of the current instance. + A new object that is a copy of the current instance. + + + Gets or sets the cookie value with the specified cookie name, if the cookie data is structured. + The cookie value with the specified cookie name. + + + Gets or sets the name of the cookie. + The name of the cookie. + + + Returns the string representation the current object. + The string representation the current object. + + + Gets or sets the cookie value, if cookie data is a simple string value. + The value of the cookie. + + + Gets or sets the collection of name-value pair, if the cookie data is structured. + The collection of name-value pair for the cookie. \ No newline at end of file diff --git a/lib/aspnetwebapi/System.Net.Http.WebRequest.dll b/lib/aspnetwebapi/System.Net.Http.WebRequest.dll index a97b7aeb2..b26b59a54 100644 Binary files a/lib/aspnetwebapi/System.Net.Http.WebRequest.dll and b/lib/aspnetwebapi/System.Net.Http.WebRequest.dll differ diff --git a/lib/aspnetwebapi/System.Net.Http.WebRequest.xml b/lib/aspnetwebapi/System.Net.Http.WebRequest.xml index 96087e392..abfb1aac5 100644 --- a/lib/aspnetwebapi/System.Net.Http.WebRequest.xml +++ b/lib/aspnetwebapi/System.Net.Http.WebRequest.xml @@ -14,7 +14,7 @@ The Uri the request is sent to. - Provides desktop-specific features not available to Metro apps or other environments. + Provides desktop-specific features not available to Windows Store apps or other environments. Initializes a new instance of the class. @@ -51,6 +51,10 @@ Gets or sets a time-out in milliseconds when writing a request to or reading a response from a server. Returns .The number of milliseconds before the writing or reading times out. The default value is 300,000 milliseconds (5 minutes). + + Gets or sets a callback method to validate the server certificate. + Returns .A callback method to validate the server certificate. + Gets or sets a value that indicates whether to allow high-speed NTLM-authenticated connection sharing. Returns .true to keep the authenticated connection open; otherwise, false. diff --git a/lib/aspnetwebapi/System.Net.Http.dll b/lib/aspnetwebapi/System.Net.Http.dll index 9dc93bc98..2ee8ff7a5 100644 Binary files a/lib/aspnetwebapi/System.Net.Http.dll and b/lib/aspnetwebapi/System.Net.Http.dll differ diff --git a/lib/aspnetwebapi/System.Net.Http.xml b/lib/aspnetwebapi/System.Net.Http.xml index 9ba7191c4..6506939e5 100644 --- a/lib/aspnetwebapi/System.Net.Http.xml +++ b/lib/aspnetwebapi/System.Net.Http.xml @@ -86,6 +86,11 @@ Initializes a new instance of the class with a specific handler. The HTTP handler stack to use for sending requests. + + Initializes a new instance of the class with a specific handler. + The responsible for processing the HTTP response messages. + true if the inner handler should be disposed of by Dispose(),false if you intend to reuse the inner handler. + Gets or sets the base address of Uniform Resource Identifier (URI) of the Internet resource used when sending requests. Returns .The base address of Uniform Resource Identifier (URI) of the Internet resource used when sending requests. @@ -123,9 +128,6 @@ A cancellation token that can be used by other objects or threads to receive notice of cancellation. The was null. - - Releases the unmanaged resources and disposes of the managed resources used by the . - Releases the unmanaged resources used by the and optionally disposes of the managed resources. true to release both managed and unmanaged resources; false to releases only unmanaged resources. @@ -195,6 +197,7 @@ Send a GET request to the specified Uri and return the response body as a byte array in an asynchronous operation. Returns .The task object representing the asynchronous operation. + The Uri the request is sent to. The was null. @@ -223,7 +226,7 @@ Gets or sets the maximum number of bytes to buffer when reading the response content. - Returns .The maximum number of bytes to buffer when reading the response content. + Returns .The maximum number of bytes to buffer when reading the response content. The default value for this property is 64K. The size specified is less than or equal to zero. An operation has already been started on the current instance. The current instance has been disposed. @@ -449,7 +452,7 @@ Serialize the HTTP content to a memory buffer as an asynchronous operation. Returns .The task object representing the asynchronous operation. - + Serialize the HTTP content to a memory buffer as an asynchronous operation. Returns .The task object representing the asynchronous operation. The maximum size, in bytes, of the buffer to use. @@ -497,6 +500,32 @@ The cancellation token to cancel operation. The was null. + + The base type for and other message originators. + + + Initializes an instance of a class with a specific . + The responsible for processing the HTTP response messages. + + + Initializes an instance of a class with a specific . + The responsible for processing the HTTP response messages. + true if the inner handler should be disposed of by Dispose(),false if you intend to reuse the inner handler. + + + Releases the unmanaged resources and disposes of the managed resources used by the . + + + Releases the unmanaged resources used by the and optionally disposes of the managed resources. + true to release both managed and unmanaged resources; false to releases only unmanaged resources. + + + Send an HTTP request as an asynchronous operation. + Returns .The task object representing the asynchronous operation. + The HTTP request message to send. + The cancellation token to cancel operation. + The was null. + A helper class for retrieving and comparing standard HTTP methods. @@ -844,7 +873,7 @@ The media type to use for the content. - Represents authentication information in Authorization, ProxyAuthorization, WWW-Authneticate, and Proxy-Authenticate header values. + Represents authentication information in Authorization, ProxyAuthorization, WWW-Authenticate, and Proxy-Authenticate header values. Initializes a new instance of the class. @@ -980,7 +1009,8 @@ Returns .true if the HTTP response may be cached by any cache, even if it would normally be non-cacheable or cacheable only within a non- shared cache; otherwise, false. - Returns . + The shared maximum age, specified in seconds, in an HTTP response that overrides the "max-age" directive in a cache-control header or an Expires header for a shared cache. + Returns .The time in seconds. Creates a new object that is a copy of the current instance. @@ -1001,9 +1031,11 @@ Initializes a new instance of the class. + A . Initializes a new instance of the class. + A string that contains a . The date at which the file was created. @@ -1076,76 +1108,132 @@ Represents the value of the Content-Range header. - - - + + Initializes a new instance of the class. + The starting or ending point of the range, in bytes. + + + Initializes a new instance of the class. + The position, in bytes, at which to start sending data. + The position, in bytes, at which to stop sending data. + + + Initializes a new instance of the class. + The position, in bytes, at which to start sending data. + The position, in bytes, at which to stop sending data. + The starting or ending point of the range, in bytes. + - Returns . + Determines whether the specified Object is equal to the current object. + Returns .true if the specified is equal to the current object; otherwise, false. + The object to compare with the current object. - Returns . + Gets the position at which to start sending data. + Returns .The position, in bytes, at which to start sending data. - Returns . + Serves as a hash function for an object. + Returns .A hash code for the current object. - Returns . + Gets whether the Content-Range header has a length specified. + Returns .true if the Content-Range has a length specified; otherwise, false. - Returns . + Gets whether the Content-Range has a range specified. + Returns .true if the Content-Range has a range specified; otherwise, false. - Returns . + Gets the length of the full entity-body. + Returns .The length of the full entity-body. - Returns . + Converts a string to an instance. + Returns .An instance. + A string that represents content range header value information. + + is a null reference. + + is not valid content range header value information. - Returns . + Creates a new object that is a copy of the current instance. + Returns .A copy of the current instance. - Returns . + Gets the position at which to stop sending data. + Returns .The position at which to stop sending data. - Returns . + Returns a string that represents the current object. + Returns .A string that represents the current object. - Returns . + Determines whether a string is valid information. + Returns .true if is valid information; otherwise, false. + The string to validate. + The version of the string. - Returns . + The range units used. + Returns .A that contains range units. Represents an entity-tag header value. - - + + Initializes a new instance of the class. + A string that contains an . + + + Initializes a new instance of the class. + A string that contains an . + A value that indicates if this entity-tag header is a weak validator. If the entity-tag header is weak validator, then should be set to true. If the entity-tag header is a strong validator, then should be set to false. + + Gets the entity-tag header value. Returns . - Returns . + Determines whether the specified is equal to the current object. + Returns .true if the specified is equal to the current object; otherwise, false. + The object to compare with the current object. - Returns . + Serves as a hash function for an object. + Returns .A hash code for the current object. - Returns . + Gets whether the entity-tag is prefaced by a weakness indicator. + Returns .true if the entity-tag is prefaced by a weakness indicator; otherwise, false. - Returns . + Converts a string to an instance. + Returns .An instance. + A string that represents entity tag header value information. + + is a null reference. + + is not valid entity tag header value information. - Returns . + Creates a new object that is a copy of the current instance. + Returns .A copy of the current instance. - Returns . + Gets the opaque quoted string. + Returns .An opaque quoted string. - Returns . + Returns a string that represents the current object. + Returns .A string that represents the current object. - Returns . + Determines whether a string is valid information. + Returns .true if is valid information; otherwise, false. + The string to validate. + The version of the string. Represents the collection of Content Headers as defined in RFC 2616. @@ -1155,7 +1243,8 @@ Returns .The value of the Allow header on an HTTP response. - Returns . + Gets the value of the Content-Disposition content header on an HTTP response. + Returns .The value of the Content-Disposition content header on an HTTP response. Gets the value of the Content-Encoding content header on an HTTP response. @@ -1209,16 +1298,6 @@ The header to add to the collection. The content of the header. - - Adds the specified header and its values into the collection without validating the provided information. - The header to add to the collection. - The values of the header. - - - Adds the specified header and its the value into the collection without validating the provided information. - The header to add to the collection. - The content of the header. - Removes all headers from the collection. @@ -1242,10 +1321,24 @@ The name of the header to remove from the collection. - Returns . + Gets an enumerator that can iterate through a . + Returns .An instance of an implementation of an that can iterate through a . - Returns . + Returns a string that represents the current object. + Returns .A string that represents the current object. + + + Returns a value that indicates whether the specified header and its values were added to the collection without validating the provided information. + Returns .true if the specified header and could be added to the collection; otherwise false. + The header to add to the collection. + The values of the header. + + + Returns a value that indicates whether the specified header and its value were added to the collection without validating the provided information. + Returns .true if the specified header and could be added to the collection; otherwise false. + The header to add to the collection. + The content of the header. Return if a specified header and specified values are stored in the collection. @@ -1280,10 +1373,13 @@ Returns . - Returns . + Returns a string that represents the current XXX object. + Returns .A string that represents the current object. + Determines whether a string is valid XXX information. Returns . + The string to validate. Represents the collection of Request Headers as defined in RFC 2616. @@ -1498,174 +1594,296 @@ Represents a media-type as defined in the RFC 2616. - - + + Initializes a new instance of the class. + + + Initializes a new instance of the class. + - Returns . + Gets or sets the character set. + Returns .The character set. - Returns . + Determines whether the specified is equal to the current object. + Returns .true if the specified is equal to the current object; otherwise, false. + The object to compare with the current object. - Returns . + Serves as a hash function for an object. + Returns .A hash code for the current object. - Returns . + Gets or sets the media-type header value. + Returns .The media-type header value. - Returns . + Gets or sets the media-type header value parameters. + Returns .The media-type header value parameters. - Returns . + Converts a string to an instance. + Returns .An instance. + A string that represents media type header value information. + + is a null reference. + + is not valid media type header value information. - Returns . + Creates a new object that is a copy of the current instance. + Returns .A copy of the current instance. - Returns . + Returns a string that represents the current object. + Returns .A string that represents the current object. - Returns . + Determines whether a string is valid information. + Returns .true if is valid information; otherwise, false. + The string to validate. + The version of the string. Represents a content-type header value with an additional quality. - - + + Initializes a new instance of the class. + + + Initializes a new instance of the class. + - Returns . + Converts a string to an instance. + Returns .An instance. + A string that represents media type with quality header value information. + + is a null reference. + + is not valid media type with quality header value information. Returns . - Returns . + Creates a new object that is a copy of the current instance. + Returns .A copy of the current instance. - Returns . + Determines whether a string is valid information. + Returns .true if is valid information; otherwise, false. + The string to validate. + The version of the string. Represents a name/value pair. - - - + + Initializes a new instance of the class. + + + Initializes a new instance of the class. + The header name. + + + Initializes a new instance of the class. + The header name. + The header value. + - Returns . + Determines whether the specified is equal to the current object. + Returns .true if the specified is equal to the current object; otherwise, false. + The object to compare with the current object. - Returns . + Serves as a hash function for an object. + Returns .A hash code for the current object. - Returns . + Gets the header name. + Returns .The header name. - Returns . + Converts a string to an instance. + Returns .An instance. + A string that represents name value header value information. + + is a null reference. + + is not valid name value header value information. - Returns . + Creates a new object that is a copy of the current instance. + Returns .A copy of the current instance. - Returns . + Returns a string that represents the current object. + Returns .A string that represents the current object. - Returns . + Determines whether a string is valid information. + Returns .true if is valid information; otherwise, false. + The string to validate. + The version of the string. - Returns . + Gets the header value. + Returns .The header value. Represents a name/value pair with parameters. - - - + + Initializes a new instance of the class. + + + Initializes a new instance of the class. + + + Initializes a new instance of the class. + - Returns . + Determines whether the specified is equal to the current object. + Returns .true if the specified is equal to the current object; otherwise, false. + The object to compare with the current object. - Returns . + Serves as a hash function for an object. + Returns .A hash code for the current object. Returns . - Returns . + Converts a string to an instance. + Returns .An instance. + A string that represents name value with parameter header value information. + + is a null reference. + + is not valid name value with parameter header value information. - Returns . + Creates a new object that is a copy of the current instance. + Returns .A copy of the current instance. - Returns . + Returns a string that represents the current object. + Returns .A string that represents the current object. - Returns . + Determines whether a string is valid information. + Returns .true if is valid information; otherwise, false. + The string to validate. + The version of the string. - Represents a product header value. + Represents a product token in header value. + + + Initializes a new instance of the class. + + + Initializes a new instance of the class. - - - Returns . + Determines whether the specified is equal to the current object. + Returns .true if the specified is equal to the current object; otherwise, false. + The object to compare with the current object. - Returns . + Serves as a hash function for an object. + Returns .A hash code for the current object. - Returns . + Gets the name of the product token. + Returns .The name of the product token. - Returns . + Converts a string to an instance. + Returns .An instance. + A string that represents product header value information. - Returns . + Creates a new object that is a copy of the current instance. + Returns .A copy of the current instance. - Returns . + Returns a string that represents the current object. + Returns .A string that represents the current object. - Returns . + Determines whether a string is valid information. + Returns .true if is valid information; otherwise, false. + The string to validate. + The version of the string. - Returns . + Gets the version of the product token. + Returns .The version of the product token. Represents a value which can either be a product or a comment. - - - + + Initializes a new instance of the class. + + + Initializes a new instance of the class. + + + Initializes a new instance of the class. + Returns . - Returns . + Determines whether the specified is equal to the current object. + Returns .true if the specified is equal to the current object; otherwise, false. + The object to compare with the current object. - Returns . + Serves as a hash function for an object. + Returns .A hash code for the current object. - Returns . + Converts a string to an instance. + Returns .An instance. + A string that represents product info header value information. + + is a null reference. + + is not valid product info header value information. Returns . - Returns . + Creates a new object that is a copy of the current instance. + Returns .A copy of the current instance. - Returns . + Returns a string that represents the current object. + Returns .A string that represents the current object. - Returns . + Determines whether a string is valid information. + Returns .true if is valid information; otherwise, false. + The string to validate. + The version of the string. Represents a header value which can either be a date/time or an entity-tag value. - - - + + Initializes a new instance of the class. + + + Initializes a new instance of the class. + + + Initializes a new instance of the class. + Returns . @@ -1673,48 +1891,79 @@ Returns . - Returns . + Determines whether the specified is equal to the current object. + Returns .true if the specified is equal to the current object; otherwise, false. - Returns . + Serves as a hash function for an object. + Returns .A hash code for the current object. - Returns . + Converts a string to an instance. + Returns .An instance. + A string that represents range condition header value information. + + is a null reference. + + is not valid range Condition header value information. - Returns . + Creates a new object that is a copy of the current instance. + Returns .A copy of the current instance. - Returns . + Returns a string that represents the current object. + Returns .A string that represents the current object. - Returns . + Determines whether a string is valid information. + Returns .true if is valid information; otherwise, false. + The string to validate. + The version of the string. Represents the value of the Range header. - - + + Initializes a new instance of the class. + + + Initializes a new instance of the class. + - Returns . + Determines whether the specified is equal to the current object. + Returns .true if the specified is equal to the current object; otherwise, false. + The object to compare with the current object. - Returns . + Serves as a hash function for an object. + Returns .A hash code for the current object. - Returns . + Converts a string to an instance. + Returns .An instance. + A string that represents range header value information. + + is a null reference. + + is not valid range header value information. Returns . - Returns . + Creates a new object that is a copy of the current instance. + Returns .A copy of the current instance. - Returns . + Returns a string that represents the current object. + Returns .A string that represents the current object. - Returns . + Determines whether a string is valid information. + Returns .true if is valid information; otherwise, false. + he string to validate. + The version of the string. Returns . @@ -1722,30 +1971,41 @@ Represents a byte-range header value. - + + Initializes a new instance of the class. + - Returns . + Determines whether the specified is equal to the current object. + Returns .true if the specified is equal to the current object; otherwise, false. + The object to compare with the current object. Returns . - Returns . + Serves as a hash function for an object. + Returns .A hash code for the current object. - Returns . + Creates a new object that is a copy of the current instance. + Returns .A copy of the current instance. Returns . - Returns . + Returns a string that represents the current object. + Returns .A string that represents the current object. Represents a header value which can either be a date/time or a timespan value. - - + + Initializes a new instance of the class. + + + Initializes a new instance of the class. + Returns . @@ -1753,48 +2013,80 @@ Returns . - Returns . + Determines whether the specified is equal to the current object. + Returns .true if the specified is equal to the current object; otherwise, false. + The object to compare with the current object. - Returns . + Serves as a hash function for an object. + Returns .A hash code for the current object. - Returns . + Converts a string to an instance. + Returns .An instance. + A string that represents retry condition header value information. + + is a null reference. + + is not valid retry condition header value information. - Returns . + Creates a new object that is a copy of the current instance. + Returns .A copy of the current instance. - Returns . + Returns a string that represents the current object. + Returns .A string that represents the current object. - Returns . + Determines whether a string is valid information. + Returns .true if is valid information; otherwise, false. + The string to validate. + The version of the string. Represents a string header value with an optional quality. - - + + Initializes a new instance of the class. + + + Initializes a new instance of the class. + - Returns . + Determines whether the specified Object is equal to the current object. + Returns .true if the specified is equal to the current object; otherwise, false. + The object to compare with the current object. - Returns . + Serves as a hash function for an object. + Returns .A hash code for the current object. - Returns . + Converts a string to an instance. + Returns .An instance. + A string that represents quality header value information. + + is a null reference. + + is not valid string with quality header value information. Returns . - Returns . + Creates a new object that is a copy of the current instance. + Returns .A copy of the current instance. - Returns . + Returns a string that represents the current object. + Returns .A string that represents the current object. - Returns . + Determines whether a string is valid information. + Returns .true if is valid information; otherwise, false. + The string to validate. + The version of the string. Returns . @@ -1802,119 +2094,215 @@ Represents a transfer-coding header value. - - + + Initializes a new instance of the class. + + + Initializes a new instance of the class. + - Returns . + Determines whether the specified Object is equal to the current object. + Returns .true if the specified is equal to the current object; otherwise, false. + The object to compare with the current object. - Returns . + Serves as a hash function for an object. + Returns .A hash code for the current object. - Returns . + Gets the transfer-coding parameters. + Returns .The transfer-coding parameters. - Returns . + Converts a string to an instance. + Returns .An instance. + A string that represents transfer-coding header value information. + + is a null reference. + + is not valid transfer-coding header value information. - Returns . + Creates a new object that is a copy of the current instance. + Returns .A copy of the current instance. - Returns . + Returns a string that represents the current object. + Returns .A string that represents the current object. - Returns . + Determines whether a string is valid information. + Returns .true if is valid information; otherwise, false. + The string to validate. + The version of the string. - Returns . + Gets the transfer-coding value. + Returns .The transfer-coding value. Represents a transfer-coding header value with optional quality. - - + + Initializes a new instance of the class. + + + Initializes a new instance of the class. + - Returns . + Converts a string to an instance. + Returns .An instance. + A string that represents transfer-coding value information. + + is a null reference. + + is not valid transfer-coding with quality header value information. Returns . - Returns . + Creates a new object that is a copy of the current instance. + Returns .A copy of the current instance. - Returns . + Determines whether a string is valid information. + Returns .true if is valid information; otherwise, false. + The string to validate. + The version of the string. Represents the value of a Via header. - - - + + Initializes a new instance of the class. + The protocol version of the received protocol. + The host and port that the request or response was received by. + + + Initializes a new instance of the class. + The protocol version of the received protocol. + The host and port that the request or response was received by. + The protocol name of the received protocol. + + + Initializes a new instance of the class. + The protocol version of the received protocol. + The host and port that the request or response was received by. + The protocol name of the received protocol. + The comment field used to identify the software of the recipient proxy or gateway. + - Returns . + Gets the comment field used to identify the software of the recipient proxy or gateway. + Returns .The comment field used to identify the software of the recipient proxy or gateway. - Returns . + Determines whether the specified is equal to the current object. + Returns .true if the specified is equal to the current object; otherwise, false. + The object to compare with the current object. - Returns . + Serves as a hash function for an object. + Returns .Returns a hash code for the current object. - Returns . + Converts a string to an instance. + Returns .An instance. + A string that represents via header value information. + + is a null reference. + + is not valid via header value information. - Returns . + Gets the protocol name of the received protocol. + Returns .The protocol name. - Returns . + Gets the protocol version of the received protocol. + Returns .The protocol version. - Returns . + Gets the host and port that the request or response was received by. + Returns .The host and port that the request or response was received by. - Returns . + Creates a new object that is a copy of the current instance. + Returns .A copy of the current instance. - Returns . + Returns a string that represents the current object. + Returns .A string that represents the current object. - Returns . + Determines whether a string is valid information. + Returns .true if is valid information; otherwise, false. + The string to validate. + The version of the string. Represents a warning value used by the Warning header. - - + + Initializes a new instance of the class. + The specific warning code. + The host that attached the warning. + A quoted-string containing the warning text. + + + Initializes a new instance of the class. + The specific warning code. + The host that attached the warning. + A quoted-string containing the warning text. + The date/time stamp of the warning. + - Returns . + Gets the host that attached the warning. + Returns .The host that attached the warning. - Returns . + Gets the specific warning code. + Returns .The specific warning code. - Returns . + Gets the date/time stamp of the warning. + Returns .The date/time stamp of the warning. - Returns . + Determines whether the specified is equal to the current object. + Returns .true if the specified is equal to the current object; otherwise, false. + The object to compare with the current object. - Returns . + Serves as a hash function for an object. + Returns .A hash code for the current object. - Returns . + Converts a string to an instance. + Returns an instance. + A string that represents authentication header value information. + + is a null reference. + + is not valid authentication header value information. - Returns . + Creates a new object that is a copy of the current instance. + Returns .Returns a copy of the current instance. - Returns . + Gets a quoted-string containing the warning text. + Returns .A quoted-string containing the warning text. - Returns . + Returns a string that represents the current object. + Returns .A string that represents the current object. - Returns . + Determines whether a string is valid information. + Returns .true if is valid information; otherwise, false. + The string to validate. + The version of the string. \ No newline at end of file diff --git a/lib/aspnetwebapi/System.Web.Http.WebHost.dll b/lib/aspnetwebapi/System.Web.Http.WebHost.dll index 9a88f4f23..1dfa8d28f 100644 Binary files a/lib/aspnetwebapi/System.Web.Http.WebHost.dll and b/lib/aspnetwebapi/System.Web.Http.WebHost.dll differ diff --git a/lib/aspnetwebapi/System.Web.Http.WebHost.xml b/lib/aspnetwebapi/System.Web.Http.WebHost.xml index 4e61671a1..b2cafc2d6 100644 --- a/lib/aspnetwebapi/System.Web.Http.WebHost.xml +++ b/lib/aspnetwebapi/System.Web.Http.WebHost.xml @@ -5,16 +5,24 @@ - Provides a global for ASP applications. + Provides a global for ASP.NET applications. - - Gets the global . + + + Gets the default message handler that will be called for all requests. Extension methods for + + Maps the specified route template. + A reference to the mapped route. + A collection of routes for the application. + The name of the route to map. + The route template for the route. + - Maps the specified route template and sets default constraints, and namespaces. + Maps the specified route template and sets default route. A reference to the mapped route. A collection of routes for the application. The name of the route to map. @@ -22,7 +30,7 @@ An object that contains default route values. - Maps the specified route template and sets default route values, constraints, and namespaces. + Maps the specified route template and sets default route values and constraints. A reference to the mapped route. A collection of routes for the application. The name of the route to map. @@ -30,6 +38,16 @@ An object that contains default route values. A set of expressions that specify values for routeTemplate. + + Maps the specified route template and sets default route values, constraints, and end-point message handler. + A reference to the mapped route. + A collection of routes for the application. + The name of the route to map. + The route template for the route. + An object that contains default route values. + A set of expressions that specify values for routeTemplate. + The handler to which the request will be dispatched. + A that passes ASP.NET requests into the pipeline and write the result back. @@ -92,5 +110,27 @@ An object that processes the request. An object that encapsulates information about the request. + + Provides a registration point for the simple membership pre-application start code. + + + Registers the simple membership pre-application start code. + + + Represents the web host buffer policy selector. + + + Initializes a new instance of the class. + + + Gets a value that indicates whether the host should buffer the entity body of the HTTP request. + true if buffering should be used; otherwise a streamed request should be used. + The host context. + + + Uses a buffered output stream for the web host. + A buffered output stream. + The response. + \ No newline at end of file diff --git a/lib/aspnetwebapi/System.Web.Http.dll b/lib/aspnetwebapi/System.Web.Http.dll index 25788027e..206c33176 100644 Binary files a/lib/aspnetwebapi/System.Web.Http.dll and b/lib/aspnetwebapi/System.Web.Http.dll differ diff --git a/lib/aspnetwebapi/System.Web.Http.xml b/lib/aspnetwebapi/System.Web.Http.xml index 2160152c0..5cdc0a707 100644 --- a/lib/aspnetwebapi/System.Web.Http.xml +++ b/lib/aspnetwebapi/System.Web.Http.xml @@ -4,152 +4,343 @@ System.Web.Http - + + Creates an that represents an exception. + The request must be associated with an instance.An whose content is a serialized representation of an instance. + The HTTP request. + The status code of the response. + The exception. + + + Creates an that represents an error message. + The request must be associated with an instance.An whose content is a serialized representation of an instance. + The HTTP request. + The status code of the response. + The error message. + + + Creates an that represents an exception with an error message. + The request must be associated with an instance.An whose content is a serialized representation of an instance. + The HTTP request. + The status code of the response. + The error message. + The exception. + + + Creates an that represents an error. + The request must be associated with an instance.An whose content is a serialized representation of an instance. + The HTTP request. + The status code of the response. + The HTTP error. + + + Creates an that represents an error in the model state. + The request must be associated with an instance.An whose content is a serialized representation of an instance. + The HTTP request. + The status code of the response. + The model state. + + + Creates an wired up to the associated . + An initialized wired up to the associated . + The HTTP request message which led to this response message. + The HTTP response status code. + The content of the HTTP response message. + The type of the HTTP response message. + + + Creates an wired up to the associated . + An initialized wired up to the associated . + The HTTP request message which led to this response message. + The HTTP response status code. + The content of the HTTP response message. + The media type formatter. + The type of the HTTP response message. + + + Creates an wired up to the associated . + An initialized wired up to the associated . + The HTTP request message which led to this response message. + The HTTP response status code. + The content of the HTTP response message. + The media type formatter. + The media type header value. + The type of the HTTP response message. + + + Creates an wired up to the associated . + An initialized wired up to the associated . + The HTTP request message which led to this response message. + The HTTP response status code. + The content of the HTTP response message. + The media type formatter. + The media type. + The type of the HTTP response message. + + + Creates an wired up to the associated . + An initialized wired up to the associated . + The HTTP request message which led to this response message. + The HTTP response status code. + The content of the HTTP response message. + The media type header value. + The type of the HTTP response message. + + + Creates an wired up to the associated . + An initialized wired up to the associated . + The HTTP request message which led to this response message. + The HTTP response status code. + The content of the HTTP response message. + The media type. + The type of the HTTP response message. + + + Creates an wired up to the associated . + An initialized wired up to the associated . + The HTTP request message which led to this response message. + The HTTP response status code. + The content of the HTTP response message. + The HTTP configuration which contains the dependency resolver used to resolve services. + The type of the HTTP response message. + + + Disposes of all tracked resources associated with the which were added via the method. + The HTTP request. + + + Gets the current X.509 certificate from the given HTTP request. + The current , or null if a certificate is not available. + The HTTP request. + + + Retrieves the for the given request. + The for the given request. + The HTTP request. + + + Retrieves the which has been assigned as the correlation ID associated with the given . The value will be created and set the first time this method is called. + The object that represents the correlation ID associated with the request. + The HTTP request. + + + Retrieves the for the given request or null if not available. + The for the given request or null if not available. + The HTTP request. + + + Gets the parsed query string as a collection of key-value pairs. + The query string as a collection of key-value pairs. + The HTTP request. + + + Retrieves the for the given request or null if not available. + The for the given request or null if not available. + The HTTP request. + + + Retrieves the for the given request or null if not available. + The for the given request or null if not available. + The HTTP request. + + + Gets a instance for an HTTP request. + A instance that is initialized for the specified HTTP request. + The HTTP request. + + + Adds the given to a list of resources that will be disposed by a host once the is disposed. + The HTTP request controlling the lifecycle of . + The resource to dispose when is being disposed. + + + Represents the message extensions for the HTTP response from an ASP.NET operation. + + + Attempts to retrieve the value of the content for the . + The result of the retrieval of value of the content. + The response of the operation. + The value of the content. + The type of the value to retrieve. + + + Represents extensions for adding items to a . + + + Updates the given formatter's set of elements so that it associates the mediaType with s ending with the given uriPathExtension. + The to receive the new item. + The string of the path extension. + The to associate with s ending with uriPathExtension. + + + Updates the given formatter's set of elements so that it associates the mediaType with s ending with the given uriPathExtension. + The to receive the new item. + The string of the path extension. + The string media type to associate with s ending with uriPathExtension. + + + Provides s from path extensions appearing in a . + + + Initializes a new instance of the class. + The extension corresponding to mediaType. This value should not include a dot or wildcards. + The that will be returned if uriPathExtension is matched. + + + Initializes a new instance of the class. + The extension corresponding to mediaType. This value should not include a dot or wildcards. + The media type that will be returned if uriPathExtension is matched. + + + Returns a value indicating whether this instance can provide a for the of request. + If this instance can match a file extension in request it returns 1.0 otherwise 0.0. + The to check. + + + Gets the path extension. + The path extension. + + + The path extension key. + + + Represents an attribute that specifies which HTTP methods an action method will respond to. + - Initializes a new instance of the class. + Initializes a new instance of the class by using a list of HTTP methods that the action method will respond to. + The HTTP methods that the action method will respond to. - Gets or sets {insert text here}. + Gets or sets the list of HTTP methods that the action method will respond to. + Gets or sets the list of HTTP methods that the action method will respond to. + + + Represents an attribute that is used for the name of an action. - - Initializes a new instance of the class. + The name of the action. - - Gets or sets {insert text here}. + Gets or sets the name of the action. + The name of the action. - Actions and controllers marked with this attribute are skipped by during authorization. + Specifies that actions and controllers are skipped by during authorization. Initializes a new instance of the class. - + + Defines properties and methods for API controller. + Initializes a new instance of the class. - Gets the <see name="HttpConfiguration" /> of the current ApiController. The setter is not intended to be used other than for unit testing purpose. + Gets or sets the of the current . + The of the current . + + + Gets the of the current . + The of the current . + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + Releases the unmanaged resources that are used by the object and, optionally, releases the managed resources. + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + Executes asynchronously a single HTTP operation. + The newly started task. + The controller context for a single HTTP operation. + The cancellation token assigned for the HTTP operation. + + + Initializes the instance with the specified . + The object that is used for the initialization. - - - - - Gets model state after the model binding process. This ModelState will be empty before model binding happens. Please do not populate this property other than for unit testing purpose. + Gets the model state after the model binding process. + The model state after the model binding process. - Gets the <see name="HttpRequestMessage" /> of the current ApiController. The setter is not intended to be used other than for unit testing purpose. + Gets or sets the of the current . + The of the current . + + + Returns an instance of a , which is used to generate URLs to other APIs. + A object which is used to generate URLs to other APIs. + + + Returns the current principal associated with this request. + The current principal associated with this request. - An authorization filter that verifies the request's . + Specifies the authorization filter that verifies the request's . Initializes a new instance of the class. - Processes requests that fail authorization. This default implementation creates a new response with the Unauthorized status code. Override this method to provide your own handling for unauthorized requests. + Processes requests that fail authorization. + The context. + + + Indicates whether the specified control is authorized. + true if the control is authorized; otherwise, false. The context. - Called when an action is being authorized. This method uses the user returned via . Authorization is denied if - the request is not associated with any user. - the user is not authenticated, - the user is authenticated but is not in the authorized group of (if defined), or if the user is not in any of the authorized (if defined). If authorization is denied then this method will invoke to process the unauthorized request. + Calls when an action is being authorized. The context. The context parameter is null. - Gets or sets the authorized roles. - The roles string. + Gets or sets the authorized roles. + The roles string. - Gets a unique identifier for this . + Gets a unique identifier for this attribute. + A unique identifier for this attribute. - Gets or sets the authorized users. - The users string. - - - This provides a centralized list of type-safe accessors describing where and how we use the dependency resolver. - - - - - - - - - Controller activator is used to instantiate an . - An instance or null if none are registered. - - - Get a controller factory, which instantiates a string name into an . This may be implemented by first getting the from the controller name, and then using a . - - - Gets a service. - An instance or null if none found. - - - - - - - Get ValueProviderFactories. The order of returned providers is the priority order that we search the factories. - - - Extension methods for <see cref="T:System.Collections.Generic.IDictionary`2" />. - - - Gets the value of <typeparamref name="T" /> associated with the specified key or throw an if either the key is not present or the value is not of type <typeparamref name="T" />. - The <see cref="T:System.Collections.Generic.IDictionary`2" /> instance where TValue is object. - The key whose value to get. - - - - Gets the value of <typeparamref name="T" /> associated with the specified key or default value if either the key is not present or the value is not of type <typeparamref name="T" />. - true if key was found, value is non-null, and value is of type <typeparamref name="T" />; otherwise false. - The <see cref="T:System.Collections.Generic.IDictionary`2" /> instance where TValue is object. - The key whose value to get. - When this method returns, the value associated with the specified key, if the key is found; otherwise, the default value for the type of the value parameter. - The type of the value associated with the specified key. + Gets or sets the authorized users. + The users string. - This attribute is used on action parameters to indicate they come only from the content body of the incoming . + An attribute that specifies that an action parameter comes only from the entity body of the incoming . Initializes a new instance of the class. + + Gets a parameter binding. + The parameter binding. + The parameter description. + - This attribute is used on action parameters to indicate they come only from the of the incoming . + An attribute that specifies that an action parameter comes from the URI of the incoming . Initializes a new instance of the class. - - - + + Gets the value provider factories for the model binder. + A collection of objects. + The configuration. - - + + Represents attributes that specifies that HTTP binding should exclude a property. - - - - - - Initializes a new instance of the class. - - - Gets or sets {insert text here}. - - - Gets {insert text here}. - - Initializes a new instance of the class. - + + Represents the required attribute for http binding. + Initializes a new instance of the class. @@ -157,178 +348,345 @@ Configuration of instances. - Initializes a new instance of the class. + Initializes a new instance of the class. - Initializes a new instance of the class. - The to associate with this instance. + Initializes a new instance of the class with an HTTP route collection. + The HTTP route collection to associate with this instance. + + + Gets or sets the dependency resolver associated with thisinstance. + The dependency resolver. + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + Releases the unmanaged resources that are used by the object and, optionally, releases the managed resources. + true to release both managed and unmanaged resources; false to release only unmanaged resources. - - - Gets the list of global filters. + Gets the list of filters that apply to all requests served using this instance. + The list of filters. - Gets the media type formatters. + Gets the media-type formatters for this instance. + A collection of objects. - Gets or sets a value indicating whether error details should be included in error messages. + Gets or sets a value indicating whether error details should be included in error messages. + The value that indicates that error detail policy. + + + Gets or sets the action that will perform final initialization of the instance before it is used to process requests. + The action that will perform final initialization of the instance. - Gets an ordered list of instances to be invoked as an travels up the stack and an travels down in stack in return. The handlers are invoked in a bottom-up fashion in the incoming path and top-down in the outgoing path. That is, the last entry is called first for an incoming request message but invoked last for an outgoing response message. - The message handler collection. + Gets an ordered list of instances to be invoked as an travels up the stack and an travels down in stack in return. + The message handler collection. + + + The collection of rules for how parameters should be bound. + A collection of functions that can produce a parameter binding for a given parameter. - Gets the properties associated with this instance. + Gets the properties associated with this instance. + The that contains the properties. - Gets the associated with this instance. - - - + Gets the associated with this instance. + The . - - Gets the used to resolve services to use by this . - - - + + Gets the container of default services associated with this instance. + The that contains the default services for this instance. - Gets the root virtual path. The property always returns "/" as the first character of the returned value. + Gets the root virtual path. + The root virtual path. + + + Contains extension methods for the class. + + + Register that the given parameter type on an Action is to be bound using the model binder. + configuration to be updated. + parameter type that binder is applied to + a model binder + + + No content here will be updated; please do not add material here. - Initializes a new instance of the class. - - + + Gets a collection of HTTP methods. + A collection of HTTP methods. + + + Defines a serializable container for arbitrary error information. + + + Initializes a new instance of the class. + + + Initializes a new instance of the class for exception. + The exception to use for error information. + true to include the exception information in the error; false otherwise + + + Initializes a new instance of the class containing error message message. + The error message to associate with this instance. + + + Initializes a new instance of the class for modelState. + The invalid model state to use for error information. + true to include exception messages in the error; false otherwise + + + The error message associated with this instance. + + + This method is reserved and should not be used. + Always returns null. + + + Generates an instance from its XML representation. + The stream from which the object is deserialized. + + + Converts an instance into its XML representation. + The stream to which the object is serialized. + + + No content here will be updated; please do not add material here. + Initializes a new instance of the class. - - + + Gets the collection of HTTP methods. + A collection of HTTP methods. + + + Represents an HTTP head attribute. + + + Initializes a new instance of the class. + + + Gets the collection of HTTP methods. + A collection of HTTP methods. + + + Represents an attribute that is used to restrict an HTTP method so that the method handles only HTTP OPTIONS requests. + + + Initializes a new instance of the class. + + + Gets the collection of methods supported by HTTP OPTIONS requests. + The collection of methods supported by HTTP OPTIONS requests. + + + Represents a HTTP patch attribute. + + + Initializes a new instance of the class. + + + Gets a collection of HTTP methods. + A collection of HTTP methods. + + + No content here will be updated; please do not add material here. + Initializes a new instance of the class. - - + + Gets a collection of HTTP methods. + A collection of HTTP methods. + + + Represents an attribute that is used to restrict an HTTP method so that the method handles only HTTP PUT requests. + Initializes a new instance of the class. - - - Provides extension methods for the class. - - - Gets the for the given request. - The . - The HTTP request. - - - Gets the for the given request or null if not available. - The or null. - The HTTP request. - - - Gets the for the given request or null if not available. - The or null. - The HTTP request. - - - Gets the for the given request or null if not available. - The or null. - The HTTP request. + + Gets the read-only collection of HTTP PUT methods. + The read-only collection of HTTP PUT methods. - An exception that allows for a given to be returned to the client. - - - Initializes a new instance of the class. + An exception that allows for a given to be returned to the client. - Initializes a new instance of the class. - The response message. + Initializes a new instance of the class. + The HTTP response to return to the client. Initializes a new instance of the class. - The status code to use with the . - - - Initializes a new instance of the class. - The that holds the serialized object data about the exception being thrown. - The that contains contextual information about the source or destination. - - - Initializes a new instance of the class. - The message that describes the error. - - - Initializes a new instance of the class. - The message that describes the error. - The exception that is the cause of the current exception, or a null reference if no inner exception is specified. - - - Initializes a new instance of the class. - The message that describes the error. - The status code to use with the . + The status code of the response. - Gets the to return to the client. + Gets the HTTP response to return to the client. + The that represents the HTTP response. - - - + + A collection of instances. - - - - - Initializes a new instance of the class with a value of "/". + Initializes a new instance of the class. Initializes a new instance of the class. + The virtual path root. + + + Adds an instance to the collection. + The name of the route. + The instance to add to the collection. + + + Removes all items from the collection. + + + Determines whether the collection contains a specific . + true if the is found in the collection; otherwise, false. + The object to locate in the collection. + + + Determines whether the collection contains an element with the specified key. + true if the collection contains an element with the key; otherwise, false. + The key to locate in the collection. + + + Copies the instances of the collection to an array, starting at a particular array index. + The array that is the destination of the elements copied from the collection. + The zero-based index in at which copying begins. + + + Copies the route names and instances of the collection to an array, starting at a particular array index. + The array that is the destination of the elements copied from the collection. + The zero-based index in at which copying begins. - - - - - - - Gets {insert text here}. + Gets the number of items in the collection. + The number of items in the collection. + + + Creates an instance. + The new instance. + The route template. + An object that contains the default route parameters. + An object that contains the route constraints. + The route data tokens. + + + Creates an instance. + The new instance. + The route template. + An object that contains the default route parameters. + An object that contains the route constraints. + The route data tokens. + The message handler for the route. + + + Creates an instance. + The new instance. + The route template. + An object that contains the default route parameters. + An object that contains the route constraints. + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + Releases the unmanaged resources that are used by the object and, optionally, releases the managed resources. + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + Returns an enumerator that iterates through the collection. + An that can be used to iterate through the collection. + + + Gets the route data for a specified HTTP request. + An instance that represents the route data. + The HTTP request. + + + Gets a virtual path. + An instance that represents the virtual path. + The HTTP request. + The route name. + The route values. + + + Inserts an instance into the collection. + The zero-based index at which should be inserted. + The route name. + The to insert. The value cannot be null. - - - - - - - - - Gets {insert text here}. + Gets a value indicating whether the collection is read-only. + true if the collection is read-only; otherwise, false. - Gets {insert text here}. + Gets or sets the element at the specified index. + The at the specified index. + The zero-based index of the element to get or set. - Gets {insert text here}. + Gets or sets the element with the specified route name. + The at the specified index. + The route name. + + + Called internally to get the enumerator for the collection. + An that can be used to iterate through the collection. + + + Removes an instance from the collection. + true if the element is successfully removed; otherwise, false. This method also returns false if was not found in the collection. + The name of the route to remove. + + + Adds an item to the collection. + The object to add to the collection. + + + Removes the first occurrence of a specific object from the collection. + true if was successfully removed from the collection; otherwise, false. This method also returns false if is not found in the original collection. + The object to remove from the collection. + + + Returns an enumerator that iterates through the collection. + An object that can be used to iterate through the collection. + + + Gets the with the specified route name. + true if the collection contains an element with the specified name; otherwise, false. + The route name. + When this method returns, contains the instance, if the route name is found; otherwise, null. This parameter is passed uninitialized. - - - - - - - Gets {insert text here}. + Gets the virtual path root. + The virtual path root. Extension methods for + + Maps the specified route template. + A reference to the mapped route. + A collection of routes for the application. + The name of the route to map. + The route template for the route. + - Maps the specified route template and sets default constraints. + Maps the specified route template and sets default route values. A reference to the mapped route. A collection of routes for the application. The name of the route to map. @@ -336,545 +694,1532 @@ An object that contains default route values. - Maps the specified route template and sets default route values and constraints. + Maps the specified route template and sets default route values and constraints. A reference to the mapped route. A collection of routes for the application. The name of the route to map. The route template for the route. An object that contains default route values. - A set of expressions that specify values for routeTemplate. + A set of expressions that constrain the values for routeTemplate. + + + Maps the specified route template and sets default route values, constraints, and end-point message handler. + A reference to the mapped route. + A collection of routes for the application. + The name of the route to map. + The route template for the route. + An object that contains default route values. + A set of expressions that constrain the values for routeTemplate. + The handler to which the request will be dispatched. Defines an implementation of an which dispatches an incoming and creates an as a result. - Initializes a new instance of the class with default configuration and dispatcher. + Initializes a new instance of the class, using the default configuration and dispatcher. - - Initializes a new instance of the class with default dispatcher. - Http dispatcher responsible for handling incoming requests. + + Initializes a new instance of the class with a specified dispatcher. + The HTTP dispatcher that will handle incoming requests. - Initializes a new instance of the class with default dispatcher. - The used to configure this instance. + Initializes a new instance of the class with a specified configuration. + The used to configure this instance. - Initializes a new instance of the class. - The used to configure this instance. - Http dispatcher responsible for handling incoming requests. + Initializes a new instance of the class with a specified configuration and dispatcher. + The used to configure this instance. + The HTTP dispatcher that will handle incoming requests. - Gets the . + Gets the used to configure this instance. + The used to configure this instance. - Gets the dispatcher. + Gets the HTTP dispatcher that handles incoming requests. + The HTTP dispatcher that handles incoming requests. - Releases unmanaged and - optionally - managed resources - true to release both managed and unmanaged resources; false to release only unmanaged SRResources. + Releases the unmanaged resources that are used by the object and, optionally, releases the managed resources. + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + Prepares the server for operation. + + + Dispatches an incoming . + A task representing the asynchronous operation. + The request to dispatch. + The token to monitor for cancellation requests. - - - Enum to indicate whether error details, such as exception messages and stack traces, should be included in error messages. + Specifies whether error details, such as exception messages and stack traces, should be included in error messages. + + + Use the default behavior for the host environment. For ASP.NET hosting, use the value from the customErrors element in the Web.config file. For self-hosting, use the value . - Only include error details when responding to a local request. + Only include error details when responding to a local request. - Always include error details. + Always include error details. - Never include error details. + Never include error details. + + + Represents an attribute that is used to indicate that a controller method is not an action method. - Initializes a new instance of the class. - - This result filter indicates that the results returned from an action should be limited to the specified ResultLimit. + + Attribute on a parameter or type that produces a . If the attribute is on a type-declaration, then it's as if that attribute is present on all action parameters of that type. - - Initializes a new instance of the class. + + Initializes a new instance of the class. - - - - Gets {insert text here}. + + Gets the parameter binding. + The parameter binding. + The parameter description. + + + Enables a controller action to support OData query parameters. + + + Initializes a new instance of the class. + + + Applies the result limit to the query results. + The query results after the result limit is applied. + The context for the action. + The original query results. + + + Called by the Web API framework after the action method executes. + The filter context. + + + Called by the Web API framework before the action method executes. + The filter context. + + + The maximum number of results that should be returned from this query regardless of query-specified limits. + The maximum number of results that should be returned. A value of zero indicates no limit. + + + The to use. Derived classes can use this to have a per-attribute query builder instead of the one on + + + The class can be used to indicate properties about a route parameter (the literals and placeholders located within segments of a ). It can for example be used to indicate that a route parameter is optional. + + + An optional parameter. + + + Returns a that represents this instance. + A that represents this instance. + + + Provides type-safe accessors for services obtained from a object. + + + Gets the service. + Returns an instance. + The services container. + + + Gets the service. + Returns aninstance. + The services container. + + + Gets the service. + Returns aninstance. + The services container. + + + Gets the service. + Returns an instance. + The services container. + + + Gets the service. + Returns aninstance. + The services container. + + + Gets the service. + Returns aninstance. + The services container. + + + Gets the service. + Returns aninstance. + The services container. + + + Gets the service. + Returns aninstance. + The services container. + + + Gets the collection. + Returns a collection of objects. + The services container. + + + Gets the service. + Returns an instance. + The services container. + + + Gets the service. + Returns an instance, or null if no instance was registered. + The services container. + + + Gets the service. + Returns aninstance. + The services container. + + + Gets the service. + Returns an instance. + The services container. + + + Gets the collection. + Returns a collection of objects. + The services container. + + + Gets the service. + Returns an instance. + The services container. + + + Gets the collection. + Returns a collection ofobjects. + The services container. + + + Gets the service. + Returns aninstance. + The services container. + + + Gets the service. + Returns aninstance. + The services container. + + + Gets the service. + Returns aninstance. + The services container. + + + Gets the collection. + Returns a colleciton ofobjects. + The services container. + + + Invokes the action methods of a controller. - Initializes a new instance of the class. - + + Asynchronously invokes the specified action by using the specified controller context. + The invoked action. + The controller context. + The cancellation token. + - Reflection based action selector. We optimize for the case where we have an instance per instance but can support cases where there are many instances for one as well. In the latter case the lookup is slightly slower because it goes through the dictionary. + Represents a reflection based action selector. Initializes a new instance of the class. - + + Gets the action mappings for the . + The action mappings. + The information that describes a controller. + + + Selects an action for the . + The selected action. + The controller context. + + + Represents a container for services that can be specific to a controller. This shadows the services from its parent . A controller can either set a service here, or fall through to the more global set of services. + + + Initializes a new instance of the class. + The parent services container. + + + Removes a single-instance service from the default services. + The type of service. + + + Gets a service of the specified type. + The first instance of the service, or null if the service is not found. + The type of service. + + + Gets the list of service objects for a given service type, and validates the service type. + The list of service objects of the specified type. + The service type. + + + Gets the list of service objects for a given service type. + The list of service objects of the specified type, or an empty list if the service is not found. + The type of service. + + + Queries whether a service type is single-instance. + true if the service type has at most one instance, or false if the service type supports multiple instances. + The service type. + + + Replaces a single-instance service object. + The service type. + The service object that replaces the previous instance. + + + Describes *how* the binding will happen and does not actually bind. + + + Initializes a new instance of the class. + + + Initializes a new instance of the class. + The back pointer to the action this binding is for. + The synchronous bindings for each parameter. + + + Gets or sets the back pointer to the action this binding is for. + The back pointer to the action this binding is for. + + + Executes asynchronously the binding for the given request context. + Task that is signaled when the binding is complete. + The action context for the binding. This contains the parameter dictionary that will get populated. + The cancellation token for cancelling the binding operation. Or a binder can also bind a parameter to this. + + + Gets or sets the synchronous bindings for each parameter. + The synchronous bindings for each parameter. + - Contains information for the executing action. + Contains information for the executing action. Initializes a new instance of the class. Initializes a new instance of the class. + The controller context. + The action descriptor. - Gets {insert text here}. + Gets a list of action arguments. + A list of action arguments. - Gets or sets {insert text here}. + Gets or sets the action descriptor for the action context. + The action descriptor. - Gets or sets {insert text here}. + Gets or sets the controller context. + The controller context. - Gets {insert text here}. + Gets the model state dictionary for the context. + The model state dictionary. - Gets {insert text here}. - - - Gets or sets {insert text here}. + Gets the request message for the action context. + The request message for the action context. - Gets or sets {insert text here}. + Gets or sets the response message for the action context. + The response message for the action context. - Extension methods for . + Contains extension methods for . - - Gets the for this . - The . + + Binds the model to a value by using the specified controller context and binding context. + true if the bind succeeded; otherwise, false. The execution context. The binding context. + + Binds the model to a value by using the specified controller context, binding context, and model binders. + true if the bind succeeded; otherwise, false. + The execution context. + The binding context. + The collection of model binders. + - Gets the instance for a given . + Retrieves the instance for a given . An instance. The context. - Gets the collection of registered instances. + Retrieves the collection of registered instances. A collection of instances. The context. - Gets the collection of registered instances. + Retrieves the collection of registered instances. A collection of registered instances. The context. The metadata. - - Gets the for this . - true if was present; otherwise false. - The action context. - The binding context. - When this method returns, the value associated with the specified binding context, if the context is found; otherwise, the default value for the type of the value parameter. + + Binds the model to the property by using the specified execution context and binding context. + true if the bind succeeded; otherwise, false. + The execution context. + The parent binding context. + The name of the property to bind with the model. + The metadata provider for the model. + When this method returns, contains the bound model. + The type of the model. + + + Provides information about the action methods. - Initializes a new instance of the class. - Initializes a new instance of the class. + Initializes a new instance of the class with specified information that describes the controller of the action. + The information that describes the controller of the action. + + + Gets or sets the binding that describes the action. + The binding that describes the action. - Gets {insert text here}. + Gets the name of the action. + The name of the action. - Gets or sets {insert text here}. + Gets or sets the action configuration. + The action configuration. - Gets or sets {insert text here}. + Gets the information that describes the controller of the action. + The information that describes the controller of the action. - - Executes the described action. - The return value of the action. - The context. - The arguments. + + Executes the described action and returns a that once completed will contain the return value of the action. + A that once completed will contain the return value of the action. + The controller context. + A list of arguments. + The cancellation token. - + Returns the custom attributes associated with the action descriptor. + The custom attributes associated with the action descriptor. + The action descriptor. - Returns the filters for the given configuration and action. The filter collection is ordered according to the FilterScope (in order from least specific to most specific: First, Global, Controller, Action). If a given filter disallows duplicates (AllowMultiple=False) then the most specific filter is maintained and less specific filters get removed (e.g. if there is a Authorize filter with a Controller scope and another one with an Action scope then the one with the Action scope will be maintained and the one with the Controller scope will be discarded). - A <see cref="T:System.Collections.ObjectModel.Collection`1" /> of all filters associated with this . + Retrieves the filters for the given configuration and action. + The filters for the given configuration and action. + + + Retrieves the filters for the action descriptor. + The filters for the action descriptor. + + + Retrieves the parameters for the action descriptor. + The parameters for the action descriptor. - - - Gets the properties associated with this instance. + Gets the properties associated with this instance. + The properties associated with this instance. + + + Gets the converter for correctly transforming the result of calling " into an instance of . + The action result converter. - Gets {insert text here}. + Gets the return type of the descriptor. + The return type of the descriptor. - - Provides a mechanism for a implementation to indicate what kind of , , and to use for that controller. The types are first looked up in the and if not found there then created directly. - - - Initializes a new instance of the class. - - - Gets or sets {insert text here}. - - - Gets or sets {insert text here}. - - - Gets or sets {insert text here}. + + Gets the collection of supported HTTP methods for the descriptor. + The collection of supported HTTP methods for the descriptor. - Contains information for a single HTTP operation. + Contains information for a single HTTP operation. - Initializes a new instance of the class. + Initializes a new instance of the class. Initializes a new instance of the class. + The configuration. + The route data. + The request. - Gets or sets {insert text here}. + Gets or sets the configuration. + The configuration. - Gets or sets the HTTP controller. - The HTTP controller. + Gets or sets the HTTP controller. + The HTTP controller. - Gets or sets the controller descriptor. - The controller descriptor. + Gets or sets the controller descriptor. + The controller descriptor. - Gets or sets {insert text here}. + Gets or sets the request. + The request. - Gets or sets {insert text here}. + Gets or sets the route data. + The route data. + + + Represents information that describes the HTTP controller. - - Initializes a new instance of the class. + Initializes a new instance of the class. Initializes a new instance of the class. + The configuration. + The controller name. + The controller type. - Gets or sets {insert text here}. + Gets or sets the configurations associated with the controller. + The configurations associated with the controller. - Gets or sets {insert text here}. + Gets or sets the name of the controller. + The name of the controller. - Gets or sets {insert text here}. + Gets or sets the type of the controller. + The type of the controller. + + + Creates a controller instance for the given . + The created controller instance. + The request message - + Retrieves a collection of custom attributes of the controller. + A collection of custom attributes + The type of the object. - - Gets or sets {insert text here}. - - - Gets or sets {insert text here}. - - - Gets or sets {insert text here}. + + Returns a collection of filters associated with the controller. + A collection of filters associated with the controller. - Gets the properties associated with this instance. + Gets the properties associated with this instance. + The properties associated with this instance. + + + Contains settings for an HTTP controller. + + + Initializes a new instance of the class. + A configuration object that is used to initialize the instance. + + + Gets the collection of instances for the controller. + The collection of instances. + + + Gets the collection of parameter bindingfunctions for for the controller. + The collection of parameter binding functions. + + + Gets the collection of service instances for the controller. + The collection of service instances. + + + Describes how a parameter is bound. The binding should be static (based purely on the descriptor) and can be shared across requests. + + + Initializes a new instance of the class. + An that describes the parameters. + + + Gets the that was used to initialize this instance. + The instance. + + + If the binding is invalid, gets an error message that describes the binding error. + An error message. If the binding was successful, the value is null. + + + Asynchronously executes the binding for the given request. + A task object representing the asynchronous operation. + Metadata provider to use for validation. + The action context for the binding. The action context contains the parameter dictionary that will get populated with the parameter. + Cancellation token for cancelling the binding operation. + + + Gets the parameter value from argument dictionary of the action context. + The value for this parameter in the given action context, or null if the parameter has not yet been set. + The action context. + + + Gets a value that indicates whether the binding was successful. + true if the binding was successful; otherwise, false. + + + Sets the result of this parameter binding in the argument dictionary of the action context. + The action context. + The parameter value. + + + Returns a value indicating whether this instance will read the entity body of the HTTP message. + true if this will read the entity body; otherwise, false. + + + No content here will be updated; please do not add material here. - Initializes a new instance of the class. Initializes a new instance of the class. + The action descriptor. - Gets or sets {insert text here}. + Gets or sets the action descriptor. + The action descriptor. - Gets or sets {insert text here}. + Gets or sets the for the . + The for the . - Gets {insert text here}. + Gets the default value of the parameter. + The default value of the parameter. + + + Retrieves a collection of the custom attributes from the parameter. + A collection of the custom attributes from the parameter. + The type of the custom attributes. + + + Gets a value that indicates whether the parameter is optional. + true if the parameter is optional; otherwise, false.. + + + Gets or sets the parameter binding attribute. + The parameter binding attribute. - - - - Gets {insert text here}. + Gets the name of the parameter. + The name of the parameter. - Gets {insert text here}. + Gets the type of the parameter. + The type of the parameter. - Gets {insert text here}. + Gets the prefix of this parameter. + The prefix of this parameter. - Gets the properties associated with this instance. + Gets the properties of this parameter. + The properties of this parameter. - - Gets or sets {insert text here}. + + A contract for a conversion routine that can take the result of an action returned from <see cref="M:System.Web.Http.Controllers.HttpActionDescriptor.ExecuteAsync(System.Web.Http.Controllers.HttpControllerContext,System.Collections.Generic.IDictionary{System.String,System.Object})" /> and convert it to an instance of . + + + Converts the specified object to another object. + The converted object. + The controller context. + The action result. + + + No content here will be updated; please do not add material here. + + + Gets the + A object. + The action descriptor. + + + If a controller is decorated with an attribute with this interface, then it gets invoked to initialize the controller settings. + + + Callback invoked to set per-controller overrides for this controllerDescriptor. + The controller settings to initialize. + The controller descriptor. Note that the can be associated with the derived controller type given that is inherited. + + + Contains method that is used to invoke HTTP operation. + + + Executes asynchronously the HTTP operation. + The newly started task. + The execution context. + The cancellation token assigned for the HTTP operation. + + + Contains the logic for selecting an action method. + + + Returns a map, keyed by action string, of all that the selector can select. This is primarily called by to discover all the possible actions in the controller. + A map of that the selector can select, or null if the selector does not have a well-defined mapping of . + The controller descriptor. + + + Selects the action for the controller. + The action for the controller. + The context of the controller. + + + No content here will be updated; please do not add material here. + + + Executes the controller for synchronization. + The controller. + The current context for a test controller. + The notification that cancels the operation. + + + Defines extension methods for . + + + Binds parameter that results as an error. + The HTTP parameter binding object. + The parameter descriptor that describes the parameter to bind. + The error message that describes the reason for fail bind. + + + Bind the parameter as if it had the given attribute on the declaration. + The HTTP parameter binding object. + The parameter to provide binding for. + The attribute that describes the binding. + + + Binds parameter by parsing the HTTP body content. + The HTTP parameter binding object. + The parameter descriptor that describes the parameter to bind. + + + Binds parameter by parsing the HTTP body content. + The HTTP parameter binding object. + The parameter descriptor that describes the parameter to bind. + The list of formatters which provides selection of an appropriate formatter for serializing the parameter into object. + + + Binds parameter by parsing the HTTP body content. + The HTTP parameter binding object. + The parameter descriptor that describes the parameter to bind. + The list of formatters which provides selection of an appropriate formatter for serializing the parameter into object. + The body model validator used to validate the parameter. + + + Binds parameter by parsing the HTTP body content. + The HTTP parameter binding object. + The parameter descriptor that describes the parameter to bind. + The list of formatters which provides selection of an appropriate formatter for serializing the parameter into object. + + + Binds parameter by parsing the query string. + The HTTP parameter binding object. + The parameter descriptor that describes the parameter to bind. + + + Binds parameter by parsing the query string. + The HTTP parameter binding object. + The parameter descriptor that describes the parameter to bind. + The value provider factories which provide query string parameter data. + + + Binds parameter by parsing the query string. + The HTTP parameter binding object. + The parameter descriptor that describes the parameter to bind. + The model binder used to assemble the parameter into an object. + + + Binds parameter by parsing the query string. + The HTTP parameter binding object. + The parameter descriptor that describes the parameter to bind. + The model binder used to assemble the parameter into an object. + The value provider factories which provide query string parameter data. + + + Binds parameter by parsing the query string. + The HTTP parameter binding object. + The parameter descriptor that describes the parameter to bind. + The value provider factories which provide query string parameter data. + + + Represents a reflected synchronous or asynchronous action method. - - - - - - - - - - Initializes a new instance of the class. - - Initializes a new instance of the class. + + Initializes a new instance of the class with the specified descriptor and method details. + The controller descriptor. + The action-method information. + - Gets {insert text here}. + Gets the name of the action. + The name of the action. + + + Executes the described action and returns a that once completed will contain the return value of the action. + A that once completed will contain the return value of the action. + The context. + The arguments. + A cancellation token to cancel the action. - - + Returns an array of custom attributes defined for this member, identified by type. + An array of custom attributes or an empty array if no custom attributes exist. + The type of the custom attributes. + + + Retrieves information about action filters. + The filter information. + + + Retrieves the parameters of the action method. + The parameters of the action method. - - - Gets or sets {insert text here}. + Gets or sets the action-method information. + The action-method information. - Gets {insert text here}. + Gets the return type of this method. + The return type of this method. + + + Gets or sets the supported http methods. + The supported http methods. + + + No content here will be updated; please do not add material here. - - Initializes a new instance of the class. + Initializes a new instance of the class. Initializes a new instance of the class. + The action descriptor. + The parameter information. - Gets {insert text here}. + Gets the default value for the parameter. + The default value for the parameter. + + + Retrieves a collection of the custom attributes from the parameter. + A collection of the custom attributes from the parameter. + The type of the custom attributes. + + + Gets a value that indicates whether the parameter is optional. + true if the parameter is optional; otherwise false. - - - - Gets or sets {insert text here}. + Gets or sets the parameter information. + The parameter information. - Gets {insert text here}. + Gets the name of the parameter. + The name of the parameter. - Gets {insert text here}. + Gets the type of the parameter. + The type of the parameter. - - Default implementation of an . A different implementation can be registered via the . We optimize for the case where we have an instance per instance but can support cases where there are many instances for one as well. In the latter case the lookup is slightly slower because it goes through the dictionary. + + Represents a converter for actions with a return type of . - - Initializes a new instance of the class. + + Initializes a new instance of the class. - - Creates the specified by controllerType using the given controllerContext - An instance of type controllerType. + + Converts a object to another object. + The converted object. The controller context. - Type of the controller. + The action result. - - Default instance creating new instances. A different implementation can be registered via the . + + An abstract class that provides a container for services used by ASP.NET Web API. - - Initializes a new instance of the class. + + Initializes a new instance of the class. + + + Adds a service to the end of services list for the given service type. + The service type. + The service instance. + + + Adds the services of the specified collection to the end of the services list for the given service type. + The service type. + The services to add. + + + Removes all the service instances of the given service type. + The service type to clear from the services list. + + + Removes all instances of a multi-instance service type. + The service type to remove. + + + Removes a single-instance service type. + The service type to remove. + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + Searches for a service that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence. + The zero-based index of the first occurrence, if found; otherwise, -1. + The service type. + The delegate that defines the conditions of the element to search for. + + + Gets a service instance of a specified type. + The service type. + + + Gets a mutable list of service instances of a specified type. + A mutable list of service instances. + The service type. + + + Gets a collection of service instanes of a specified type. + A collection of service instances. + The service type. + + + Inserts a service into the collection at the specified index. + The service type. + The zero-based index at which the service should be inserted. If is passed, ensures the element is added to the end. + The service to insert. + + + Inserts the elements of the collection into the service list at the specified index. + The service type. + The zero-based index at which the new elements should be inserted. If is passed, ensures the elements are added to the end. + The collection of services to insert. + + + Determine whether the service type should be fetched with GetService or GetServices. + true iff the service is singular. + type of service to query + + + Removes the first occurrence of the given service from the service list for the given service type. + true if the item is successfully removed; otherwise, false. + The service type. + The service instance to remove. + + + Removes all the elements that match the conditions defined by the specified predicate. + The number of elements removed from the list. + The service type. + The delegate that defines the conditions of the elements to remove. + + + Removes the service at the specified index. + The service type. + The zero-based index of the service to remove. + + + Replaces all existing services for the given service type with the given service instance. This works for both singular and plural services. + The service type. + The service instance. + + + Replaces all instances of a multi-instance service with a new instance. + The type of service. + The service instance that will replace the current services of this type. + + + Replaces all existing services for the given service type with the given service instances. + The service type. + The service instances. + + + Replaces a single-instance service of a specified type. + The service type. + The service instance. + + + Removes the cached values for a single service type. + The service type. + + + A converter for creating responses from actions that return an arbitrary value. + The declared return type of an action. + + + Initializes a new instance of the class. + + + Converts the result of an action with arbitrary return type to an instance of . + The newly created object. + The action controller context. + The execution result. + + + Represents a converter for creating a response from actions that do not return a value. + + + Initializes a new instance of the class. + + + Converts the created response from actions that do not return a value. + The converted response. + The context of the controller. + The result of the action. + + + Represents a dependency injection container. + + + Starts a resolution scope. + The dependency scope. + + + Represents an interface for the range of the dependencies. + + + Retrieves a service from the scope. + The retrieved service. + The service to be retrieved. + + + Retrieves a collection of services from the scope. + The retrieved collection of services. + The collection of services to be retrieved. + + + Describes an API defined by relative URI path and HTTP method. + + + Initializes a new instance of the class. + + + Gets or sets the action descriptor that will handle the API. + The action descriptor. + + + Gets or sets the documentation of the API. + The documentation. + + + Gets or sets the HTTP method. + The HTTP method. + + + Gets the ID. The ID is unique within . + + + Gets the parameter descriptions. + + + Gets or sets the relative path. + The relative path. + + + Gets or sets the registered route for the API. + The route. + + + Gets the supported request body formatters. + + + Gets the supported response formatters. + + + Explores the URI space of the service based on routes, controllers and actions available in the system. + + + Initializes a new instance of the class. The configuration. - - - - - - Gets or sets {insert text here}. + + Gets the API descriptions. The descriptions are initialized on the first access. - - Gets or sets {insert text here}. + + Gets or sets the documentation provider. The provider will be responsible for documenting the API. + The documentation provider. - - Gets or sets {insert text here}. + + Gets a collection of HttpMethods supported by the action. Called when initializing the . + A collection of HttpMethods supported by the action. + The route. + The action descriptor. - - Gets or sets {insert text here}. + + Determines whether the action should be considered for generation. Called when initializing the . + true if the action should be considered for generation, false otherwise. + The action variable value from the route. + The action descriptor. + The route. + + + Determines whether the controller should be considered for generation. Called when initializing the . + true if the controller should be considered for generation, false otherwise. + The controller variable value from the route. + The controller descriptor. + The route. + + + This attribute can be used on the controllers and actions to influence the behavior of . + + + Initializes a new instance of the class. + + + Gets or sets a value indicating whether to exclude the controller or action from the instances generated by . + true if the controller or action should be ignored; otherwise, false. + + + Describes a parameter on the API defined by relative URI path and HTTP method. + + + Initializes a new instance of the class. + + + Gets or sets the documentation. + The documentation. + + + Gets or sets the name. + The name. + + + Gets or sets the parameter descriptor. + The parameter descriptor. + + + Gets or sets the source of the parameter. It may come from the request URI, request body or other places. + The source. + + + Describes where the parameter come from. + + + The parameter come from Uri. + + + The parameter come from Body. + + + The location is unknown. + + + Defines the interface for getting a collection of . + + + Gets the API descriptions. + + + Defines the provider responsible for documenting the service. + + + Gets the documentation based on . + The documentation for the controller. + The action descriptor. + + + Gets the documentation based on . + The documentation for the controller. + The parameter descriptor. + + + Provides an implementation of with no external dependencies. + + + Initializes a new instance of the class. + + + Returns a list of assemblies available for the application. + A <see cref="T:System.Collections.ObjectModel.Collection`1" /> of assemblies. + + + Represents a default implementation of an . A different implementation can be registered via the . We optimize for the case where we have an instance per instance but can support cases where there are many instances for one as well. In the latter case the lookup is slightly slower because it goes through the dictionary. + + + Initializes a new instance of the class. + + + Creates the specified by using the given . + An instance of type . + The request message. + The controller descriptor. + The type of the controller. + + + Represents a default instance for choosing a given a . A different implementation can be registered via the . + + + Initializes a new instance of the class. + The configuration. + + + Specifies the suffix string in the controller name. + + + Returns a map, keyed by controller string, of all that the selector can select. + A map of all that the selector can select, or null if the selector does not have a well-defined mapping of . + + + Gets the name of the controller for the specified . + The name of the controller for the specified . + The HTTP request message. + + + Selects a for the given . + The instance for the given . + The HTTP request message. + + + Provides an implementation of with no external dependencies. + + + Initializes a new instance of the class. + + + Initializes a new instance using a predicate to filter controller types. + The predicate. + + + Returns a list of controllers available for the application. + An <see cref="T:System.Collections.Generic.ICollection`1" /> of controllers. + The assemblies resolver. + + + Gets a value whether the resolver type is a controller type predicate. + true if the resolver type is a controller type predicate; otherwise, false. - Dispatches an incoming to an implementation for processing. - - - Initializes a new instance of the class using default . + Dispatches an incoming to an implementation for processing. - Initializes a new instance of the class. + Initializes a new instance of the class with the specified configuration. + The http configuration. - Gets the . + Gets the HTTP configuration. + The HTTP configuration. - - Releases unmanaged and - optionally - managed resources - true to release both managed and unmanaged resources; false to release only unmanaged SRResources. + + Dispatches an incoming to an . + A representing the ongoing operation. + The request to dispatch + The cancellation token. - - - Provides an abstraction for managing the compilation of an application. A different implementation can be registered via the . + + This class is the default endpoint message handler which examines the of the matched route, and chooses which message handler to call. If is null, then it delegates to . - - Creates a cached file. - The object for the new file. - Name of the file. + + Initializes a new instance of the class, using the provided and as the default handler. + The server configuration. - - Gets an object factory for the specified virtual path. - true if file exists; otherwise false. - The virtual path. + + Initializes a new instance of the class, using the provided and . + The server configuration. + The default handler to use when the has no . - - Compiles a file, given its virtual path, and returns the compiled type. - The compiled . - The virtual path. + + Sends an HTTP request as an asynchronous operation. + The task object representing the asynchronous operation. + The HTTP request message to send. + The cancellation token to cancel operation. - - Returns a list of assembly references that all page compilations must reference. - An of assembly references. + + Provides an abstraction for managing the assemblies of an application. A different implementation can be registered via the . - - Reads a cached file. - The object for the file, or null if the file does not exist. - Name of the file. + + Returns a list of assemblies available for the application. + An <see cref="T:System.Collections.Generic.ICollection`1" /> of assemblies. - Defines the methods that are required for an . + Defines the methods that are required for an . - - + + Creates an object. + An object. + The message request. + The HTTP controller descriptor. + The type of the controller. + + Defines the methods that are required for an factory. - - Creates the using the specified context and controller name. - An instance. - The controller context. - Name of the controller. + + Returns a map, keyed by controller string, of all that the selector can select. This is primarily called by to discover all the possible controllers in the system. + A map of all that the selector can select, or null if the selector does not have a well-defined mapping of . - - Releases an instance. - The controller. + + Selects a for the given . + An instance. + The request message. + + + Provides an abstraction for managing the controller types of an application. A different implementation can be registered via the DependencyResolver. + + + Returns a list of controllers available for the application. + An <see cref="T:System.Collections.Generic.ICollection`1" /> of controllers. + The resolver for failed assemblies. + + + Provides information about an action method, such as its name, controller, parameters, attributes, and filters. - Initializes a new instance of the class. - - + + Returns the filters that are associated with this action method. + The filters that are associated with this action method. + The configuration. + The action descriptor. + + + Represents the base class for all action-filter attributes. + Initializes a new instance of the class. - - - - + + Occurs after the action method is invoked. + The action executed context. + + + Occurs before the action method is invoked. + The action context. + + + Executes the filter action asynchronously. + The newly created task for this operation. + The action context. + The cancellation token assigned for this task. + The delegate function to continue after the action method is invoked. + + + No content here will be updated; please do not add material here. + Initializes a new instance of the class. - - - + + Calls when a process requests authorization. + The action context, which encapsulates information for using . + + + Executes the authorization filter during synchronization. + The authorization filter during synchronization. + The action context, which encapsulates information for using . + The cancellation token that cancels the operation. + A continuation of the operation. + + + Represents the configuration filter provider. + Initializes a new instance of the class. - - + + Returns the filters that are associated with this configuration method. + The filters that are associated with this configuration method. + The configuration. + The action descriptor. + + + Represents the attributes for the exception filter. + Initializes a new instance of the class. - - - - - Initializes a new instance of the class. + + Raises the exception event. + The context for the action. - - Gets or sets {insert text here}. + + Asynchronously executes the exception filter. + The result of the execution. + The context for the action. + The cancellation context. - - Gets or sets {insert text here}. + + Represents the base class for action-filter attributes. - Initializes a new instance of the class. - Gets {insert text here}. + Gets a value that indicates whether multiple filters are allowed. + true if multiple filters are allowed; otherwise, false. - - - + + Provides information about the available action filters. + + + Initializes a new instance of the class. + The instance of this class. + The scope of this class. + + + Gets or sets an instance of the . + A . + + + Gets or sets the scope . + The scope of the FilterInfo. + + + Defines values that specify the order in which filters run within the same filter type and filter order. - + Specifies an action before Controller. - + Specifies an order before Action and after Global. - + Specifies an order after Controller. - - + + No content here will be updated; please do not add material here. - - - Initializes a new instance of the class. - - - - - - Gets {insert text here}. - - - - - - Initializes a new instance of the class. + Initializes a new instance of the class. Initializes a new instance of the class. + The action context. + The exception. - Gets or sets {insert text here}. + Gets or sets the HTTP action context. + The HTTP action context. - Gets or sets {insert text here}. + Gets or sets the exception that was raised during the execution. + The exception that was raised during the execution. - Gets {insert text here}. + Gets the object for the context. + The object for the context. - - Gets or sets {insert text here}. + + Gets or sets the for the context. + The for the context. + + + Represents a collection of HTTP filters. + + + Initializes a new instance of the class. + + + Adds an item at the end of the collection. + The item to add to the collection. + + + Removes all item in the collection. + + + Determines whether the collection contains the specified item. + true if the collection contains the specified item; otherwise, false. + The item to check. + + + Gets the number of elements in the collection. + The number of elements in the collection. + + + Gets an enumerator that iterates through the collection. + An enumerator object that can be used to iterate through the collection. + + + Removes the specified item from the collection. + The item to remove in the collection. + + + Gets an enumerator that iterates through the collection. + An enumerator object that can be used to iterate through the collection. + + + Defines the methods that are used in an action filter. + + + Executes the filter action asynchronously. + The newly created task for this operation. + The action context. + The cancellation token assigned for this task. + The delegate function to continue after the action method is invoked. + + + No content here will be updated; please do not add material here. + + + Executes the authorization filter to synchronize. + The authorization filter to synchronize. + The action context. + The cancellation token associated with the filter. + The continuation. + + + Defines the methods that are required for an exception filter. + + + Executes an asynchronous exception filter. + An asynchronous exception filter. + The action executed context. + The cancellation token. + + + Specifies a server-side component that is used by the indexing system to index documents that have the file format associated with the IFilter. - - - - - - - - Gets {insert text here}. + Gets or sets a value indicating whether more than one instance of the indicated attribute can be specified for a single program element. + true if more than one instance is allowed to be specified; otherwise, false. The default is false. + + + Provides filter information. + + + Returns an enumeration of filters. + An enumeration of filters. + The HTTP configuration. + The action descriptor. - - - Provides common keys for properties stored in the + Provides common keys for properties stored in the . + + + Provides a key for the client certificate for this request. + + + Provides a key for the associated with this request. + + + Provides a key for the collection of resources that should be disposed when a request is disposed. Provides a key for the associated with this request. @@ -882,755 +2227,1397 @@ Provides a key for the associated with this request. + + Provides a key that indicates whether error details are to be included in the response for this HTTP request. + + + Provides a key that indicates whether the request originates from a local address. + + + Provides a key for the stored in . This is the correlation ID for that request. + + + Provides a key for the parsed query string stored in . + + + Provides a key for a delegate which can retrieve the client certificate for this request. + Provides a key for the current stored in . If is null then no context is stored. - - Provides a key for the current stored in . + + Interface for controlling the use of buffering requests and responses in the host. If a host provides support for buffering requests and/or responses then it can use this interface to determine the policy for when buffering is to be used. - - - - + + Determines whether the host should buffer the entity body. + true if buffering should be used; otherwise a streamed request should be used. + The host context. + + + Determines whether the host should buffer the entity body. + true if buffering should be used; otherwise a streamed response should be used. + The HTTP response message. + + + No content here will be updated; please do not add material here. + + Initializes a new instance of the class. + The provider. + The type of the container. + The model accessor. + The type of the model. + The name of the property. - Gets {insert text here}. + Gets a dictionary that contains additional metadata about the model. + A dictionary that contains additional metadata about the model. - Gets {insert text here}. + Gets or sets the type of the container for the model. + The type of the container for the model. - Gets or sets {insert text here}. + Gets or sets a value that indicates whether empty strings that are posted back in forms should be converted to null. + true if empty strings that are posted back in forms should be converted to null; otherwise, false. The default value is true. - - Gets or sets {insert text here}. - - - Gets or sets {insert text here}. + Gets or sets the description of the model. + The description of the model. The default value is null. - - Gets or sets {insert text here}. + + Gets the display name for the model. + The display name for the model. - - Gets or sets {insert text here}. - - - Gets or sets {insert text here}. - - - - - - Gets or sets {insert text here}. + + Gets a list of validators for the model. + A list of validators for the model. + The validator providers for the model. - Gets {insert text here}. + Gets or sets a value that indicates whether the model is a complex type. + A value that indicates whether the model is considered a complex. - Gets {insert text here}. + Gets a value that indicates whether the type is nullable. + true if the type is nullable; otherwise, false. - Gets or sets {insert text here}. - - - Gets or sets {insert text here}. + Gets or sets a value that indicates whether the model is read-only. + true if the model is read-only; otherwise, false. - Gets or sets {insert text here}. + Gets the value of the model. + The model value can be null. - Gets {insert text here}. - - - Gets or sets {insert text here}. - - - Gets or sets {insert text here}. + Gets the type of the model. + The type of the model. - Gets {insert text here}. + Gets a collection of model metadata objects that describe the properties of the model. + A collection of model metadata objects that describe the properties of the model. - Gets {insert text here}. + Gets the property name. + The property name. - Gets or sets {insert text here}. + Gets or sets the provider. + The provider. - - Gets or sets {insert text here}. + + No content here will be updated; please do not add material here. - - Gets or sets {insert text here}. - - - Gets or sets {insert text here}. - - - Gets or sets {insert text here}. - - - Gets or sets {insert text here}. - - - Gets or sets {insert text here}. - - - Gets or sets {insert text here}. - - Initializes a new instance of the class. - - - - - - Initializes a new instance of the class. + + Gets a ModelMetadata object for each property of a model. + A ModelMetadata object for each property of a model. + The container. + The type of the container. - - - - - - - - + + Get metadata for the specified property. + The metadata model for the specified property. + The model accessor. + The type of the container. + The property to get the metadata model for. - - Initializes a new instance of the class. + + Gets the metadata for the specified model accessor and model type. + The metadata. + The model accessor. + The type of the mode. - - Gets or sets {insert text here}. + + Provides an abstract class to implement a metadata provider. + The type of the model metadata. - - Gets {insert text here}. + + Initializes a new instance of the class. - - - - - - - - Gets or sets {insert text here}. + + When overridden in a derived class, creates the model metadata for the property using the specified prototype. + The model metadata for the property. + The prototype from which to create the model metadata. + The model accessor. - - + + When overridden in a derived class, creates the model metadata for the property. + The model metadata for the property. + The set of attributes. + The type of the container. + The type of the model. + The name of the property. + + + Retrieves a list of properties for the model. + A list of properties for the model. + The model container. + The type of the container. + + + Retrieves the metadata for the specified property using the container type and property name. + The metadata for the specified property. + The model accessor. + The type of the container. + The name of the property. + + + Returns the metadata for the specified property using the type of the model. + The metadata for the specified property. + The model accessor. + The type of the container. + + + Provides prototype cache data for . + + Initializes a new instance of the class. - - - Gets or sets {insert text here}. + The attributes that provides data for the initialization. - Gets or sets {insert text here}. - - - Gets or sets {insert text here}. + Gets or sets the metadata display attribute. + The metadata display attribute. - Gets or sets {insert text here}. - - - Gets or sets {insert text here}. + Gets or sets the metadata display format attribute. + The metadata display format attribute. - Gets or sets {insert text here}. + Gets or sets the metadata editable attribute. + The metadata editable attribute. - Gets or sets {insert text here}. + Gets or sets the metadata read-only attribute. + The metadata read-only attribute. - - Gets or sets {insert text here}. + + Provides a container for common metadata, for the class, for a data model. - - Gets or sets {insert text here}. - - - Gets or sets {insert text here}. - - - + Initializes a new instance of the class. + The prototype used to initialize the model metadata. + The model accessor. - + Initializes a new instance of the class. + The metadata provider. + The type of the container. + The type of the model. + The name of the property. + The attributes that provides data for the initialization. - - - - - - - - - - - - - - - - - - - - Initializes a new instance of the class. + + Retrieves a value that indicates whether empty strings that are posted back in forms should be converted to null. + true if empty strings that are posted back in forms should be converted to null; otherwise, false. + + + Retrieves the description of the model. + The description of the model. + + + Retrieves a value that indicates whether the model is read-only. + true if the model is read-only; otherwise, false. - - - + No content here will be updated; please do not add material here. + The type of prototype cache. - + Initializes a new instance of the class. + The prototype. + The model accessor. - + Initializes a new instance of the class. + The provider. + The type of container. + The type of the model. + The name of the property. + The prototype cache. + + + Indicates whether empty strings that are posted back in forms should be computed and converted to null. + true if empty strings that are posted back in forms should be computed and converted to null; otherwise, false. + + + Indicates the computation value. + The computation value. + + + Gets a value that indicates whether the model is a complex type. + A value that indicates whether the model is considered a complex type by the Web API framework. + + + Gets a value that indicates whether the model to be computed is read-only. + true if the model to be computed is read-only; otherwise, false. - - - - - - - - - - - - - - - - - - Gets or sets {insert text here}. - - - Gets or sets {insert text here}. + Gets or sets a value that indicates whether empty strings that are posted back in forms should be converted to null. + true if empty strings that are posted back in forms should be converted to null; otherwise, false. The default value is true. - Gets or sets {insert text here}. + Gets or sets the description of the model. + The description of the model. - - Gets or sets {insert text here}. - - - Gets or sets {insert text here}. - - - Gets or sets {insert text here}. - - - - Gets or sets {insert text here}. + + Gets a value that indicates whether the model is a complex type. + A value that indicates whether the model is considered a complex type by the Web API framework. - Gets or sets {insert text here}. - - - Gets or sets {insert text here}. - - - Gets or sets {insert text here}. - - - Gets or sets {insert text here}. + Gets or sets a value that indicates whether the model is read-only. + true if the model is read-only; otherwise, false. - Gets or sets {insert text here}. + Gets or sets a value that indicates whether the prototype cache is updating. + true if the prototype cache is updating; otherwise, false. - - Gets or sets {insert text here}. + + Implements the default model metadata provider. - - Gets or sets {insert text here}. + + Initializes a new instance of the class. - - Gets or sets {insert text here}. + + Creates the metadata from prototype for the specified property. + The metadata for the property. + The prototype. + The model accessor. - - Gets or sets {insert text here}. + + Creates the metadata for the specified property. + The metadata for the property. + The attributes. + The type of the container. + The type of the model. + The name of the property. - - Gets or sets {insert text here}. + + No content here will be updated; please do not add material here. - - Gets or sets {insert text here}. - - Initializes a new instance of the class. - - + + Creates metadata from prototype. + The metadata. + The model metadata prototype. + The model accessor. + + + Creates a prototype of the metadata provider of the . + A prototype of the metadata provider. + The attributes. + The type of container. + The type of model. + The name of the property. + + + Represents the binding directly to the cancellation token. + + + Initializes a new instance of the class. + The binding descriptor. + + + Executes the binding during synchronization. + The binding during synchronization. + The metadata provider. + The action context. + The notification after the cancellation of the operations. + + + Represents an attribute that invokes a custom model binder. + Initializes a new instance of the class. - - + + Retrieves the associated model binder. + A reference to an object that implements the interface. + + + No content here will be updated; please do not add material here. + Initializes a new instance of the class. - - - This class associates a with its corresponding and necessary to perform model binding. + + Default implementation of the interface. This interface is the primary entry point for binding action parameters. + The associated with the . + The action descriptor. - - Initializes a new instance of the class. + + Gets the associated with the . + The associated with the . + The parameter descriptor. - - Gets or sets {insert text here}. + + Defines a binding error. - - Gets or sets {insert text here}. + + Initializes a new instance of the class. + The error descriptor. + The message. - - Gets or sets {insert text here}. + + Gets the error message. + The error message. - - - - - Asks how the request content should be read for the given . - A value indicating how the request content body should be read. - The for the action to be invoked. + + Executes the binding method during synchronization. + The metadata provider. + The action context. + The cancellation Token value. - - + + Represents parameter binding that will read from the body and invoke the formatters. + + + Initializes a new instance of the class. + The descriptor. + The formatter. + The body model validator. + + + Gets or sets an interface for the body model validator. + An interface for the body model validator. + + + Gets the error message. + The error message. + + + Asynchronously execute the binding of . + The result of the action. + The metadata provider. + The context associated with the action. + The cancellation token. + + + Gets or sets an enumerable object that represents the formatter for the parameter binding. + An enumerable object that represents the formatter for the parameter binding. + + + Asynchronously reads the content of . + The result of the action. + The request. + The type. + The formatter. + The format logger. + + + Gets whether the will read body. + True if the will read body; otherwise, false. + + + Represents the extensions for the collection of form data. + + + Reads the collection extensions with specified type. + The read collection extensions. + The form data. + The generic type. + + + Reads the collection extensions with specified type. + The collection extensions. + The form data. + The name of the model. + The required member selector. + The formatter logger. + The generic type. + + + Reads the collection extensions with specified type. + The collection extensions with specified type. + The form data. + The type of the object. + + + Reads the collection extensions with specified type and model name. + The collection extensions. + The form data. + The type of the object. + The name of the model. + The required member selector. + The formatter logger. + + + Enumerates the behavior of the HTTP binding. + + + The optional binding behavior + + + Never use HTTP binding. + + + HTTP binding is required. + + + Provides a base class for model-binding behavior attributes. + + + Initializes a new instance of the class. + The behavior. + + + Gets or sets the behavior category. + The behavior category. + + + Gets the unique identifier for this attribute. + The id for this attribute. + + + Parameter binds to the request. + + + Initializes a new instance of the class. + The parameter descriptor. + + + Asynchronously executes parameter binding. + The binded parameter. + The metadata provider. + The action context. + The cancellation token. + + + Defines the methods that are required for a model binder. + + + Binds the model to a value by using the specified controller context and binding context. + The bound value. + The action context. + The binding context. + + + Represents a value provider for parameter binding. + + + Gets the instances used by this parameter binding. + The instances used by this parameter binding. + + + Represents the class for handling HTML form URL-ended data, also known as application/x-www-form-urlencoded. + + + Initializes a new instance of the class. + + + Determines whether this can read objects of the specified . + true if objects of this type can be read; otherwise false. + The type of object that will be read. + + + Reads an object of the specified from the specified stream. This method is called during deserialization. + A whose result will be the object instance that has been read. + The type of object to read. + The from which to read. + The content being read. + The to log events to. + + + Specify this parameter uses a model binder. This can optionally specify the specific model binder and value providers that drive that model binder. Derived attributes may provide convenience settings for the model binder or value provider. + + Initializes a new instance of the class. + + Initializes a new instance of the class. + The type of model binder. + - Sets the type of the model binder. This type must be either a subclass of or any type with a parameterless constructor that implements / + Gets or sets the type of model binder. + The type of model binder. + + + Gets the binding for a parameter. + The that contains the binding. + The parameter to bind. + + + Get the IModelBinder for this type. + a non-null model binder. + The configuration. + model type that the binder is expected to bind. + + + Gets the model binder provider. + The instance. + The configuration object. + + + Gets the value providers that will be fed to the model binder. + A collection of instances. + The configuration object. + + + Gets or sets the name to consider as the parameter name during model binding. + The parameter name to consider. - Gets or sets {insert text here}. + Gets or sets a value that specifies whether the prefix check should be suppressed. + true if the prefix check should be suppressed; otherwise, false. + + + Provides a container for model-binder configuration. - - Gets or sets {insert text here}. + Gets or sets the name of the resource file (class key) that contains localized string values. + The name of the resource file (class key). - Gets or sets {insert text here}. + Gets or sets the current provider for type-conversion error message. + The current provider for type-conversion error message. - Gets or sets {insert text here}. + Gets or sets the current provider for value-required error messages. + The error message provider. + + + Provides a container for model-binder error message provider. + + + Describes a parameter that gets bound via ModelBinding. + + + Initializes a new instance of the class. + The parameter descriptor. + The model binder. + The collection of value provider factory. + + + Gets the model binder. + The model binder. + + + Asynchronously executes the parameter binding via the model binder. + The task that is signaled when the binding is complete. + The metadata provider to use for validation. + The action context for the binding. + The cancellation token assigned for this task for cancelling the binding operation. + + + Gets the collection of value provider factory. + The collection of value provider factory. + + + Provides an abstract base class for model binder providers. - - Initializes a new instance of the class. - - + + Finds a binder for the given type. + A binder, which can attempt to bind this type. Or null if the binder knows statically that it will never be able to bind the type. + A configuration object. + The type of the model to bind against. + + + Provides the context in which a model binder functions. + Initializes a new instance of the class. Initializes a new instance of the class. + The binding context. - Gets or sets {insert text here}. + Gets or sets a value that indicates whether the binder should use an empty prefix. + true if the binder should use an empty prefix; otherwise, false. - Gets or sets {insert text here}. + Gets or sets the model. + The model. - Gets or sets {insert text here}. + Gets or sets the model metadata. + The model metadata. - Gets or sets {insert text here}. + Gets or sets the name of the model. + The name of the model. - Gets or sets {insert text here}. + Gets or sets the state of the model. + The state of the model. - Gets {insert text here}. + Gets or sets the type of the model. + The type of the model. - Gets {insert text here}. + Gets the property metadata. + The property metadata. - Gets or sets {insert text here}. + Gets or sets the validation node. + The validation node. - Gets or sets {insert text here}. + Gets or sets the value provider. + The value provider. + + + Represents an error that occurs during model binding. - - - Initializes a new instance of the class. + Initializes a new instance of the class by using the specified exception. + The exception. - Initializes a new instance of the class. + Initializes a new instance of the class by using the specified exception and error message. + The exception. + The error message - Initializes a new instance of the class. + Initializes a new instance of the class by using the specified error message. + The error message - Gets or sets {insert text here}. + Gets or sets the error message. + The error message. - Gets or sets {insert text here}. + Gets or sets the exception object. + The exception object. + + + Represents a collection of instances. - Initializes a new instance of the class. - - - + + Adds the specified Exception object to the model-error collection. + The exception. + + + Adds the specified error message to the model-error collection. + The error message. + + + 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. - Gets {insert text here}. + Gets a object that contains any errors that occurred during model binding. + The model state errors. - Gets or sets {insert text here}. + Gets a object that encapsulates the value that was being bound during model binding. + The model state value. + + + Represents the state of an attempt to bind a posted form to an action method, which includes validation information. - Initializes a new instance of the class. - 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 dictionary. + + + Adds the specified item to the model-state dictionary. + The object to add to the model-state dictionary. + + + Adds an element that has the specified key and value to the model-state dictionary. + The key of the element to add. + The value of the element to add. + + + Adds the specified model error to the errors collection for the model-state dictionary that is associated with the specified key. + The key. + The exception. + + + Adds the specified error message to the errors collection for the model-state dictionary that is associated with the specified key. + The key. + The error message. + + + Removes all items from the model-state dictionary. + + + Determines whether the model-state dictionary contains a specific value. + true if item is found in the model-state dictionary; otherwise, false. + The object to locate in the model-state dictionary. + + + 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 locate in the model-state dictionary. + + + Copies the elements of the model-state dictionary to an array, starting at a specified index. + The array. The array must have zero-based indexing. + The zero-based index in array at which copying starts. - - - - - - - - - Gets {insert text here}. + Gets the number of key/value pairs in the collection. + The number of key/value pairs in the collection. + + + Returns an enumerator that can be used to iterate through the collection. + An enumerator that can be used to iterate through the collection. - - Gets {insert text here}. + Gets a value that indicates whether the collection is read-only. + true if the collection is read-only; otherwise, false. - Gets {insert text here}. + Gets a value that indicates whether this instance of the model-state dictionary is valid. + true if this instance is valid; otherwise, false. + + + Determines whether there are any objects that are associated with or prefixed with the specified key. + true if the model-state dictionary contains a value that is associated with the specified key; otherwise, false. + The key. - - Gets or sets {insert text here}. + Gets or sets the value that is associated with the specified key. + The model state item. + The key. - Gets {insert text here}. + Gets a collection that contains the keys in the dictionary. + A collection that contains the keys of the model-state dictionary. + + + Copies the values from the specified object into this dictionary, overwriting existing values if keys are the same. + The dictionary. + + + Removes the first occurrence of the specified object from the model-state dictionary. + true if item was successfully removed the model-state dictionary; otherwise, false. This method also returns false if item is not found in the model-state dictionary. + The object to remove from the model-state dictionary. + + + Removes the element that has the specified key from the model-state dictionary. + true if the element is successfully removed; otherwise, false. This method also returns false if key was not found in the model-state dictionary. + The key of the element to remove. + + + Sets the value for the specified key by using the specified value provider dictionary. + The key. + The value. + + + Returns an enumerator that iterates through a collection. + An IEnumerator object that can be used to iterate through the collection. + + + Attempts to gets the value that is associated with the specified key. + true if the object contains an element that has the specified key; otherwise, false. + The key of the value to get. + The value associated with the specified key. - - - - - - - Gets {insert text here}. + Gets a collection that contains the values in the dictionary. + A collection that contains the values of the model-state dictionary. - - Enum to indicate how the request body content should be (or was) read. + + Collection of functions that can produce a parameter binding for a given parameter. - - Do not read the request content. + + Initializes a new instance of the class. - - Read the request content as key/value pairs. + + Adds function to the end of the collection. The function added is a wrapper around funcInner that checks that parameterType matches typeMatch. + type to match against HttpParameterDescriptor.ParameterType + inner function that is invoked if type match succeeds - - Read the request content as a single object of a specific type. + + Insert a function at the specified index in the collection. /// The function added is a wrapper around funcInner that checks that parameterType matches typeMatch. + index to insert at. + type to match against HttpParameterDescriptor.ParameterType + inner function that is invoked if type match succeeds - - Read the request content as key/value pairs if the formatter supports it, otherwise read as a single object. + + Execute each binding function in order until one of them returns a non-null binding. + the first non-null binding produced for the parameter. Of null if no binding is produced. + parameter to bind. - + Maps a browser request to an array. + The type of the array. Initializes a new instance of the class. - - + + Indicates whether the model is binded. + true if the specified model is binded; otherwise, false. + The action context. + The binding context. + + + Converts the collection to an array. + true in all cases. + The action context. + The binding context. + The new collection. + + + Provides a model binder for arrays. + Initializes a new instance of the class. - - - - Initializes a new instance of the class. + + Returns a model binder for arrays. + A model binder object or null if the attempt to get a model binder is unsuccessful. + The configuration. + The type of model. - - - This class provides an that can bind to - - - Initializes a new instance of the class. - - - - - - Initializes a new instance of the class. - - - + Maps a browser request to a collection. + The type of the collection. Initializes a new instance of the class. - - - + + Binds the model by using the specified execution context and binding context. + true if model binding is successful; otherwise, false. + The action context. + The binding context. + + + Provides a way for derived classes to manipulate the collection before returning it from the binder. + true in all cases. + The action context. + The binding context. + The new collection. + + + Provides a model binder for a collection. + Initializes a new instance of the class. - - + + Retrieves a model binder for a collection. + The model binder. + The configuration of the model. + The type of the model. + + + Represents a data transfer object (DTO) for a complex model. + Initializes a new instance of the class. + The model metadata. + The collection of property metadata. - Gets or sets {insert text here}. + Gets or sets the model metadata of the . + The model metadata of the . - Gets or sets {insert text here}. + Gets or sets the collection of property metadata of the . + The collection of property metadata of the . - Gets or sets {insert text here}. + Gets or sets the results of the . + The results of the . + + + Represents a model binder for object. - Initializes a new instance of the class. - - + + Determines whether the specified model is binded. + true if the specified model is binded; otherwise, false. + The action context. + The binding context. + + + Represents a complex model that invokes a model binder provider. + Initializes a new instance of the class. - - + + Retrieves the associated model binder. + The model binder. + The configuration. + The type of the model to retrieve. + + + Represents the result for object. + Initializes a new instance of the class. + The object model. + The validation node. - Gets or sets {insert text here}. + Gets or sets the model for this object. + The model for this object. - Gets or sets {insert text here}. + Gets or sets the for this object. + The for this object. - This class is an that delegates to one of a collection of instances. + Represents an that delegates to one of a collection of instances. - + Initializes a new instance of the class. + An enumeration of binders. + + + Initializes a new instance of the class. + An array of binders. + + + Indicates whether the specified model is binded. + true if the model is binded; otherwise, false. + The action context. + The binding context. + + + Represents the class for composite model binder providers. - - Initializes a new instance of the class. Initializes a new instance of the class. + A collection of + + + Gets the binder for the model. + The binder for the model. + The binder configuration. + The type of the model. + + + Gets the providers for the composite model binder. + The collection of providers. - - - + Maps a browser request to a dictionary data object. + The type of the key. + The type of the value. Initializes a new instance of the class. - - + + Converts the collection to a dictionary. + true in all cases. + The action context. + The binding context. + The new collection. + + + Provides a model binder for a dictionary. + Initializes a new instance of the class. - - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - - - Initializes a new instance of the class. - - - - Gets {insert text here}. - - - Gets or sets {insert text here}. + + Retrieves the associated model binder. + The associated model binder. + The configuration to use. + The type of model. - - + Maps a browser request to a key/value pair data object. + The type of the key. + The type of the value. Initializes a new instance of the class. - - + + Binds the model by using the specified execution context and binding context. + true if model binding is successful; otherwise, false. + The action context. + The binding context. + + + Provides a model binder for a collection of key/value pairs. + Initializes a new instance of the class. - - + + Retrieves the associated model binder. + The associated model binder. + The configuration. + The type of model. + + + Maps a browser request to a mutable data object. + Initializes a new instance of the class. - - - - - - - + + Binds the model by using the specified action context and binding context. + true if binding is successful; otherwise, false. + The action context. + The binding context. + + + Retrieves a value that indicates whether a property can be updated. + true if the property can be updated; otherwise, false. + The metadata for the property to be evaluated. + + + Creates an instance of the model. + The newly created model object. + The action context. + The binding context. + + + Creates a model instance if an instance does not yet exist in the binding context. + The action context. + The binding context. + + + Retrieves metadata for properties of the model. + The metadata for properties of the model. + The action context. + The binding context. + + + Sets the value of a specified property. + The action context. + The binding context. + The metadata for the property to set. + The validation information about the property. + The validator for the model. + + + Provides a model binder for mutable objects. + Initializes a new instance of the class. - - - + + Retrieves the model binder for the specified type. + The model binder. + The configuration. + The type of the model to retrieve. + + + No content here will be updated; please do not add material here. + + Initializes a new instance of the class. + The model type. + The model binder factory. - Initializes a new instance of the class. + Initializes a new instance of the class by using the specified model type and the model binder. + The model type. + The model binder. + + + Returns a model binder by using the specified execution context and binding context. + The model binder, or null if the attempt to get a model binder is unsuccessful. + The configuration. + The model type. - - Gets {insert text here}. + Gets the type of the model. + The type of the model. - Gets or sets {insert text here}. + Gets or sets a value that specifies whether the prefix check should be suppressed. + true if the prefix check should be suppressed; otherwise, false. + + + Maps a browser request to a data object. This type is used when model binding requires conversions using a .NET Framework type converter. - Initializes a new instance of the class. - - + + Binds the model by using the specified controller context and binding context. + true if model binding is successful; otherwise, false. + The action context. + The binding context. + + + Provides a model binder for a model that requires type conversion. + Initializes a new instance of the class. - - + + Retrieve a model binder for a model that requires type conversion. + The model binder, or Nothing if the type cannot be converted or there is no value to convert. + The configuration of the binder. + The type of the model. + + + Maps a browser request to a data object. This class is used when model binding does not require type conversion. + Initializes a new instance of the class. - - + + Binds the model by using the specified execution context and binding context. + true if model binding is successful; otherwise, false. + The action context. + The binding context. + + + Provides a model binder for a model that does not require type conversion. + Initializes a new instance of the class. - - - This class is an that validates the current model instance in the . It is meant to be used for model validation whenever the normal name/value model validation is not available. + + Retrieves the associated model binder. + The associated model binder. + The configuration. + The type of model. - - Initializes a new instance of the class. + + The understands $filter, $orderby, $top and $skip OData query parameters - - - - - Initializes a new instance of the class. + + Initializes a new instance of the class. + + + Build the for the given uri. + The + The to build the from + + + A is used to extract the query from a Uri. + + + Build the for the given uri. Return null if there is no query in the Uri. + The + The to build the from + + + Represents a query option like $filter, $top etc. + + + Applies this on to an returning the resultant + The resultant + The source + + + The value part of the query parameter for this query part. + + + The query operator that this query parameter is for. + + + Represents an . + + + Initializes a new instance of the class. + + + Gets or sets a list of query parts. + + + Enables you to define which HTTP verbs are allowed when ASP.NET routing determines whether a URL matches a route. - - - Initializes a new instance of the class. + Initializes a new instance of the class by using the HTTP verbs that are allowed for the route. + The HTTP verbs that are valid for the route. - Gets or sets {insert text here}. + Gets or sets the collection of allowed HTTP verbs for the route. + A collection of allowed HTTP verbs for the route. + + + Determines whether the request was made with an HTTP verb that is one of the allowed verbs for the route. + When ASP.NET routing is processing a request, true if the request was made by using an allowed HTTP verb; otherwise, false. When ASP.NET routing is constructing a URL, true if the supplied values contain an HTTP verb that matches one of the allowed HTTP verbs; otherwise, false. The default is true. + The request that is being checked to determine whether it matches the URL. + The object that is being checked to determine whether it matches the URL. + The name of the parameter that is being checked. + An object that contains the parameters for a route. + An object that indicates whether the constraint check is being performed when an incoming request is processed or when a URL is generated. + + + Determines whether the request was made with an HTTP verb that is one of the allowed verbs for the route. + When ASP.NET routing is processing a request, true if the request was made by using an allowed HTTP verb; otherwise, false. When ASP.NET routing is constructing a URL, true if the supplied values contain an HTTP verb that matches one of the allowed HTTP verbs; otherwise, false. The default is true. + The request that is being checked to determine whether it matches the URL. + The object that is being checked to determine whether it matches the URL. + The name of the parameter that is being checked. + An object that contains the parameters for a route. + An object that indicates whether the constraint check is being performed when an incoming request is processed or when a URL is generated. - - - Route class for self-host (i.e. hosted outside of ASP.NET). This class is mostly the same as the System.Web.Routing.Route implementation. This class has the same URL matching functionality as System.Web.Routing.Route. However, in order for this route to match when generating URLs, a special "httproute" key must be specified when generating the URL. + Represents a route class for self-host (i.e. hosted outside of ASP.NET). Initializes a new instance of the class. Initializes a new instance of the class. + The route template. Initializes a new instance of the class. + The route template. + The default values for the route parameters. Initializes a new instance of the class. + The route template. + The default values for the route parameters. + The constraints for the route parameters. Initializes a new instance of the class. + The route template. + The default values for the route parameters. + The constraints for the route parameters. + Any additional tokens for the route parameters. + + + Initializes a new instance of the class. + The route template. + The default values for the route parameters. + The constraints for the route parameters. + Any additional tokens for the route parameters. + The message handler that will be the recipient of the request. - Gets {insert text here}. + Gets the constraints for the route parameters. + The constraints for the route parameters. - Gets {insert text here}. + Gets any additional data tokens not used directly to determine whether a route matches an incoming . + Any additional data tokens not used directly to determine whether a route matches an incoming . - Gets {insert text here}. + Gets the default values for route parameters if not provided by the incoming . + The default values for route parameters if not provided by the incoming . - - - Attempt to generate a URI that represents the values passed in based on current values from the and new values using the specified . + + Determines whether this route is a match for the incoming request by looking up the for the route. + The for a route if matches; otherwise null. + The virtual path root. + The HTTP request. + + + Attempts to generate a URI that represents the values passed in based on current values from the and new values using the specified . A instance or null if URI cannot be generated. - The HTTP execution context. + The HTTP request message. The route values. - - - Gets {insert text here}. + + Gets or sets the http route handler. + The http route handler. + + + Determines whether this instance equals a specified route. + true if this instance equals a specified route; otherwise, false. + The HTTP request. + The constraints for the route parameters. + The name of the parameter. + The list of parameter values. + One of the enumeration values of the enumeration. + + + Gets the route template describing the URI pattern to match against. + The route template describing the URI pattern to match against. + + + Encapsulates information regarding the HTTP route. - Initializes a new instance of the class. + An object that defines the route. Initializes a new instance of the class. + An object that defines the route. + The value. - Gets {insert text here}. + Gets the object that represents the route. + the object that represents the route. - Gets {insert text here}. + Gets a collection of URL parameter values and default values for the route. + An object that contains values that are parsed from the URL and from default values. + + + Specifies an enumeration of route direction. - - + The UriResolution direction. - + The UriGeneration direction. + + + Represents a route class for self-host of specified key/value pairs. - Initializes a new instance of the class. Initializes a new instance of the class. + The dictionary. Initializes a new instance of the class. + The key value. + + + Presents the data regarding the HTTP virtual path. - Initializes a new instance of the class. + The route of the virtual path. + The URL that was created from the route definition. - Gets or sets {insert text here}. + Gets or sets the route of the virtual path.. + The route of the virtual path. - Gets or sets {insert text here}. + Gets or sets the URL that was created from the route definition. + The URL that was created from the route definition. @@ -1638,12 +3625,15 @@ Gets the constraints for the route parameters. + The constraints for the route parameters. Gets any additional data tokens not used directly to determine whether a route matches an incoming . + The additional data tokens. Gets the default values for route parameters if not provided by the incoming . + The default values for route parameters. Determine whether this route is a match for the incoming request by looking up the <see cref="!:IRouteData" /> for the route. @@ -1651,365 +3641,1039 @@ The virtual path root. The request. - - Compute a URI based on the route and the values provided. - The controller context. + + Gets a virtual path data based on the route and the values provided. + The virtual path data. + The request message. The values. + + Gets the message handler that will be the recipient of the request. + The message handler. + Gets the route template describing the URI pattern to match against. + The route template. + + + Represents a base class route constraint. + + + Determines whether this instance equals a specified route. + True if this instance equals a specified route; otherwise, false. + The request. + The route to compare. + The name of the parameter. + A list of parameter values. + The route direction. + + + Provides information about a route. - - - - Gets {insert text here}. + Gets the object that represents the route. + The object that represents the route. - Gets {insert text here}. + Gets a collection of URL parameter values and default values for the route. + The values that are parsed from the URL and from default values. + + + Defines the properties for HTTP route. - - Gets {insert text here}. + Gets the HTTP route. + The HTTP route. - Gets {insert text here}. + Gets the URI that represents the virtual path of the current HTTP route. + The URI that represents the virtual path of the current HTTP route. - - - Initializes a new instance of the class. + + No content here will be updated; please do not add material here. - - Initializes a new instance of the class. + + Initializes a new instance of the class. + The HTTP request for this instance. - - - - - - - - - - - - Try to get a service of the given type. - an instance of the service, or null if the service is not found - Type of service to request. + + Returns a link for the specified route. + A link for the specified route. + The name of the route. + An object that contains the parameters for a route. - - Try to get a list of services of the given type. - an enumeration (possibly empty) of the service. Return an empty enumeration is the service is not found (don't return null) - Type of services to request. + + Returns a link for the specified route. + A link for the specified route. + The name of the route. + A route value. - - - - - Initializes a new instance of the class. + + Gets or sets the of the current instance. + The of the current instance. - - Gets or sets {insert text here}. + + Returns the route for the . + The route for the . + The name of the route. + A list of route values. - - Gets {insert text here}. + + Returns the route for the . + The route for the . + The name of the route. + The route values. - - Gets or sets {insert text here}. + + Represents a container for service instances used by the . Note that this container only supports known types, and methods to get or set arbitrary service types will throw when called. For creation of arbitrary types, please use instead. The supported types for this container are: Passing any type which is not on this to any method on this interface will cause an to be thrown. + + + Initializes a new instance of the class. + + + Initializes a new instance of the class with a specified object. + The object. + + + Removes a single-instance service from the default services. + The type of the service. + + + Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + + + Gets a service of the specified type. + The first instance of the service, or null if the service is not found. + The type of service. + + + Gets the list of service objects for a given service type, and validates the service type. + The list of service objects of the specified type. + The service type. + + + Gets the list of service objects for a given service type. + The list of service objects of the specified type, or an empty list if the service is not found. + The type of service. + + + Queries whether a service type is single-instance. + true if the service type has at most one instance, or false if the service type supports multiple instances. + The service type. + + + Replaces a single-instance service object. + The service type. + The service object that replaces the previous instance. + + + Removes the cached values for a single service type. + The service type. + + + Represents a performance tracing class to log method entry/exit and duration. + + + Initializes the class with a specified configuration. + The configuration. + + + Represents the trace writer. + + + Invokes the specified traceAction to allow setting values in a new if and only if tracing is permitted at the given category and level. + The current . It may be null but doing so will prevent subsequent trace analysis from correlating the trace to a particular request. + The logical category for the trace. Users can define their own. + The at which to write this trace. + The action to invoke if tracing is enabled. The caller is expected to fill in the fields of the given in this action. + + + Represents an extension methods for . + + + Provides a set of methods and properties that help debug your code with the specified writer, request, category and exception. + The . + The with which to associate the trace. It may be null. + The logical category of the trace. + The error occurred during execution. + + + Provides a set of methods and properties that help debug your code with the specified writer, request, category, exception, message format and argument. + The . + The with which to associate the trace. It may be null. + The logical category of the trace. + The error occurred during execution. + The format of the message. + The message argument. + + + Provides a set of methods and properties that help debug your code with the specified writer, request, category, exception, message format and argument. + The . + The with which to associate the trace. It may be null. + The logical category of the trace. + The format of the message. + The message argument. + + + Displays an error message in the list with the specified writer, request, category and exception. + The . + The with which to associate the trace. It may be null. + The logical category of the trace. + The error occurred during execution. + + + Displays an error message in the list with the specified writer, request, category, exception, message format and argument. + The . + The with which to associate the trace. It may be null. + The logical category of the trace. + The exception. + The format of the message. + The argument in the message. + + + Displays an error message in the list with the specified writer, request, category, message format and argument. + The . + The with which to associate the trace. It may be null. + The logical category of the trace. + The format of the message. + The argument in the message. + + + Displays an error message in the class with the specified writer, request, category and exception. + The . + The with which to associate the trace. It may be null. + The logical category of the trace. + The exception that appears during execution. + + + Displays an error message in the class with the specified writer, request, category and exception, message format and argument. + The . + The with which to associate the trace. It may be null. + The logical category of the trace. + The exception. + The format of the message. + The message argument. + + + Displays an error message in the class with the specified writer, request, category and message format and argument. + The . + The with which to associate the trace. It may be null. + The logical category of the trace. + The format of the message. + The message argument. + + + Displays the details in the . + The . + The with which to associate the trace. It may be null. + The logical category of the trace. + The error occurred during execution. + + + Displays the details in the . + The . + The with which to associate the trace. It may be null. + The logical category of the trace. + The error occurred during execution. + The format of the message. + The message argument. + + + Displays the details in the . + The . + The with which to associate the trace. It may be null. + The logical category of the trace. + The format of the message. + The message argument. + + + Indicates the trace listeners in the Listeners collection. + The . + The with which to associate the trace. It may be null. + The logical category of the trace. + The trace level. + The error occurred during execution. + + + Indicates the trace listeners in the Listeners collection. + The . + The with which to associate the trace. It may be null. + The logical category of the trace. + The trace level. + The error occurred during execution. + The format of the message. + The message argument. + + + Indicates the trace listeners in the Listeners collection. + The . + The with which to associate the trace. It may be null. + The logical category of the trace. + The of the trace. + The format of the message. + The message argument. + + + Traces both a begin and an end trace around a specified operation. + The . + The with which to associate the trace. It may be null. + The logical category of the trace. + The of the trace. + The name of the object performing the operation. It may be null. + The name of the operation being performed. It may be null. + The to invoke prior to performing the operation, allowing the given to be filled in. It may be null. + An <see cref="T:System.Func`1" /> that returns the that will perform the operation. + The to invoke after successfully performing the operation, allowing the given to be filled in. It may be null. + The to invoke if an error was encountered performing the operation, allowing the given to be filled in. It may be null. + + + Traces both a begin and an end trace around a specified operation. + The returned by the operation. + The . + The with which to associate the trace. It may be null. + The logical category of the trace. + The of the trace. + The name of the object performing the operation. It may be null. + The name of the operation being performed. It may be null. + The to invoke prior to performing the operation, allowing the given to be filled in. It may be null. + An <see cref="T:System.Func`1" /> that returns the that will perform the operation. + The to invoke after successfully performing the operation, allowing the given to be filled in. The result of the completed task will also be passed to this action. This action may be null. + The to invoke if an error was encountered performing the operation, allowing the given to be filled in. It may be null. + The type of result produced by the . + + + Traces both a begin and an end trace around a specified operation. + The returned by the operation. + The . + The with which to associate the trace. It may be null. + The logical category of the trace. + The of the trace. + The name of the object performing the operation. It may be null. + The name of the operation being performed. It may be null. + The to invoke prior to performing the operation, allowing the given to be filled in. It may be null. + An <see cref="T:System.Func`1" /> that returns the that will perform the operation. + The to invoke after successfully performing the operation, allowing the given to be filled in. It may be null. + The to invoke if an error was encountered performing the operation, allowing the given to be filled in. It may be null. + + + Indicates the warning level of execution. + The . + The with which to associate the trace. It may be null. + The logical category of the trace. + The error occurred during execution. + + + Indicates the warning level of execution. + The . + The with which to associate the trace. It may be null. + The logical category of the trace. + The error occurred during execution. + The format of the message. + The message argument. + + + Indicates the warning level of execution. + The . + The with which to associate the trace. It may be null. + The logical category of the trace. + The format of the message. + The message argument. + + + Specifies an enumeration of tracing categories. + + + An action category. + + + The controllers category. + + + The filters category. + + + The formatting category. + + + The message handlers category. + + + The model binding category. + + + The request category. + + + The routing category. + + + Specifies the kind of tracing operation. + + + Single trace, not part of a Begin/End trace pair. + + + Trace marking the beginning of some operation. + + + Trace marking the end of some operation. + + + Specifies an enumeration of tracing level. + + + Tracing is disabled. + + + Trace level for debugging traces. + + + Trace level for informational traces. + + + Trace level for warning traces. + + + Trace level for error traces. + + + Trace level for fatal traces. + + + Represents a trace record. + + + Initializes a new instance of the class. + The message request. + The trace category. + The trace level. + + + Gets or sets the tracing category. + The tracing category. + + + Gets or sets the exception. + The exception. + + + Gets or sets the kind of trace. + The kind of trace. + + + Gets or sets the tracing level. + The tracing level. + + + Gets or sets the message. + The message. + + + Gets or sets the logical operation name being performed. + The logical operation name being performed. + + + Gets or sets the logical name of the object performing the operation. + The logical name of the object performing the operation. + + + Gets the optional user-defined properties. + The optional user-defined properties. + + + Gets the from the record. + The from the record. + + + Gets the correlation ID from the . + The correlation ID from the . + + + Gets or sets the associated with the . + The associated with the . + + + Gets the of this trace (via ). + The of this trace (via ). + + + Represents a class used to recursively validate an object. + + + Initializes a new instance of the class. + + + Determines whether the model is valid and adds any validation errors to the actionContext's . + True if model is valid, false otherwise. + The model to be validated. + The to use for validation. + The used to provide the model metadata. + The within which the model is being validated. + The to append to the key for any validation errors. + + + Represents an interface for the validation of the models + + + Determines whether the model is valid and adds any validation errors to the actionContext's + trueif model is valid, false otherwise. + The model to be validated. + The to use for validation. + The used to provide the model metadata. + The within which the model is being validated. + The to append to the key for any validation errors. + + + This logs formatter errors to the provided . + + + Initializes a new instance of the class. + The model state. + The prefix. + + + Logs the specified model error. + The error path. + The error message. + + + Logs the specified model error. + The error path. + The error message. + + + Provides data for the event. - Initializes a new instance of the class. + The action context. + The parent node. - Gets or sets {insert text here}. + Gets or sets the context for an action. + The context for an action. - Gets or sets {insert text here}. + Gets or sets the parent of this node. + The parent of this node. + + + Provides data for the event. - Initializes a new instance of the class. + The action context. + The parent node. - Gets or sets {insert text here}. + Gets or sets the context for an action. + The context for an action. - Gets or sets {insert text here}. + Gets or sets the parent of this node. + The parent of this node. + + + Provides a container for model validation information. - - Initializes a new instance of the class. + Initializes a new instance of the class, using the model metadata and state key. + The model metadata. + The model state key. - Initializes a new instance of the class. + Initializes a new instance of the class, using the model metadata, the model state key, and child model-validation nodes. + The model metadata. + The model state key. + The model child nodes. - Gets or sets {insert text here}. + Gets or sets the child nodes. + The child nodes. + + + Combines the current instance with a specified instance. + The model validation node to combine with the current instance. - - Gets or sets {insert text here}. + Gets or sets the model metadata. + The model metadata. - Gets or sets {insert text here}. + Gets or sets the model state key. + The model state key. - Gets or sets {insert text here}. + Gets or sets a value that indicates whether validation should be suppressed. + true if validation should be suppressed; otherwise, false. + + + Validates the model using the specified execution context. + The action context. + + + Validates the model using the specified execution context and parent node. + The action context. + The parent node. - - - Gets or sets {insert text here}. + Gets or sets a value that indicates whether all properties of the model should be validated. + true if all properties of the model should be validated, or false if validation should be skipped. + + + Occurs when the model has been validated. + + + Occurs when the model is being validated. + + + Represents the selection of required members by checking for any required ModelValidators associated with the member. + + + Initializes a new instance of the class. + The metadata provider. + The validator providers. + + + Indicates whether the member is required for validation. + true if the member is required for validation; otherwise, false. + The member. + + + Provides a container for a validation result. - - - Initializes a new instance of the class. - Gets or sets {insert text here}. + Gets or sets the name of the member. + The name of the member. - Gets or sets {insert text here}. + Gets or sets the validation result message. + The validation result message. - - + + Provides a base class for implementing validation logic. + + Initializes a new instance of the class. + The validator providers. - - Gets or sets {insert text here}. + + Returns a composite model validator for the model. + A composite model validator for the model. + An enumeration of validator providers. - - - Gets {insert text here}. + Gets a value that indicates whether a model property is required. + true if the model property is required; otherwise, false. - - Gets or sets {insert text here}. + + Validates a specified object. + A list of validation results. + The metadata. + The container. + + + Gets or sets an enumeration of validator providers. + An enumeration of validator providers. + + + Provides a list of validators for a model. - - Initializes a new instance of the class. - - - - Initializes a new instance of the class. + + Gets a list of validators associated with this . + The list of validators. + The metadata. + The validator providers. - - - Initializes a new instance of the class. + + Provides an abstract class for classes that implement a validation provider. - - - Initializes a new instance of the class. - - - - Initializes a new instance of the class. - - Initializes a new instance of the class. - - - - - - Initializes a new instance of the class. + + Gets a type descriptor for the specified type. + A type descriptor for the specified type. + The type of the validation provider. - - - Gets or sets {insert text here}. + + Gets the validators for the model using the metadata and validator providers. + The validators for the model. + The metadata. + An enumeration of validator providers. + + + Gets the validators for the model using the metadata, the validator providers, and a list of attributes. + The validators for the model. + The metadata. + An enumeration of validator providers. + The list of attributes. + + + Represents the method that creates a instance. - - An implementation of which providers validators for attributes which derive from . It also provides a validator for types which implement . To support client side validation, you can either register adapters through the static methods on this class, or by having your validation attributes implement . The logic to support IClientValidatable is implemented in . + Represents an implementation of which providers validators for attributes which derive from . It also provides a validator for types which implement . To support client side validation, you can either register adapters through the static methods on this class, or by having your validation attributes implement . The logic to support IClientValidatable is implemented in . Initializes a new instance of the class. - - Gets or sets {insert text here}. + + Gets the validators for the model using the specified metadata, validator provider and attributes. + The validators for the model. + The metadata. + The validator providers. + The attributes. + + + Registers an adapter to provide client-side validation. + The type of the validation attribute. + The type of the adapter. + + + Registers an adapter factory for the validation provider. + The type of the attribute. + The factory that will be used to create the object for the specified attribute. + + + Registers the default adapter. + The type of the adapter. + + + Registers the default adapter factory. + The factory that will be used to create the object for the default adapter. - - - - - - Registers the default adapter type for objects which implement . The adapter type must derive from and it must contain a public constructor which takes two parameters of types and . + Registers the default adapter type for objects which implement . The adapter type must derive from and it must contain a public constructor which takes two parameters of types and . + The type of the adapter. - Registers the default adapter factory for objects which implement . + Registers the default adapter factory for objects which implement . + The factory. - Registers an adapter type for the given modelType, which must implement . The adapter type must derive from and it must contain a public constructor which takes two parameters of types and . + Registers an adapter type for the given modelType, which must implement . The adapter type must derive from and it must contain a public constructor which takes two parameters of types and . + The model type. + The type of the adapter. - Registers an adapter factory for the given modelType, which must implement . + Registers an adapter factory for the given modelType, which must implement . + The model type. + The factory. - - - + + Provides a factory for validators that are based on . + + + Represents a validator provider for data member model. + + + Initializes a new instance of the class. + + + Gets the validators for the model. + The validators for the model. + The metadata. + An enumerator of validator providers. + A list of attributes. + + + An implementation of which provides validators that throw exceptions when the model is invalid. + + + Initializes a new instance of the class. + + + Gets a list of validators associated with this . + The list of validators. + The metadata. + The validator providers. + The list of attributes. + + + Represents the provider for the required member model validator. + + + Initializes a new instance of the class. + The required member selector. + + + Gets the validator for the member model. + The validator for the member model. + The metadata. + The validator providers + + + Provides a model validator. + + Initializes a new instance of the class. + The validator providers. + The validation attribute for the model. - Gets or sets {insert text here}. + Gets or sets the validation attribute for the model validator. + The validation attribute for the model validator. - - Gets {insert text here}. - - - Gets {insert text here}. + Gets a value that indicates whether model validation is required. + true if model validation is required; otherwise, false. - - - + + Validates the model and returns the validation errors if any. + A list of validation error messages for the model, or an empty list if no errors have occurred. + The model metadata. + The container for the model. - - Initializes a new instance of the class. + + A to represent an error. This validator will always throw an exception regardless of the actual model value. - - Gets {insert text here}. + + Initializes a new instance of the class. + The list of model validator providers. + The error message for the exception. - - - Initializes a new instance of the class. + + Validates a specified object. + A list of validation results. + The metadata. + The container. - - - - Initializes a new instance of the class. + + Represents the for required members. - - - - Initializes a new instance of the class. + + Initializes a new instance of the class. + The validator providers. - - - - Initializes a new instance of the class. + + Gets or sets a value that instructs the serialization engine that the member must be presents when validating. + true if the member is required; otherwise, false. - - - + + Validates the object. + A list of validation results. + The metadata. + The container. + + + Provides an object adapter that can be validated. + + Initializes a new instance of the class. + The validation provider. - - - - - - - - - This attribute is used optionally to assign a prefix to an action parameter to be used during model binding. + + Validates the specified object. + A list of validation results. + The metadata. + The container. - - Initializes a new instance of the class. + + Represents the base class for value providers whose values come from a collection that implements the interface. - - Gets or sets the name to consider as the parameter name during model binding + + Retrieves the keys from the specified . + The keys from the specified . + The prefix. + + + Defines the methods that are required for a value provider in ASP.NET MVC. + + + Determines whether the collection contains the specified prefix. + true if the collection contains the specified prefix; otherwise, false. + The prefix to search for. + + + Retrieves a value object using the specified key. + The value object for the specified key. + The key of the value object to retrieve. This attribute is used to specify a custom . - Initializes a new instance of the class. + Initializes a new instance of the . + The type of the model binder. - - Gets or sets the type of the . + + Initializes a new instance of the . + An array of model binder types. + + + Gets the value provider factories. + A collection of value provider factories. + A configuration object. + + + Gets the types of object returned by the value provider factory. + A collection of types. + + + Represents a factory for creating value-provider objects. - Initializes a new instance of the class. - - + + Returns a value-provider object for the specified controller context. + A value-provider object. + An object that encapsulates information about the current HTTP request. + + + Represents the result of binding a value (such as from a form post or query string) to an action-method argument property, or to the argument itself. + Initializes a new instance of the class. Initializes a new instance of the class. + The raw value. + The attempted value. + The culture. - Gets or sets {insert text here}. + Gets or sets the raw value that is converted to a string for display. + The raw value that is converted to a string for display. + + + Converts the value that is encapsulated by this result to the specified type. + The converted value. + The target type. + + + Converts the value that is encapsulated by this result to the specified type by using the specified culture information. + The converted value. + The target type. + The culture to use in the conversion. - - - Gets or sets {insert text here}. + Gets or sets the culture. + The culture. - Gets or sets {insert text here}. + Gets or set the raw value that is supplied by the value provider. + The raw value that is supplied by the value provider. + + + Represents a value provider whose values come from a list of value providers that implements the interface. - Initializes a new instance of the class. Initializes a new instance of the class. + The list of value providers. + + + Determines whether the collection contains the specified . + true if the collection contains the specified ; otherwise, false. + The prefix to search for. + + + Retrieves the keys from the specified . + The keys from the specified . + The prefix from which keys are retrieved. + + + Retrieves a value object using the specified . + The value object for the specified . + The key of the value object to retrieve. + + + Inserts an element into the collection at the specified index. + The zero-based index at which should be inserted. + The object to insert. + + + Replaces the element at the specified index. + The zero-based index of the element to replace. + The new value for the element at the specified index. + + + Represents a factory for creating a list of value-provider objects. - - - - - - Initializes a new instance of the class. + The collection of value-provider factories. - - - This class provides a facade over a instance. + + Retrieves a list of value-provider objects for the specified controller context. + The list of value-provider objects for the specified controller context. + An object that encapsulates information about the current HTTP request. - - Creates a new instance of the class. - The inner to use. It may be null. - The culture to use. It cannot be null. + + A value provider for name/value pairs. - - - - - - Initializes a new instance of the class. + + Initializes a new instance of the class. + The name/value pairs for the provider. + The culture used for the name/value pairs. - - - - Initializes a new instance of the class. + + Initializes a new instance of the class, using a function delegate to provide the name/value pairs. + A function delegate that returns a collection of name/value pairs. + The culture used for the name/value pairs. - - Initializes a new instance of the class. + + Determines whether the collection contains the specified prefix. + true if the collection contains the specified prefix; otherwise, false. + The prefix to search for. + + + Gets the keys from a prefix. + The keys. + The prefix. + + + Retrieves a value object using the specified key. + The value object for the specified key. + The key of the value object to retrieve. + + + Represents a value provider for query strings that are contained in a object. - - - - Initializes a new instance of the class. + An object that encapsulates information about the current HTTP request. + An object that contains information about the target culture. + + + Represents a class that is responsible for creating a new instance of a query-string value-provider object. - Initializes a new instance of the class. - - + + Retrieves a value-provider object for the specified controller context. + A query-string value-provider object. + An object that encapsulates information about the current HTTP request. + + + Represents a value provider for route data that is contained in an object that implements the IDictionary(Of TKey, TValue) interface. + Initializes a new instance of the class. + An object that contain information about the HTTP request. + An object that contains information about the target culture. + + + Represents a factory for creating route-data value provider objects. - Initializes a new instance of the class. - + + Retrieves a value-provider object for the specified controller context. + A value-provider object. + An object that encapsulates information about the current HTTP request. + \ No newline at end of file diff --git a/src/Orchard.Web/Orchard.Web.csproj b/src/Orchard.Web/Orchard.Web.csproj index fd6c4d428..7fd33dc1a 100644 --- a/src/Orchard.Web/Orchard.Web.csproj +++ b/src/Orchard.Web/Orchard.Web.csproj @@ -120,7 +120,9 @@ Global.asax - + + Designer + Designer diff --git a/src/Orchard.Web/Web.config b/src/Orchard.Web/Web.config index b1ed865af..987dc6405 100644 --- a/src/Orchard.Web/Web.config +++ b/src/Orchard.Web/Web.config @@ -142,6 +142,15 @@ + + + + + + + + +