diff --git a/lib/aspnetmvc/Microsoft.Web.Infrastructure.dll b/lib/aspnetmvc/Microsoft.Web.Infrastructure.dll index 79533c52a..1e1362bec 100644 Binary files a/lib/aspnetmvc/Microsoft.Web.Infrastructure.dll and b/lib/aspnetmvc/Microsoft.Web.Infrastructure.dll differ diff --git a/lib/aspnetmvc/System.Web.Helpers.dll b/lib/aspnetmvc/System.Web.Helpers.dll index 88907c0e5..28801c3ef 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.Mvc.dll b/lib/aspnetmvc/System.Web.Mvc.dll index c6225df76..371bdd857 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 179908e6f..8fd968c3c 100644 --- a/lib/aspnetmvc/System.Web.Mvc.xml +++ b/lib/aspnetmvc/System.Web.Mvc.xml @@ -77,11 +77,15 @@ Determines whether one or more instances of the specified attribute type are defined for this member. - true if the is defined for this member; otherwise, false. + true if is defined for this member; otherwise, false. The type of the custom attribute. true to look up the hierarchy chain for the inherited custom attribute; otherwise, false. The parameter is null. + + Gets the unique ID for the action descriptor using lazy initialization. + The unique ID. + Provides the context for the ActionExecuted method of the class. @@ -222,6 +226,14 @@ true if an action method was successfully selected; otherwise, false. The current HTTP request context. + + Implements the interface to support additional metadata. + + + + + + Represents support for rendering HTML in AJAX scenarios within a view. @@ -285,12 +297,7 @@ Represents a class that extends the class by adding the ability to determine whether an HTTP request is an AJAX request. - - Determines whether the specified HTTP request is an AJAX request. - true if the specified HTTP request is an AJAX request; otherwise, false. - The HTTP request. - The parameter is null (Nothing in Visual Basic). - + Provides a way to register one or more areas in an ASP.NET MVC application. @@ -298,14 +305,14 @@ Initializes a new instance of the class. - Gets the name of the area to be registered. - The name of the area to be registered. + Gets the name of the area to register. + The name of the area to register. Registers all areas in an ASP.NET MVC application. - Registers all areas in an ASP.NET MVC application by using the specified user-defined state information. + Registers all areas in an ASP.NET MVC application by using the specified user-defined information. An object that contains user-defined information to pass to the area. @@ -399,7 +406,7 @@ 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. @@ -421,25 +428,18 @@ 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. + Returns . The model accessor. The type of the container. - The property descriptor. + The property descriptor - - Returns 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. + Returns . The model accessor. - The type of the container. + The type of the model. Returns the type descriptor from the specified type. @@ -561,8 +561,8 @@ Initializes a new instance of the class. - Determines whether access to the core framework is authorized. - true if access is authorized; otherwise, false. + When overridden, provides an entry point for custom authorization checks. + true if the user is authorized; otherwise, false. The HTTP context, which encapsulates all HTTP-specific information about an individual HTTP request. The parameter is null. @@ -616,6 +616,59 @@ Gets or sets the prefix to use when markup is rendered for binding to an action argument or to a model property. The prefix to use. + + Represents the base class for views that are compiled by the BuildManager class before being rendered by a view engine. + + + Initializes a new instance of the class using the specified controller context and view path. + The controller context. + The view path. + + + Initializes a new instance of the class using the specified controller context, view path, and view page activator. + Context information for the current controller. This information includes the HTTP context, request context, route data, parent action view context, and more. + The path to the view that will be rendered. + The object responsible for dynamically constructing the view page at run time. + The parameter is null. + The parameter is null or empty. + + + Renders the specified view context by using the specified the writer object. + Information related to rendering a view, such as view data, temporary data, and form context. + The writer object. + The parameter is null. + An instance of the view type could not be created. + + + When overridden in a derived class, renders the specified view context by using the specified writer object and object instance. + Information related to rendering a view, such as view data, temporary data, and form context. + The writer object. + An object that contains additional information that can be used in the view. + + + Gets or sets the view path. + The view path. + + + Provides a base class for view engines. + + + Initializes a new instance of the class. + + + Initializes a new instance of the class using the specified view page activator. + The view page activator. + + + Gets a value that indicates whether a file exists in the specified virtual file system (path). + true if the file exists in the virtual file system; otherwise, false. + The controller context. + The virtual path. + + + Gets the view page activator. + The view page activator. + Maps a browser request to a byte array. @@ -651,6 +704,33 @@ The metadata. The context. + + Provides an attribute that compares two properties of a model. + + + Initializes a new instance of the class. + The property to compare with the current property. + + + Applies formatting to an error message based on the data field where the compare error occurred. + The formatted error message. + The name of the field that caused the validation failure. + + + Formats the property for client validation by prepending an asterisk (*) and a dot. + The string "*." is prepended to the property. + The property. + + + Gets a list of compare-value client validation rules for the property using the specified model metadata and controller context. + A list of compare-value client validation rules. + The model metadata. + The controller context. + + + Gets the property to compare with the current property. + The property to compare with the current property. + Represents a user-defined content type that is the result of an action method. @@ -771,6 +851,12 @@ Gets HTTP-specific information about an individual HTTP request. The HTTP context. + + + Returns an instance of the class. + An instance of the class. + The status description. + Initializes data that might not be available when the constructor is called. The HTTP context and route data. @@ -782,7 +868,7 @@ Creates a object that serializes the specified object to JavaScript Object Notation (JSON). - The JSON result object that serializes the specified object to JSON format. The result object that is prepared by this method is written to the response by the MVC framework when the object is executed. + The JSON result object that serializes the specified object to JSON format. The result object that is prepared by this method is written to the response by the ASP.NET MVC framework when the object is executed. The JavaScript object graph to serialize. @@ -872,6 +958,11 @@ The redirect result object. The URL to redirect to. + + Returns an instance of the class with the property set to true. + An instance of the class with the property set to true. + The URL to redirect to. + Redirects to the specified action using the action name. The redirect result object. @@ -909,6 +1000,18 @@ The name of the action. The parameters for a route. + + + + + Returns an instance of the class with the property set to true using the specified action name, controller name, and route values. + An instance of the class with the property set to true. + The action name. + The controller name. + The route values. + + + Redirects to the specified route using the specified route values. The redirect-to-route result object. @@ -936,6 +1039,16 @@ The redirect-to-route result object. The parameters for a route. + + + + Returns an instance of the class with the property set to true using the specified route name and route values. + An instance of the class with the property set to true. + The route name. + The route values. + + + Gets the object for the current HTTP request. The request object. @@ -957,27 +1070,27 @@ The HTTP session-state object for the current HTTP request. - This API supports the MVC infrastructure and is not intended to be used directly from your code. This method calls the method. + 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. - This API supports the MVC infrastructure and is not intended to be used directly from your code. This method calls the method. + 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. - This API supports the MVC infrastructure and is not intended to be used directly from your code. This method calls the method. + 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. - This API supports the MVC infrastructure and is not intended to be used directly from your code. This method calls the method. + 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. - This API supports the MVC infrastructure and is not intended to be used directly from your code. This method calls the method. + 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. - This API supports the MVC infrastructure and is not intended to be used directly from your code. This method calls the method. + 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. @@ -1350,6 +1463,10 @@ Gets or sets the dictionary for view data. The dictionary for the view data. + + Gets the dynamic view data dictionary. + The dynamic view data dictionary. + Represents a class that is responsible for dynamically building a controller. @@ -1474,6 +1591,33 @@ true to look up the hierarchy chain for the inherited custom attribute; otherwise, false. The parameter is null (Nothing in Visual Basic). + + When implemented in a derived class, gets the unique ID for the controller descriptor using lazy initialization. + The unique ID. + + + Adds the controller to the instance. + + + Initializes a new instance of the class. + + + Returns the collection of controller instance filters. + The collection of controller instance filters. + The controller context. + The action descriptor. + + + Specifies the session state of the controller. + + + Initializes a new instance of the class. + The type of the session state. + + + Gets the session state behavior for the controller. + The session state behavior for the controller. + Represents an attribute that invokes a custom model binder. @@ -1487,15 +1631,7 @@ 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. @@ -1506,15 +1642,7 @@ 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. @@ -1535,6 +1663,10 @@ Gets the error message for the validation failure. The error message for the validation failure. + + Retrieves a collection of client validation rules. + A collection of client validation rules. + Gets a value that indicates whether model validation is required. true if model validation is required; otherwise, false. @@ -1559,7 +1691,7 @@ The validation attribute from the model validator. - Implements the default validation provider for MVC. + Implements the default validation provider for ASP.NET MVC. Initializes a new instance of the class. @@ -1593,6 +1725,27 @@ Registers the default adapter factory. The factory that will be used to create the object for the default adapter. + + Registers an adapter to provide default object validation. + The type of the adapter. + + + Registers an adapter factory for the default object validation provider. + The factory. + + + Registers an adapter to provide object validation. + The type of the model. + The type of the adapter. + + + Registers an adapter factory for the object validation provider. + The type of the model. + The factory. + + + Provides a factory for validators that are based on . + Provides a container for the error-information model validator. @@ -1611,9 +1764,13 @@ Initializes a new instance of the class. + + Initializes a new instance of the class using a controller activator. + An object that implements the controller activator interface. + Creates the specified controller by using the specified request context. - A reference to the controller. + The controller. The context of the HTTP request, which includes the HTTP context and route data. The name of the controller. The parameter is null. @@ -1630,6 +1787,12 @@ cannot be assigned. An instance of cannot be created. + + Returns the controller's session behavior. + The controller's session behavior. + The request context. + The type of the controller. + Retrieves the controller type for the specified name and request context. The controller type. @@ -1640,6 +1803,12 @@ Releases the specified controller. The controller to release. + + 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 controller's session behavior. + The request context. + The controller name. + Maps a browser request to a data object. This class provides a concrete implementation of a model binder. @@ -1789,6 +1958,61 @@ Gets or sets the cache time span. The cache time span. + + Provides a registration point for dependency resolvers that implement or the Common Service Locator IServiceLocator interface. + + + Initializes a new instance of the class. + + + Gets the implementation of the dependency resolver. + 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 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. + + + 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. + + + Provides a registration point for dependency resolvers, using the specified dependency resolver interface. + The dependency resolver. + + + Provides a type-safe implementation of and . + + + Resolves singly registered services that support arbitrary object creation. + The requested service or object. + The dependency resolver instance that this method extends. + The type of the requested service or object. + + + Resolves multiply registered services. + The requested services. + The dependency resolver instance that this method extends. + The type of the requested services. + Represents the base class for value providers whose values come from a collection that implements the interface. The type of the value. @@ -1817,9 +2041,9 @@ Initializes a new instance of the class. - + Creates a new instance of the class. - An empty instance of the model metadata. + Returns . The attributes. The type of the container. The model accessor. @@ -1914,7 +2138,7 @@ Initializes a new instance of the class by using the specified file contents and content type. The byte array to send to the response. The content type to use for the response. - The parameter is null (Nothing in Visual Basic). + The parameter is null. The binary content to send to the response. @@ -1973,7 +2197,7 @@ Initializes a new instance of the class. The stream to send to the response. The content type to use for the response. - The parameter is null (Nothing in Visual Basic). + The parameter is null. Gets the stream that will be sent to the response. @@ -1983,25 +2207,81 @@ Writes the file to the response. The response. + + Represents a metadata class that contains a reference to the implementation of one or more of the filter interfaces, the filter's order, and the filter's scope. + + + Initializes a new instance of the class. + The instance. + The scope. + The order. + + + Represents a constant that is used to specify the default ordering of filters. + + + Gets the instance of this class. + The instance of this class. + + + Gets the order in which the filter is applied. + The order in which the filter is applied. + + + Gets the scope ordering of the filter. + The scope ordering of the filter. + Represents the base class for action-filter attributes. Initializes a new instance of the class. + + Gets or sets a value that indicates whether more than one instance of the filter attribute can be specified. + true if more than one instance of the filter attribute can be specified; otherwise, false. + Gets or sets the order in which the action filters are executed. The order in which the action filters are executed. + + Defines a filter provider for filter attributes. + + + Initializes a new instance of the class. + + + Gets a collection of custom action attributes. + A collection of custom action attributes. + The controller context. + The action descriptor. + + + Gets a collection of controller attributes. + A collection of controller attributes. + The controller context. + The action descriptor. + + + Aggregates the filters from all of the filter providers into one collection. + The collection filters from all of the filter providers. + The controller context. + The action descriptor. + Encapsulates information about the available action filters. Initializes a new instance of the class. + + Initializes a new instance of the class using the specified filters collection. + The filters collection. + Gets all the action filters in the application. - All action filters. + The action filters. Gets all the authorization filters in the application. @@ -2015,6 +2295,47 @@ Gets all the result filters in the application. The result filters. + + Represents the collection of filter providers for the application. + + + Initializes a new instance of the class. + + + Initializes a new instance of the class using the filter providers collection. + The filter providers collection. + + + Returns the collection of filter providers. + The collection of filter providers. + The controller context. + The action descriptor. + + + Provides a registration point for filters. + + + Provides a registration point for filters. + The collection of filters. + + + Defines values that specify the order in which ASP.NET MVC filters run within the same filter type and filter order. + + + Specifies first. + + + Specifies an order before and after . + + + Specifies an order before and after . + + + Specifies an order before and after . + + + Specifies last. + Contains the form value providers for the application. @@ -2061,22 +2382,32 @@ The form identifier. - Retrieves a serialized object that contains the form identifier and field-validation values for the form. + Returns a serialized object that contains the form identifier and field-validation values for the form. A serialized object that contains the form identifier and field-validation values for the form. - Retrieves the validation value for the specified input field. + Returns the validation value for the specified input field. The value to validate the field input with. The name of the field to retrieve the validation value for. The parameter is either null or empty. - Retrieves the validation value for the specified input field and a value that indicates what to do if the validation value is not found. + Returns the validation value for the specified input field and a value that indicates what to do if the validation value is not found. The value to validate the field input with. The name of the field to retrieve the validation value for. true to create a validation value if one is not found; otherwise, false. The parameter is either null or empty. + + Returns a value that indicates whether the specified field has been rendered in the form. + true if the field has been rendered; otherwise, false. + The field name. + + + Sets a value that indicates whether the specified field has been rendered in the form. + The field name. + true to specify that the field has been rendered in the form; otherwise, false. + Determines whether client validation errors should be dynamically added to the validation summary. true if client validation errors should be added to the validation summary; otherwise, false. @@ -2113,6 +2444,58 @@ An object that encapsulates information about the current HTTP request. The parameter is null. + + Represents a class that contains all the global filters. + + + Initializes a new instance of the class. + + + Adds the specified filter to the global filter collection. + The filter. + + + Adds the specified filter to the global filter collection using the specified filter run order. + The filter. + The filter run order. + + + Removes all filters from the global filter collection. + + + Determines whether a filter is in the global filter collection. + true if is found in the global filter collection; otherwise, false. + The filter. + + + Gets the number of filters in the global filter collection. + The number of filters in the global filter collection. + + + Returns an enumerator that iterates through the global filter collection. + An enumerator that iterates through the global filter collection. + + + Removes all the filters that match the specified filter. + The filter to remove. + + + This API supports the ASP.NET MVC infrastructure and is not intended to be used directly from your code. + An enumerator that iterates through the global filter collection. + + + This API supports the ASP.NET MVC infrastructure and is not intended to be used directly from your code. + An enumerator that iterates through the global filter collection. + The controller context. + The action descriptor. + + + Represents the global filter collection. + + + Gets or sets the global filter collection. + The global filter collection. + Represents an attribute that is used to handle an exception that is thrown by an action method. @@ -2189,6 +2572,11 @@ The route collection. One or more parameters is null. + + Replaces underscore characters with the dash character for compliance with HTML5. + The HTML attributes with underscore characters replaced by dash characters. + The HTML attributes. + Generates a hidden form field (anti-forgery token) that is validated when the form is submitted. The generated form field (anti-forgery token). @@ -2215,9 +2603,22 @@ The HTML-encoded string. If the value parameter is null or empty, this method returns an empty string. The string to encode. + + Gets or sets client validation. + true if enable client validation is enabled; otherwise, false. + Enables input validation that is performed by using client script in the browser. + + true to enable client validation; otherwise, false. + + + Enables unobtrusive JavaScript. + + + true to enable unobtrusive JavaScript; otherwise, false. + Converts the value of the specified object to an HTML-encoded string. The HTML-encoded string. @@ -2301,6 +2702,17 @@ The input type string ("checkbox", "hidden", "password", "radio", or "text"). The enumerated input type. + + Gets the collection of unobtrusive JavaScript validation attributes using the specified HTML name attribute. + The collection of unobtrusive JavaScript validation attributes. + The HTML name attribute. + + + Gets the collection of unobtrusive JavaScript validation attributes using the specified HTML name attribute and model metadata. + The collection of unobtrusive JavaScript validation attributes. + The HTML name attribute. + The model metadata. + Returns a hidden input element that identifies the override method for the specified HTTP data-transfer method that was used by the client. The override method that uses the HTTP data-transfer method that was used by the client. @@ -2321,6 +2733,10 @@ Gets or sets the collection of routes for the application. The collection of routes for the application. + + Gets or sets unobtrusive JavaScript. + true if unobtrusive JavaScript is enabled; otherwise, false. + The name of the CSS class that is used to style an input field when a validation error occurs. @@ -2428,6 +2844,16 @@ 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. + + Defines an object that is used to indicate that the requested resource was not found. + + + Initializes a new instance of the class. + + + 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 POST requests. @@ -2475,16 +2901,39 @@ The parameter is null. The HTTP data-transfer method override was not implemented. + + Provides a way to return an action result with a specific HTTP response status code and 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. + + + Gets the HTTP status code. + The HTTP status code. + + + Gets the HTTP status description. + the HTTP status description. + Represents the result of an unauthorized HTTP request. Initializes a new instance of the class. - - Enables processing of the result of an action method by a custom type that inherits from the class. - The context within which the result is executed. - The parameter is null. + + Initializes a new instance of the class using the status description. + The status description. Enumerates the HTTP verbs. @@ -2531,6 +2980,15 @@ Called when authorization is required. The filter context. + + Provides a way for the ASP.NET MVC validation framework to discover at run time whether a validator has support for client validation. + + + When implemented in a class, returns client validation rules for that class. + The client validation rules for this validator. + The model metadata. + The controller context. + Defines the methods that are required for a controller. @@ -2538,8 +2996,17 @@ Executes the specified request context. The request context. + + Provides fine-grained control over how controllers are instantiated using dependency injection. + + + When implemented in a class, creates a controller. + The created controller. + The request context. + The controller type. + - Defines the methods that are required for a controller factory. + Defines the methods that are required for a controller factory. Creates the specified controller by using the specified request context. @@ -2547,10 +3014,29 @@ The request context. The name of the controller. + + Gets the controller's session behavior. + The controller's session behavior. + The request context. + The name of the controller whose session behavior you want to get. + Releases the specified controller. The controller. + + Defines the methods that simplify service location and dependency resolution. + + + Resolves singly registered services that support arbitrary object creation. + The requested service or object. + The type of the requested service or object. + + + Resolves multiply registered services. + The requested services. + The type of the requested services. + Defines the methods that are required for an exception filter. @@ -2558,6 +3044,22 @@ Called when an exception occurs. The filter context. + + Provides an interface for finding filters. + + + Returns an enumerator that contains all the instances in the service locator. + The enumerator that contains all the instances in the service locator. + The controller context. + The action descriptor. + + + Provides an interface for exposing attributes to the class. + + + When implemented in a class, provides metadata to the model metadata creation process. + The model metadata. + Defines the methods that are required for a model binder. @@ -2567,6 +3069,25 @@ The controller context. The binding context. + + Defines methods that enable dynamic implementations of model binding for classes that implement the interface. + + + Returns the model binder for the specified type. + The model binder for the specified type. + The type of the model. + + + Defines members that specify the order of filters and whether multiple filters are allowed. + + + When implemented in a class, gets or sets a value that indicates whether multiple filters are allowed. + true if multiple filters are allowed; otherwise, false. + + + When implemented in a class, gets the filter order. + The filter order. + Enumerates the types of input controls. @@ -2616,6 +3137,15 @@ The controller context. The values. + + Represents an interface that can skip request validation. + + + Retrieves the value of the object that is associated with the specified key. + The value of the object for the specified key. + The key. + true if validation should be skipped; otherwise, false. + Defines the methods that are required for a value provider in ASP.NET MVC. @@ -2682,6 +3212,14 @@ The cache key. The virtual path. + + Provides fine-grained control over how view pages are instantiated using dependency injection. + + + The created view page. + The controller context. + The type of the controller. + Sends JavaScript content to the response. @@ -2733,6 +3271,17 @@ 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. + + Enables action methods to send and receive JSON-formatted text and to model-bind the JSON text to parameters of action methods. + + + Initializes a new instance of the class. + + + Returns a JSON value-provider object for the specified controller context. + A JSON value-provider object for the specified controller context. + The controller context. + Maps a browser request to a LINQ object. @@ -2877,6 +3426,38 @@ Gets a collection that contains the values in the model binder dictionary. A collection that contains the values in the model binder dictionary. + + Provides a container for model binder providers. + + + Initializes a new instance of the class. + + + Initializes a new instance of the class using a list of model binder providers. + A list of model binder providers. + + + Returns a model binder of the specified type. + A model binder of the specified type. + The type of the model binder. + + + Inserts a model binder provider into the at the specified index. + The index. + The model binder provider. + + + Replaces the model binder provider element at the specified index. + The index. + The model binder provider. + + + Provides a container for model binder providers. + + + Provides a registration point for model binder providers for applications that do not use dependency injection. + The model binder provider collection. + Provides global access to the model binders for the application. @@ -2930,6 +3511,14 @@ Gets or sets the value provider. The value provider. + + Provides a container for an equality validation rule that is sent to the browser. + + + Initializes a new instance of the class. + The error message. + The model value used for equality comparison. + Provides a container for a range-validation rule that is sent to the browser. @@ -2947,6 +3536,16 @@ The error message to display when the regular expression validation fails. The regular expression. + + Provides a container for a remote validation rule that is sent to the browser. + + + Initializes a new instance of the class. + The error message. + The URL for the validation parameters. + The HTTP method for the validation parameters. + The validation parameter fields. + Provides a container for client validation for required field. @@ -3024,13 +3623,13 @@ 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 property. + The name of the model. Gets a dictionary that contains additional metadata about the model. @@ -3048,6 +3647,7 @@ Gets or sets meta information about the data type. Meta information about the data type. + Gets or sets the description of the model. The description of the model. The default value is null. @@ -3064,9 +3664,9 @@ Gets or sets the edit format string of the model. The edit format string of the model. - + Gets the metadata from the parameter for the model. - The metadata for the model. + Returns . An expression that identifies the model. The view data dictionary. The type of the parameter. @@ -3123,6 +3723,10 @@ Gets or sets the string to display for null values. The string to display for null values. + + Gets or sets a value that represents order of the current metadata. + Returns . + 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. @@ -3135,6 +3739,7 @@ Gets or sets the provider. The provider. + Gets or sets a short display name. The short display name. @@ -3171,18 +3776,18 @@ The container. The type of the container. - + Gets metadata for the specified property. - The metadata model for the specified property. + Returns . 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. - The metadata. + Returns . The model accessor. - They type of the model. + The type of the model. Provides a container for the current instance. @@ -3191,6 +3796,28 @@ Gets or sets the current object. The current object. + + Provides a model-aware class for ASP.NET MVC. + + + Initializes a new instance of the class. + The start of the span. + The content. + The type name of the model. + + + Gets a value that indicates whether the current object is identical to the specified object. + true if the current object is identical to the specified object; otherwise, false. + The model span object. + + + Returns the hash code of the object. + The hash code of the object. + + + Gets the type name of the model. + The type name of the model. + Encapsulates the state of model binding to a property of an action-method argument, or to the argument itself. @@ -3482,6 +4109,51 @@ Returns an enumerator can be used to iterate through a collection. An enumerator that can be used to iterate through the collection. + + Compiles ASP.NET Razor views into classes. + + + Initializes a new instance of the class. + The class name. + The root namespace. + The name of the source file. + The ASP.NET Razor engine host. + + + Returns a value that indicates whether the specified model span is an instance of . + true if the value of the parameter is an instance of ; otherwise, false. + The model span. + + + Extends the CSharpCodeParser class by adding support for the @model keyword. + + + Initializes a new instance of the class. + + + Determines whether the current code block and model should be inherited using the specified code block. + true if the code block and model is inherited; otherwise, false. + The code block information. + + + When implemented in a derived class, provides a metadata class that contains a reference to the implementation of one or more of the filter interfaces, the filter's order, and the filter's scope. + + + Initializes a new instance of the class. + + + Initializes a new instance of the class and specifies the order of filters and whether multiple filters are allowed. + true to specify that multiple filters of the same type are allowed; otherwise, false. + The filter order. + + + Gets a value that indicates whether more than one instance of the filter attribute can be specified. + true if more than one instance of the filter attribute is allowed; otherwise, false. + + + Gets a value that indicates the order in which a filter is applied. + A value that indicates the order in which a filter is applied. + Selects the controller that will handle an HTTP request. @@ -3574,14 +4246,6 @@ true if the string is null or empty; otherwise, false. The string. - - Returns an HTML-encoded string that represents the current object. - An HTML-encoded string that represents the current object. - - - Returns a string that represents the current object. - A string that represents the current object. - Verifies and processes an HTTP request. @@ -3623,21 +4287,64 @@ The HTTP context. - Creates an object that implements the IHttpHandler interface and gives it the request context. + Creates an object that implements the IHttpHandler interface and passes the request context to it. Initializes a new instance of the class. + + Initializes a new instance of the class using the specified factory controller object. + The controller factory. + - Retrieves the HTTP handler by using the specified HTTP context. + Returns the HTTP handler by using the specified HTTP context. The HTTP handler. The request context. + + Returns the session behavior. + The session behavior. + The request context. + - Retrieves the HTTP handler by using the specified request context. + Returns the HTTP handler by using the specified request context. The HTTP handler. The request context. + + Compiles ASP.NET Razor views into classes. + + + + + Extends the VBCodeParser class by adding support for the @model keyword. + + + Initializes a new instance of the class. + + + + Configures the ASP.NET Razor parser and code generator for a specified file. + + + Initializes a new instance of the class. + The virtual path of the ASP.NET Razor file. + The physical path of the ASP.NET Razor file. + + + + + Creates instances of files. + + + Initializes a new instance of the class. + + + Creates a Razor host. + A Razor host. + The virtual path to the target file. + The physical path to the target file. + Extends a NameValueCollection object so that the collection can be copied to a specified dictionary. @@ -3655,6 +4362,12 @@ Represents the base class for value providers whose values come from a object. + + Initializes a new instance of the class using the specified unvalidated collection. + A collection that contains the values that are used to initialize the provider. + A collection that contains the values that are used to initialize the provider. This collection will not be validated. + An object that contains information about the target culture. + Initializes a new instance of the class. A collection that contains the values that are used to initialize the provider. @@ -3673,6 +4386,12 @@ The key of the value object to retrieve. The parameter is null. + + Returns a value object using the specified key and validation directive. + The value object for the specified key. + The key. + true if validation should be skipped; otherwise, false. + Provides a convenience wrapper for the attribute. @@ -3701,10 +4420,19 @@ Gets or sets the cache profile name. The cache profile name. + + Gets or sets the child action cache. + The child action cache. + - Gets or sets the cache duration. + Gets or sets the cache duration, in seconds. The cache duration. + + Returns a value that indicates whether a child action cache is active. + true if the child action cache is active; otherwise, false. + The controller context. + Gets or sets the location. The location. @@ -3713,6 +4441,22 @@ Gets or sets a value that indicates whether to store the cache. true if the cache should be stored; otherwise, false. + + This method is an implementation of and supports the ASP.NET MVC infrastructure. It is not intended to be used directly from your code. + The filter context. + + + This method is an implementation of and supports the ASP.NET MVC infrastructure. It is not intended to be used directly from your code. + The filter context. + + + This method is an implementation of and supports the ASP.NET MVC infrastructure. It is not intended to be used directly from your code. + The filter context. + + + This method is an implementation of and supports the ASP.NET MVC infrastructure. It is not intended to be used directly from your code. + The filter context. + Called before the action result executes. The filter context, which encapsulates information for using . @@ -3821,6 +4565,12 @@ The controller context. An error occurred while the method was attempting to find the view. + + Provides a registration point for ASP.NET Razor pre-application start code. + + + Registers Razor pre-application start code. + Represents a value provider for query strings that are contained in a object. @@ -3853,6 +4603,64 @@ Gets a list of client validation rules for a range check. A list of client validation rules for a range check. + + Represents the class used to create views that have Razor syntax. + + + Initializes a new instance of the class. + The controller context. + The view path. + The layout or master page. + A value that indicates whether view start files should be executed before the view. + The set of extensions that will be used when looking up view start files. + + + Initializes a new instance of the class using the view page activator. + The controller context. + The view path. + The layout or master page. + A value that indicates whether view start files should be executed before the view. + The set of extensions that will be used when looking up view start files. + The view page activator. + + + Gets the layout or master page. + The layout or master page. + + + Renders the specified view context by using the specified writer and instance. + The view context. + The writer that is used to render the view to the response. + The instance. + + + Gets a value that indicates whether view start files should be executed before the view. + A value that indicates whether view start files should be executed before the view. + + + Gets or sets the set of file extensions that will be used when looking up view start files. + The set of file extensions that will be used when looking up view start files. + + + Represents a view engine that is used to render a Web page that uses the ASP.NET Razor syntax. + + + Initializes a new instance of the class. + + + + Creates a partial view using the specified controller context and partial path. + The partial view. + The controller context. + The path to the partial view. + + + Creates a view by using the specified controller context and the paths of the view and master view. + The view. + The controller context. + The path to the view. + The path to the master view. + Controls the processing of application actions by redirecting to a specified URI. @@ -3861,11 +4669,20 @@ The target URL. The parameter is null. + + Initializes a new instance of the class using the specified URL and permanent-redirection flag. + The URL. + A value that indicates whether the redirection should be permanent. + Enables processing of the result of an action method by a custom type that inherits from the class. The context within which the result is executed. The parameter is null. + + Gets a value that indicates whether the redirection should be permanent. + true if the redirection should be permanent; otherwise, false. + Gets or sets the target URL. The target URL. @@ -3878,6 +4695,12 @@ The name of the route. The route values. + + Initializes a new instance of the class by using the specified route name, route values, and permanent-redirection flag. + The name of the route. + The route values. + A value that indicates whether the redirection should be permanent. + Initializes a new instance of the class by using the specified route values. The route values. @@ -3887,6 +4710,10 @@ The context within which the result is executed. The parameter is null. + + Gets a value that indicates whether the redirection should be permanent. + true if the redirection should be permanent; otherwise, false. + Gets or sets the name of the route. The name of the route. @@ -3936,10 +4763,6 @@ The custom attribute type cannot be loaded. There is more than one attribute of type defined for this member. - - Retrieves information about action filters. - The filter information. - Retrieves the parameters of the action method. The parameters of the action method. @@ -3958,6 +4781,10 @@ Gets or sets the action-method information. The action-method information. + + Gets the unique ID for the reflected action descriptor using lazy initialization. + The unique ID. + Contains information that describes a reflected controller. @@ -4070,6 +4897,78 @@ Gets a list of regular-expression client validation rules. A list of regular-expression client validation rules. + + Provides an attribute that uses the jQuery validation plug-in remote validator. + + + Initializes a new instance of the class. + + + Initializes a new instance of the class using the specified route name. + The route name. + + + Initializes a new instance of the class using the specified action-method name and controller name. + The name of the action method. + The name of the controller. + + + Initializes a new instance of the class using the specified action-method name, controller name, and area name. + The name of the action method. + The name of the controller. + The name of the area. + + + Gets or sets the fields that are required for validation. + The fields required for validation. + + + Formats the error message that is displayed when validation fails. + A formatted error message. + A name to display with the error message. + + + Returns a comma-delimited string of validation field names. + A comma-delimited string of validation field names. + The name of the validation property. + + + Formats the property for client validation by prepending an asterisk (*) and a dot. + The string "*." Is prepended to the property. + The property. + + + Gets a list of client validation rules for the property. + A list of remote client validation rules for the property. + The model metadata. + The controller context. + + + Gets the URL for the remote validation call. + The URL for the remote validation call. + The controller context. + + + Gets or sets the HTTP method used for remote validation. + The HTTP method used for remote validation. The default value is "Get". + + + This method always returns true. + true + The validation target. + + + Gets the route data dictionary. + The route data dictionary. + + + Gets or sets the route name. + The route name. + + + Gets the route collection from the route table. + The route collection from the route table. + Provides an adapter for the attribute. @@ -4282,7 +5181,7 @@ The selected value. - Gets or sets the selected value. + Gets the list value that was selected by the user. The selected value. @@ -4321,6 +5220,16 @@ The values. An error occurred the session context was being retrieved. + + Skips request validation for the property. + + + Initializes a new instance of the class. + + + This method supports the ASP.NET MVC validation infrastructure and is not intended to be used directly from your code. + The model metadata. + Provides an adapter for the attribute. @@ -4334,102 +5243,12 @@ Gets a list of string-length client validation rules. A list of string-length client validation rules. - - Represents a class that is used by HTML helpers to build HTML elements. - - - Initializes a new instance of the class. - The name of the tag. - - - Adds the specified CSS class to the tag-builder attributes. - The CSS class value string. - - - Gets or sets the collection of attributes for the tag. - The collection of attributes for the tag. - - - Generates the id attribute for the tag by using the specified name. - The name to use to generate the id value. - - - Gets or sets the character that is used to replace the periods (dots) in the id attribute. - The character that is used to replace periods (dots) in the id attribute. - - - Gets or sets the inner HTML for the tag (element). - The inner HTML for the tag (element). - - - Adds an attribute to the tag by using the specified key/value pair. - The key. - The value. - The parameter is null or empty. - - - Adds an attribute to the tag by using the specified key/value pair. - The key. - The value. - true to replace the existing attribute. - The parameter is null or empty. - - - Adds an attribute to the specified collection of attributes for the tag. - The attributes. - The type of the key. - The type of the value. - - - Adds an attribute to the specified collection of attributes for the tag. - The attributes. - true to replace the existing attributes. - The type of the key. - The type of the value. - - - Sets the inner text of the tag (element). - The inner text for the tag (element). - - - Gets or sets the name of the tag. - The name of the tag. - - - Returns a string that represents the current object. - A string that represents the current object. - - - Returns a string that represents the current object by using the specified tag-render mode. - A string that represents the current object. - The tag-render mode. - - - Enumerates the modes that are available for rendering HTML tags. - - - Represents normal mode. - - - Represents the start-tag mode. - - - Represents end-tag mode. - - - Represents self-closing-tag mode. - Represents a set of data that persists only from one request to the next. Initializes a new instance of the class. - - Initializes a new instance of the class. - The information. - The controller context. - Adds an element that has the specified key and value to the object. The key of the element to add. @@ -4463,12 +5282,6 @@ Gets the enumerator. The enumerator. - - Populates a class by using the data that is that is required to serialize the target object. - The object to populate with data. - The destination for this serialization. For more information, see . - The caller does not have the required permission. - Gets or sets the object that has the specified key. The object that has the specified key. @@ -4535,12 +5348,6 @@ Returns an enumerator that can be used to iterate through a collection. An object that can be used to iterate through the collection. - - Populates a object by using the data that is that is required to serialize the target object. - The object to populate with data. - The destination for this serialization. For more information, see . - The caller does not have the required permission. - Gets the value of the element that has the specified key. true if the object that implements contains an element that has the specified key; otherwise, false. @@ -4695,6 +5502,7 @@ The request context. true to include implicit MVC values; otherwise. false. + Gets information about an HTTP request that matches a defined route. The request context. @@ -4751,6 +5559,19 @@ Contains the read-only value for the optional parameter. + + Provides an object adapter that can be validated. + + + Initializes a new instance of the class. + The model metadata. + The controller context. + + + Validates the specified object. + A list of validation results. + The container. + Represents an attribute that is used to detect whether a server request has been tampered with. @@ -4790,7 +5611,7 @@ Initializes a new instance of the class and registers the specified value providers. - A list of value providers to register. + The list of value providers to register. Determines whether the collection contains the specified prefix. @@ -4799,9 +5620,15 @@ Returns a value object using the specified key. - The value object for the specified key + The value object for the specified key. The key of the value object to retrieve. + + Returns a value object using the specified key and skip-validation parameter. + The value object for the specified key. + The key of the value object to retrieve. + true to specify that validation should be skipped; otherwise, false. + Inserts the specified value-provider object into the collection at the specified index location. The zero-based index location at which to insert the value provider into the collection. @@ -5048,6 +5875,7 @@ Gets data that is associated with this request and that is available for only one request. The temporary data. + Gets an object that implements the interface to render in the browser. The view. @@ -5239,10 +6067,7 @@ Initializes a new instance of the class. - - Initializes a new instance of the 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. @@ -5359,6 +6184,7 @@ Gets the URL. The URL. + Gets the view context. The view context. @@ -5451,6 +6277,7 @@ Gets or sets the URL of the rendered page. The URL of the rendered page. + Gets or sets the information that is used to render the view. The information that is used to render the view, which includes the form context, the temporary data, and the view data of the associated view. @@ -5545,6 +6372,24 @@ Gets or sets the name of the view to render. The name of the view. + + Provides an abstract class that can be used to implement a view start (master) page. + + + When implemented in a derived class, initializes a new instance of the class. + + + When implemented in a derived class, gets the HTML markup for the view start page. + The HTML markup for the view start page. + + + When implemented in a derived class, gets the URL for the view start page. + The URL for the view start page. + + + When implemented in a derived class, gets the view context for the view start page. + The view context for the view start page. + Provides a container for objects. @@ -5613,6 +6458,7 @@ Gets the URL for the view. The URL for the view. + Gets or sets the view context. The view context. @@ -5693,6 +6539,10 @@ The controller context. The virtual path. + + Gets or sets the file-name extensions that are used to locate a view. + The file-name extensions that are used to locate a view. + Finds the specified partial view by using the specified controller context. The partial view. @@ -5738,33 +6588,35 @@ The virtual path provider. - Represents the information that is needed to build a Web Forms page in MVC. + Represents the information that is needed to build a Web Forms page in ASP.NET MVC. - - Initializes a new instance of the class by using the specified path to the view. + + Initializes a new instance of the class using the controller context and view path. + The controller context. The view path. - The parameter is null (Nothing in Visual Basic). - - Initializes a new instance of the class by using the specified paths to the view and master view. + + Initializes a new instance of the class using the controller context, view path, and the path to the master page. + The controller context. The view path. - The master path. - The parameter is null (Nothing in Visual Basic). + The path to the master page. + + + Initializes a new instance of the class using the controller context, view path, the path to the master page, and a instance. + The controller context. + The view path. + The path to the master page. + An instance of the view page activator interface. Gets or sets the master path. The master path. - - Renders the specified view context by using the specified writer for rendering the view to the response. - The view context. - The writer that is used to render the view to the response. - The parameter is null (Nothing in Visual Basic). - An error occurred while attempting to render the view. - - - Gets or sets the view path. - The view path. + + Renders the view to the response. + An object that encapsulates the information that is required in order to render the view, which includes the controller context, form context, the temporary data, and the view data for the associated view. + The text writer object that is used to write HTML output. + The view page instance. Represents a view engine that is used to render a Web Forms page to the response. @@ -5772,6 +6624,10 @@ Initializes a new instance of the class. + + Initializes a new instance of the class using the specified view page activator. + An instance of a class that implements the interface. + Creates the specified partial view by using the specified controller context. The partial view. @@ -5785,11 +6641,91 @@ The view path. The master-view path. - - Determines whether a file at the specified location exists for the specified controller context. - true if the file exists; otherwise, false. - The controller context. - The virtual path. + + Represents the properties and methods that are needed in order to render a view that uses ASP.NET Razor syntax. + + + Initializes a new instance of the class. + + + Gets or sets the object that is used to render HTML using Ajax. + The object that is used to render HTML using Ajax. + + + Sets the view context and view data for the page. + The parent page. + + + Gets the object that is associated with the page. + The object that is associated with the page. + + + Runs the page hierarchy for the ASP.NET Razor execution pipeline. + + + Gets or sets the object that is used to render HTML elements. + The object that is used to render HTML elements. + + + Initializes the , , and classes. + + + Gets the Model property of the associated object. + The Model property of the associated object. + + + Sets the view data. + The view data. + + + Gets the temporary data to pass to the view. + The temporary data to pass to the view. + + + Gets or sets the URL of the rendered page. + The URL of the rendered page. + + + Gets the view. + The view. + + + Gets or sets the information that is used to render the view. + The information that is used to render the view, which includes the form context, the temporary data, and the view data of the associated view. + + + Gets or sets a dictionary that contains data to pass between the controller and the view. + A dictionary that contains data to pass between the controller and the view. + + + Represents the properties and methods that are needed in order to render a view that uses ASP.NET Razor syntax. + The type of the view data model. + + + Initializes a new instance of the class. + + + Gets or sets the object that is used to render HTML markup using Ajax. + The object that is used to render HTML markup using Ajax. + + + Gets or sets the object that is used to render HTML elements. + The object that is used to render HTML elements. + + + Initializes the , , and classes. + + + Gets the Model property of the associated object. + The Model property of the associated object. + + + Sets the view data. + The view data. + + + Gets or sets a dictionary that contains data to pass between the controller and the view. + A dictionary that contains data to pass between the controller and the view. Represents support for ASP.NET AJAX within an ASP.NET MVC application. @@ -6201,7 +7137,7 @@ The parameter is null or empty. - Represents option settings for running AJAX scripts in an MVC application. + Represents option settings for running Ajax scripts in an ASP.NET MVC application. Initializes a new instance of the class. @@ -6212,11 +7148,15 @@ Gets or sets the HTTP request method ("Get" or "Post"). - The HTTP request method. + The HTTP request method. The default value is "Post". Gets or sets the mode that specifies how to insert the response into the target DOM element. - The insertion mode ("InsertAfter", "InsertBefore", or "Replace"). + The insertion mode ("InsertAfter", "InsertBefore", or "Replace"). The default value is "Replace". + + + Gets or sets a value, in milliseconds, that controls the duration of the animation when showing or hiding the loading element. + A value, in milliseconds, that controls the duration of the animation when showing or hiding the loading element. Gets or sets the id attribute of an HTML element that is displayed while the Ajax function is loading. @@ -6238,6 +7178,10 @@ Gets or sets the JavaScript function to call after the page is successfully updated. The JavaScript function to call after the page is successfully updated. + + Returns the Ajax options as a collection of HTML attributes to support unobtrusive JavaScript. + The Ajax options as a collection of HTML attributes to support unobtrusive JavaScript. + Gets or sets the ID of the DOM element to update by using the response from the server. The ID of the DOM element to update. @@ -6486,17 +7430,13 @@ The type of the custom attributes to return. true to look up the hierarchy chain for the inherited custom attribute; otherwise, false. - - Returns the filters that are associated with the action method. - The filters that are associated with the action method. - Returns the parameters of the action method. The parameters of the action method. - Returns the action method selectors. - The action method selectors. + Returns the action-method selectors. + The action-method selectors. Determines whether one or more instances of the specified attribute type are defined for the action member. @@ -6504,6 +7444,10 @@ The type of the custom attribute. true to look up the hierarchy chain for the inherited custom attribute; otherwise, false. + + Gets the lazy initialized unique ID of the instance of this class. + The lazy initialized unique ID of the instance of this class. + Encapsulates information that describes an asynchronous controller, such as its name, type, and actions. @@ -6722,64 +7666,23 @@ 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. - - - - 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. @@ -6787,7 +7690,7 @@ The HTML helper instance that this method extends. - Returns HTML markup for each property in the model, using the additional view data. + Returns HTML markup for each property in the model, using additional view data. The HTML markup for each property in the model. The HTML helper instance that this method extends. An anonymous object that can contain additional view data that will be merged into the instance that is created for the template. @@ -6829,13 +7732,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 in the object that is represented by the expression. + Returns . 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. + The type of the result. Represents support for the HTML input element in an application. @@ -6847,7 +7750,7 @@ An expression that identifies the object that contains the properties to display. - Returns an HTML input element for each property in the object that is represented by the expression, using the additional view data. + 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. @@ -6885,62 +7788,21 @@ 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 the 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. @@ -6974,7 +7836,7 @@ A string that is used to disambiguate the names of HTML input elements that are rendered for properties that have the same name. - Returns an HTML input element for each property in the model, using the template name, HTML field name and additional view data. + Returns an HTML input element for each property in the model, using the template name, HTML field name, and additional view data. An HTML input element for each property in the model. The HTML helper instance that this method extends. The name of the template to use to render the object. @@ -7227,31 +8089,11 @@ 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. @@ -7282,34 +8124,13 @@ The value of the hidden 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 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 value. - The parameter is null or empty. + + + - - 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. - 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 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 value. - The parameter is null or empty. + + + Returns a password input element by using the specified HTML helper and the name of the form field. @@ -7340,34 +8161,13 @@ 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. @@ -7430,37 +8230,13 @@ 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. @@ -7491,34 +8267,13 @@ 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 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. + + + Represents support for the HTML label element in an ASP.NET MVC view. @@ -7529,7 +8284,10 @@ The HTML helper instance that this method extends. An expression that identifies the property to display. - + + Returns . + + 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. @@ -7537,11 +8295,18 @@ 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 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 . + Represents support for HTML links in an application. @@ -7910,71 +8675,17 @@ 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 render. - 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 render. - A collection of objects that are used to populate the drop-down list. - 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 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 render. - 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 render. - 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 render. - 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. - 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 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 render. - 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. + + + Returns a multi-select select element using the specified HTML helper and the name of the form field. @@ -8009,37 +8720,13 @@ 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 render. - A collection of objects that are used to populate the 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 render. - A collection of objects that are used to populate the list. - 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 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 render. - A collection of objects that are used to populate the 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. + + + Represents support for HTML textarea controls. @@ -8107,58 +8794,17 @@ 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 value. - 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 value. - 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 value. - 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. - 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 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. - 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. + + + Provides support for validating the input from an HTML form. @@ -8173,12 +8819,9 @@ The name of the property or model object that is being validated. The parameter is null. - - Retrieves the validation metadata and validates each data field 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. + + + Displays a validation message if an error exists for the specified field in the object. @@ -8223,42 +8866,17 @@ 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. - The HTML markup for a validation-error message for each data field that is represented by the expression. If no validation error occurs or client validation is disabled, this method returns null. - 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. + + + - - Returns the HTML markup for a validation-error message for each data field that is represented by the specified expression, using the specified message. - The HTML markup for a validation-error message for each data field that is represented by the expression. If no validation error occurs or client validation is disabled, this method returns null. - 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 value. + + + - - 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. - The HTML markup for a validation-error message for each data field that is represented by the expression. If no validation error occurs or client validation is disabled, this method returns null. - 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. - A dictionary that contains the HTML attributes for the element. - The type of the model. - The type of the value. - - - 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. - The HTML markup for a validation-error message for each data field that is represented by the expression. If no validation error occurs or client validation is disabled, this method returns null. - 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 value. + + + Returns an unordered list (ul element) of validation messages that are in the object. diff --git a/lib/aspnetmvc/System.Web.Razor.dll b/lib/aspnetmvc/System.Web.Razor.dll index 1ee1122a6..51e3cb202 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.WebPages.Razor.dll b/lib/aspnetmvc/System.Web.WebPages.Razor.dll index 51f1c01ff..3221571df 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.dll b/lib/aspnetmvc/System.Web.WebPages.dll index 84bac343f..7d03d4771 100644 Binary files a/lib/aspnetmvc/System.Web.WebPages.dll and b/lib/aspnetmvc/System.Web.WebPages.dll differ diff --git a/lib/aspnetmvc/WebMatrix.Data.dll b/lib/aspnetmvc/WebMatrix.Data.dll index 12e66822c..bc3260fc0 100644 Binary files a/lib/aspnetmvc/WebMatrix.Data.dll and b/lib/aspnetmvc/WebMatrix.Data.dll differ diff --git a/src/Orchard.Web/Modules/Orchard.Experimental/Controllers/HomeController.cs b/src/Orchard.Web/Modules/Orchard.Experimental/Controllers/HomeController.cs index c4d0a94f3..871ab560a 100644 --- a/src/Orchard.Web/Modules/Orchard.Experimental/Controllers/HomeController.cs +++ b/src/Orchard.Web/Modules/Orchard.Experimental/Controllers/HomeController.cs @@ -84,25 +84,25 @@ namespace Orchard.Experimental.Controllers { public ActionResult UsingShapes() { - ViewModel.Page = Shape.Page() + ViewBag.Page = Shape.Page() .Main(Shape.Zone(typeof (Array), Name: "Main")) .Messages(Shape.Zone(typeof (Array), Name: "Messages")) .Sidebar(Shape.Zone(typeof (Array), Name: "Sidebar")); //ViewModel.Page.Add("Messages:5", New.Message(Content: T("This is a test"), Severity: "Really bad!!!")); - ViewModel.Page.Messages.Add( + ViewBag.Page.Messages.Add( Shape.Message(Content: T("This is a test"), Severity: "Really bad!!!")); - ViewModel.Page.Sidebar.Add( + ViewBag.Page.Sidebar.Add( Shape.Link(Url: "http://orchard.codeplex.com", Content: Shape.Image(Url: "http://orchardproject.net/Content/images/orchardLogo.jpg").Attributes(new { @class = "bigredborderfromabadclassname" }))); var model = Shape.Message( Content: Shape.Explosion(Height: 100, Width: 200), Severity: "Meh"); - ViewModel.Page.Messages.Add(new HtmlString("
abuse
")); - ViewModel.Page.Messages.Add("
encoded
"); + ViewBag.Page.Messages.Add(new HtmlString("
abuse
")); + ViewBag.Page.Messages.Add("
encoded
"); return View(model); }