Interface IGetsAccessorFunction
An object which can provide an accessor function which represents getting a value from a named member of a specified type.
Namespace: CSF.Validation.ManifestModel
Assembly: CSF.Validation.dll
Syntax
public interface IGetsAccessorFunction
Methods
| Improve this Doc View SourceGetAccessorFunction(Type, String)
Gets the accessor function which corresponds to getting a value from the
specified type
by using the specified memberName
.
Declaration
AccessorFunctionAndType GetAccessorFunction(Type type, string memberName)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | The type of object which shall be the input to the function. |
System.String | memberName | The name of the member to get/access/execute in order to get the output of the function. |
Returns
Type | Description |
---|---|
AccessorFunctionAndType | An AccessorFunctionAndType containing both the function and also the expected return-type of that function. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | If either |
System.ArgumentException | If either the |