C# Class Nettiers.AdventureWorks.Web.Data.CustomParameter

Binds a user-defined value to a parameter object.
Inheritance: System.Web.UI.WebControls.Parameter
ファイルを表示 Open project: netTiers/netTiers Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
CustomParameter ( ) : System

Initializes a new unnamed instance of the CustomParameter class.

CustomParameter ( CustomParameter original ) : System

Initializes a new instance of the CustomParameter class with the values of the instance specified by the original parameter.

CustomParameter ( String name ) : System

Initializes a new named instance of the CustomParameter class.

CustomParameter ( String name, Object value ) : System

Initializes a new named instance of the CustomParameter class, using the specified value.

CustomParameter ( String name, String value ) : System

Initializes a new named instance of the CustomParameter class, using the specified value.

CustomParameter ( String name, TypeCode type, String value ) : System

Initializes a new named and strongly typed instance of the CustomParameter class, using the specified property name to identify which System.Web.UI.DataSourceSelectArguments property to bind to.

Protected Methods

Method Description
Evaluate ( HttpContext context, Control control ) : Object

Updates and returns the value of the CustomParameter object.

Method Details

CustomParameter() public method

Initializes a new unnamed instance of the CustomParameter class.
public CustomParameter ( ) : System
return System

CustomParameter() public method

Initializes a new instance of the CustomParameter class with the values of the instance specified by the original parameter.
public CustomParameter ( CustomParameter original ) : System
original CustomParameter A CustomParameter from which the current instance is initialized.
return System

CustomParameter() public method

Initializes a new named instance of the CustomParameter class.
public CustomParameter ( String name ) : System
name String The name of the parameter.
return System

CustomParameter() public method

Initializes a new named instance of the CustomParameter class, using the specified value.
public CustomParameter ( String name, Object value ) : System
name String The name of the parameter.
value Object The user-defined value that the parameter is bound to. /// The default is a String.Emtpy.
return System

CustomParameter() public method

Initializes a new named instance of the CustomParameter class, using the specified value.
public CustomParameter ( String name, String value ) : System
name String The name of the parameter.
value String The user-defined value that the parameter is bound to. /// The default is a String.Emtpy.
return System

CustomParameter() public method

Initializes a new named and strongly typed instance of the CustomParameter class, using the specified property name to identify which System.Web.UI.DataSourceSelectArguments property to bind to.
public CustomParameter ( String name, TypeCode type, String value ) : System
name String The name of the parameter.
type TypeCode The type that the parameter represents. The default is System.TypeCode.Object.
value String The user-defined value that the parameter is bound to. /// The default is a String.Empty.
return System

Evaluate() protected method

Updates and returns the value of the CustomParameter object.
protected Evaluate ( HttpContext context, Control control ) : Object
context System.Web.HttpContext The current System.Web.HttpContext of the request.
control System.Web.UI.Control The System.Web.UI.Control that the parameter is bound to.
return Object