Class SimpleMethodInfoSlimBase
Lightweight representation of a simple method.
Inheritance
System.Object
SimpleMethodInfoSlimBase
Implements
System.IEquatable<MemberInfoSlim>
Inherited Members
Namespace: System.Reflection
Assembly: Nuqleon.Linq.Expressions.Bonsai.dll
Syntax
public abstract class SimpleMethodInfoSlimBase : MethodInfoSlim, IEquatable<MemberInfoSlim>
Constructors
SimpleMethodInfoSlimBase(TypeSlim, String, ReadOnlyCollection<TypeSlim>, TypeSlim)
Creates a new simple method representation object.
Declaration
protected SimpleMethodInfoSlimBase(TypeSlim declaringType, string name, ReadOnlyCollection<TypeSlim> parameterTypes, TypeSlim returnType)
Parameters
| Type | Name | Description |
|---|---|---|
| TypeSlim | declaringType | Type declaring the method. |
| System.String | name | Name of the method. |
| System.Collections.ObjectModel.ReadOnlyCollection<TypeSlim> | parameterTypes | Type of the method parameters. |
| TypeSlim | returnType | Return type of the method |
Properties
Name
Gets the name of the method.
Declaration
public string Name { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
ParameterTypes
Gets the types of the method parameters.
Declaration
public override ReadOnlyCollection<TypeSlim> ParameterTypes { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.ObjectModel.ReadOnlyCollection<TypeSlim> |
Overrides
ReturnType
Gets the return type of the method.
Declaration
public override TypeSlim ReturnType { get; }
Property Value
| Type | Description |
|---|---|
| TypeSlim |
Overrides
Implements
System.IEquatable<>