C# Class SampleHelpers, code

Mostra file Open project: shendongnian/code Class Usage Examples

Public Methods

Method Description
ApplyOptionalParms ( object request, object optional ) : object

Using reflection to apply optional parameters to the request. If the optonal parameters are null then we will just return the request as is.

Method Details

ApplyOptionalParms() public static method

Using reflection to apply optional parameters to the request. If the optonal parameters are null then we will just return the request as is.
public static ApplyOptionalParms ( object request, object optional ) : object
request object The request.
optional object The optional parameters.
return object