DotNetBrowser  1.14
Public Member Functions | Static Public Member Functions | Properties | List of all members
DotNetBrowser.LoadParams Class Reference

Contains the information about load event. More...

Public Member Functions

 LoadParams (string url, LoadType type, LoadPolicy policy, bool redirect)
 Constructs a new LoadParams instance with specified parameters. More...
 

Static Public Member Functions

static LoadType LoadTypeFromInt (int value)
 Finds and returns LoadType that matches specified value. More...
 
static LoadPolicy LoadPolicyFromInt (int value)
 Finds and returns LoadPolicy that matches specified value. More...
 

Properties

string Url [get]
 Gets a string that represents URL of the resource that will be loaded. More...
 
LoadType LoadType [get]
 Load type. More...
 
LoadPolicy LoadPolicy [get]
 Load policy. More...
 
bool IsRedirect [get]
 Indicates whether it's a redirect. More...
 

Detailed Description

Contains the information about load event.

Constructor & Destructor Documentation

DotNetBrowser.LoadParams.LoadParams ( string  url,
LoadType  type,
LoadPolicy  policy,
bool  redirect 
)

Constructs a new LoadParams instance with specified parameters.

Parameters
urlURL of the resource that will be loaded.
typeLoad type.
policyLoad policy.
redirectIndicates whether it's a redirect.

Member Function Documentation

static LoadPolicy DotNetBrowser.LoadParams.LoadPolicyFromInt ( int  value)
static

Finds and returns LoadPolicy that matches specified value.

Parameters
valueNative value of LoadPolicy.
Returns
LoadPolicy of specified value.
static LoadType DotNetBrowser.LoadParams.LoadTypeFromInt ( int  value)
static

Finds and returns LoadType that matches specified value.

Parameters
valueNative value of LoadType.
Returns
LoadType of specified value.

Property Documentation

bool DotNetBrowser.LoadParams.IsRedirect
get

Indicates whether it's a redirect.

LoadPolicy DotNetBrowser.LoadParams.LoadPolicy
get

Load policy.

LoadType DotNetBrowser.LoadParams.LoadType
get

Load type.

string DotNetBrowser.LoadParams.Url
get

Gets a string that represents URL of the resource that will be loaded.