Редагувати

Поділитися через


BrowserCapabilitiesFactoryBase Class

Definition

The BrowserCapabilitiesFactoryBase class is the base class from which BrowserCapabilitiesFactory is derived. It is used internally at run time by the configuration system to create request-specific instances of the HttpCapabilitiesBase class, publicly accessed through the ASP.NET intrinsic Request.Browser property.

This API supports the product infrastructure and is not intended to be used directly from your code.

public ref class BrowserCapabilitiesFactoryBase
public class BrowserCapabilitiesFactoryBase
type BrowserCapabilitiesFactoryBase = class
Public Class BrowserCapabilitiesFactoryBase
Inheritance
BrowserCapabilitiesFactoryBase
Derived

Remarks

You define browser capabilities in a .browser file. You can use the default hierarchy in the .browser file or create a custom hierarchy to define the browser capabilities.

Constructors

BrowserCapabilitiesFactoryBase()

This API supports the product infrastructure and is not intended to be used directly from your code.

Used internally by the configuration system to create a new instance of this class.

Properties

BrowserElements

This API supports the product infrastructure and is not intended to be used directly from your code.

Used internally by the configuration system to represent a collection of information relating to various browser capabilities.

MatchedHeaders

This API supports the product infrastructure and is not intended to be used directly from your code.

Used internally by the configuration system to represent a collection of request-header values.

Methods

ConfigureBrowserCapabilities(NameValueCollection, HttpBrowserCapabilities)

This API supports the product infrastructure and is not intended to be used directly from your code.

Used internally at run time to configure an HttpBrowserCapabilities object.

ConfigureCustomCapabilities(NameValueCollection, HttpBrowserCapabilities)

This API supports the product infrastructure and is not intended to be used directly from your code.

Used internally at run time to configure custom hierarchies of browser capabilities.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
IsBrowserUnknown(HttpCapabilitiesBase)

This API supports the product infrastructure and is not intended to be used directly from your code.

Used internally by the configuration system to determine whether the browser represented by the specified HttpBrowserCapabilities object does not have an available adapter.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
PopulateBrowserElements(IDictionary)

This API supports the product infrastructure and is not intended to be used directly from your code.

Used internally by the configuration system to populate a collection of browser capabilities based on the supported browser.

PopulateMatchedHeaders(IDictionary)

This API supports the product infrastructure and is not intended to be used directly from your code.

Used internally by the configuration system to populate a collection of request headers based on the supported browser.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also