Share via


CookieValueProviderFactory Class

 

Retrieves the user’s cookies and leverages the NameValueCollectionValueProvider to expose those values to the model binding framework.

Namespace:   Microsoft.Web.Mvc
Assembly:  Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)

Inheritance Hierarchy

System.Object
  System.Web.Mvc.ValueProviderFactory
    Microsoft.Web.Mvc.CookieValueProviderFactory

Syntax

public class CookieValueProviderFactory : ValueProviderFactory
public ref class CookieValueProviderFactory : ValueProviderFactory
type CookieValueProviderFactory = 
    class
        inherit ValueProviderFactory
    end
Public Class CookieValueProviderFactory
    Inherits ValueProviderFactory

Constructors

Name Description
System_CAPS_pubmethod CookieValueProviderFactory()

Initializes a new instance of the CookieValueProviderFactory class.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod GetValueProvider(ControllerContext)

Returns a value-provider object for the specified controller context.(Overrides ValueProviderFactory.GetValueProvider(ControllerContext).)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Web.Mvc Namespace

Return to top