Class RequestParameterCollection
Inheritance
System.Object
    RequestParameterCollection
  Namespace: Mediachase.BusinessFoundation.Data.Business
Assembly: Mediachase.BusinessFoundation.Data.dll
Version: 14.26.0Syntax
public class RequestParameterCollection : Collection<RequestParameter>Constructors
RequestParameterCollection()
Initializes a new instance of the RequestParameterCollection class.
Declaration
public RequestParameterCollection()Properties
Item[String]
Gets or sets the System.Object with the specified name.
Declaration
public RequestParameter this[string name] { get; }Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | name | 
Property Value
| Type | Description | 
|---|---|
| RequestParameter | 
Methods
Add(String, Object)
Adds the specified name.
Declaration
public void Add(string name, object value)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | name | The name. | 
| System.Object | value | The value. | 
AddRange(RequestParameter[])
Adds the range.
Declaration
public void AddRange(params RequestParameter[] properties)Parameters
| Type | Name | Description | 
|---|---|---|
| RequestParameter[] | properties | The properties. | 
Contains(String)
Determines whether [contains] [the specified name].
Declaration
public bool Contains(string name)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | name | The name. | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | 
 | 
GetValue(String)
Gets the value.
Declaration
public virtual object GetValue(string name)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | name | The name. | 
Returns
| Type | Description | 
|---|---|
| System.Object | 
GetValue<T>(String)
Gets the value.
Declaration
public T GetValue<T>(string name)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | name | The name. | 
Returns
| Type | Description | 
|---|---|
| T | 
Type Parameters
| Name | Description | 
|---|---|
| T | 
GetValue<T>(String, T)
Gets the value.
Declaration
public T GetValue<T>(string name, T defaultValue)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | name | The name. | 
| T | defaultValue | The default value. | 
Returns
| Type | Description | 
|---|---|
| T | 
Type Parameters
| Name | Description | 
|---|---|
| T | 
