CSLA .NET 10.0.0
A home for your business logic
Loading...
Searching...
No Matches
Csla.Reflection.ServiceProviderMethodInfo Class Reference

Class that contains cached metadata about data portal method to be invoked. More...

Public Member Functions

 ServiceProviderMethodInfo (System.Reflection.MethodInfo methodInfo)
 Initializes a new instance of ServiceProviderMethodInfo-object.
void PrepForInvocation ()
 Initializes and caches the metastate values necessary to invoke the method.

Properties

System.Reflection.MethodInfo MethodInfo [get]
 Gets or sets the MethodInfo object for the method.
DynamicMethodDelegateDynamicMethod [get]
 Gets delegate representing an expression that can invoke the method.
ParameterInfo?[] Parameters [get]
 Gets the parameters for the method.
bool TakesParamArray [get]
 Gets a value indicating whether the method takes a param array as its parameter.
bool?[] IsInjected [get]
 Gets an array of values indicating which parameters need to be injected.
bool?[] AllowNull [get]
 Gets an array of values indicating which injected parameters allow null values.
bool IsAsyncTask [get]
 Gets a value indicating whether the method returns type Task.
bool IsAsyncTaskObject [get, set]
 Gets a value indicating whether the method returns a Task of T.

Detailed Description

Class that contains cached metadata about data portal method to be invoked.

Constructor & Destructor Documentation

◆ ServiceProviderMethodInfo()

Csla.Reflection.ServiceProviderMethodInfo.ServiceProviderMethodInfo ( System.Reflection.MethodInfo methodInfo)
inline

Initializes a new instance of ServiceProviderMethodInfo-object.

Parameters
methodInfoThe represented method info.
Exceptions
ArgumentNullExceptionmethodInfo is null.

Member Function Documentation

◆ PrepForInvocation()

void Csla.Reflection.ServiceProviderMethodInfo.PrepForInvocation ( )
inline

Initializes and caches the metastate values necessary to invoke the method.

Property Documentation

◆ AllowNull

bool? [] Csla.Reflection.ServiceProviderMethodInfo.AllowNull
get

Gets an array of values indicating which injected parameters allow null values.

◆ DynamicMethod

DynamicMethodDelegate? Csla.Reflection.ServiceProviderMethodInfo.DynamicMethod
get

Gets delegate representing an expression that can invoke the method.

◆ IsAsyncTask

bool Csla.Reflection.ServiceProviderMethodInfo.IsAsyncTask
get

Gets a value indicating whether the method returns type Task.

◆ IsAsyncTaskObject

bool Csla.Reflection.ServiceProviderMethodInfo.IsAsyncTaskObject
getset

Gets a value indicating whether the method returns a Task of T.

◆ IsInjected

bool? [] Csla.Reflection.ServiceProviderMethodInfo.IsInjected
get

Gets an array of values indicating which parameters need to be injected.

◆ MethodInfo

System.Reflection.MethodInfo Csla.Reflection.ServiceProviderMethodInfo.MethodInfo
get

Gets or sets the MethodInfo object for the method.

◆ Parameters

ParameterInfo? [] Csla.Reflection.ServiceProviderMethodInfo.Parameters
get

Gets the parameters for the method.

◆ TakesParamArray

bool Csla.Reflection.ServiceProviderMethodInfo.TakesParamArray
get

Gets a value indicating whether the method takes a param array as its parameter.


The documentation for this class was generated from the following file: