Show / Hide Table of Contents

Class Member

Provides extension methods for interface IMember<M, D> or IMember<M>.

Inheritance
Object
Member
Namespace: DotNext.Reflection
Assembly: DotNext.Reflection.dll
Syntax
public static class Member : object

Methods

| Improve this Doc View Source

ArgList<M, A>(IMember<M, Procedure<A>>)

Allocates uninitialized structure for placing arguments.

Declaration
public static A ArgList<M, A>(this IMember<M, Procedure<A>> member)

    where M : MemberInfo where A : struct
Parameters
Type Name Description
IMember<M, Procedure<A>> member

Callable member.

Returns
Type Description
A

Allocated list of arguments.

Type Parameters
Name Description
M

The type of the member.

A

Type of arguments list.

| Improve this Doc View Source

ArgList<M, A, R>(IMember<M, Function<A, R>>)

Allocates uninitialized structure for placing arguments.

Declaration
public static A ArgList<M, A, R>(this IMember<M, Function<A, R>> member)

    where M : MemberInfo where A : struct
Parameters
Type Name Description
IMember<M, Function<A, R>> member

Callable member.

Returns
Type Description
A

Allocated list of arguments.

Type Parameters
Name Description
M

Type of callable member.

A

Type of arguments list.

R

Type of function result.

| Improve this Doc View Source

ArgList<M, T, A>(IMember<M, Procedure<T, A>>)

Allocates uninitialized structure for placing arguments.

Declaration
public static A ArgList<M, T, A>(this IMember<M, Procedure<T, A>> member)

    where M : MemberInfo where A : struct
Parameters
Type Name Description
IMember<M, Procedure<T, A>> member

Callable member.

Returns
Type Description
A

Allocated list of arguments.

Type Parameters
Name Description
M

The type of the member.

T

The type of the instance.

A

Type of arguments list.

| Improve this Doc View Source

ArgList<M, T, A, R>(IMember<M, Function<T, A, R>>)

Allocates uninitialized structure for placing arguments.

Declaration
public static A ArgList<M, T, A, R>(this IMember<M, Function<T, A, R>> member)

    where M : MemberInfo where A : struct
Parameters
Type Name Description
IMember<M, Function<T, A, R>> member

Callable member.

Returns
Type Description
A

Allocated structure for placing arguments.

Type Parameters
Name Description
M

The type of the member.

T

The type of the instance.

A

The type representing invocation arguments.

R

The return type.

| Improve this Doc View Source

Invoke<M>(IMember<M, Action>)

Invokes member as action.

Declaration
public static void Invoke<M>(this IMember<M, Action> member)

    where M : MemberInfo
Parameters
Type Name Description
IMember<M, Action> member

Callable member.

Type Parameters
Name Description
M

The type of the member.

| Improve this Doc View Source

Invoke<M, P1, P2, P3, P4, P5, P6, P7, P8, P9>(IMember<M, Action<P1, P2, P3, P4, P5, P6, P7, P8, P9>>, P1, P2, P3, P4, P5, P6, P7, P8, P9)

Invokes member as procedure.

Declaration
public static void Invoke<M, P1, P2, P3, P4, P5, P6, P7, P8, P9>(this IMember<M, Action<P1, P2, P3, P4, P5, P6, P7, P8, P9>> member, P1 arg1, P2 arg2, P3 arg3, P4 arg4, P5 arg5, P6 arg6, P7 arg7, P8 arg8, P9 arg9)

    where M : MemberInfo
Parameters
Type Name Description
IMember<M, Action<P1, P2, P3, P4, P5, P6, P7, P8, P9>> member

Callable member.

P1 arg1

The first procedure argument.

P2 arg2

The second procedure argument.

P3 arg3

The third procedure argument.

P4 arg4

The fourth procedure argument.

P5 arg5

The fifth procedure argument.

P6 arg6

The sixth procedure argument.

P7 arg7

The seventh procedure argument.

P8 arg8

The eighth procedure argument.

P9 arg9

The ninth procedure argument.

Type Parameters
Name Description
M

The type of the member.

P1

The type of the first procedure argument.

P2

The type of the second procedure argument.

P3

The type of the third procedure argument.

P4

The type of the fourth procedure argument.

P5

The type of the fifth procedure argument.

P6

The type of the sixth procedure argument.

P7

The type of the seventh procedure argument.

P8

The type of the eighth procedure argument.

P9

The type of the ninth procedure argument.

| Improve this Doc View Source

Invoke<M, P1, P2, P3, P4, P5, P6, P7, P8, R>(IMember<M, Func<P1, P2, P3, P4, P5, P6, P7, P8, R>>, P1, P2, P3, P4, P5, P6, P7, P8)

Invokes member as function.

Declaration
public static R Invoke<M, P1, P2, P3, P4, P5, P6, P7, P8, R>(this IMember<M, Func<P1, P2, P3, P4, P5, P6, P7, P8, R>> member, P1 arg1, P2 arg2, P3 arg3, P4 arg4, P5 arg5, P6 arg6, P7 arg7, P8 arg8)

    where M : MemberInfo
Parameters
Type Name Description
IMember<M, Func<P1, P2, P3, P4, P5, P6, P7, P8, R>> member

Callable member.

P1 arg1

The first function argument.

P2 arg2

The second function argument.

P3 arg3

The third function argument.

P4 arg4

The fourth function argument.

P5 arg5

The fifth function argument.

P6 arg6

The fifth function argument.

P7 arg7

The seventh function argument.

P8 arg8

The eighth function argument.

Returns
Type Description
R

Return value.

Type Parameters
Name Description
M

The type of the member.

P1

The type of the first function argument.

P2

The type of the second function argument.

P3

The type of the third function argument.

P4

The type of the fourth function argument.

P5

The type of the fifth function argument.

P6

The type of the sixth function argument.

P7

The type of the seventh function argument.

P8

The type of the eighth function argument.

R

Type of function result.

| Improve this Doc View Source

Invoke<M, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10>(IMember<M, Action<P1, P2, P3, P4, P5, P6, P7, P8, P9, P10>>, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10)

Invokes member as procedure.

Declaration
public static void Invoke<M, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10>(this IMember<M, Action<P1, P2, P3, P4, P5, P6, P7, P8, P9, P10>> member, P1 arg1, P2 arg2, P3 arg3, P4 arg4, P5 arg5, P6 arg6, P7 arg7, P8 arg8, P9 arg9, P10 arg10)

    where M : MemberInfo
Parameters
Type Name Description
IMember<M, Action<P1, P2, P3, P4, P5, P6, P7, P8, P9, P10>> member

Callable member.

P1 arg1

The first procedure argument.

P2 arg2

The second procedure argument.

P3 arg3

The third procedure argument.

P4 arg4

The fourth procedure argument.

P5 arg5

The fifth procedure argument.

P6 arg6

The sixth procedure argument.

P7 arg7

The seventh procedure argument.

P8 arg8

The eighth procedure argument.

P9 arg9

The ninth procedure argument.

P10 arg10

The tenth procedure argument.

Type Parameters
Name Description
M

The type of the member.

P1

The type of the first procedure argument.

P2

The type of the second procedure argument.

P3

The type of the third procedure argument.

P4

The type of the fourth procedure argument.

P5

The type of the fifth procedure argument.

P6

The type of the sixth procedure argument.

P7

The type of the seventh procedure argument.

P8

The type of the eighth procedure argument.

P9

The type of the ninth procedure argument.

P10

The type of the tenth procedure argument.

| Improve this Doc View Source

Invoke<M, P1, P2, P3, P4, P5, P6, P7, P8, P9, R>(IMember<M, Func<P1, P2, P3, P4, P5, P6, P7, P8, P9, R>>, P1, P2, P3, P4, P5, P6, P7, P8, P9)

Invokes member as function.

Declaration
public static R Invoke<M, P1, P2, P3, P4, P5, P6, P7, P8, P9, R>(this IMember<M, Func<P1, P2, P3, P4, P5, P6, P7, P8, P9, R>> member, P1 arg1, P2 arg2, P3 arg3, P4 arg4, P5 arg5, P6 arg6, P7 arg7, P8 arg8, P9 arg9)

    where M : MemberInfo
Parameters
Type Name Description
IMember<M, Func<P1, P2, P3, P4, P5, P6, P7, P8, P9, R>> member

Callable member.

P1 arg1

The first function argument.

P2 arg2

The second function argument.

P3 arg3

The third function argument.

P4 arg4

The fourth function argument.

P5 arg5

The fifth function argument.

P6 arg6

The fifth function argument.

P7 arg7

The seventh function argument.

P8 arg8

The eighth function argument.

P9 arg9

The ninth function argument.

Returns
Type Description
R

Return value.

Type Parameters
Name Description
M

The type of the member.

P1

The type of the first function argument.

P2

The type of the second function argument.

P3

The type of the third function argument.

P4

The type of the fourth function argument.

P5

The type of the fifth function argument.

P6

The type of the sixth function argument.

P7

The type of the seventh function argument.

P8

The type of the eighth function argument.

P9

The type of the ninth function argument.

R

Type of function result.

| Improve this Doc View Source

Invoke<M, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, R>(IMember<M, Func<P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, R>>, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10)

Invokes member as function.

Declaration
public static R Invoke<M, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, R>(this IMember<M, Func<P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, R>> member, P1 arg1, P2 arg2, P3 arg3, P4 arg4, P5 arg5, P6 arg6, P7 arg7, P8 arg8, P9 arg9, P10 arg10)

    where M : MemberInfo
Parameters
Type Name Description
IMember<M, Func<P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, R>> member

Callable member.

P1 arg1

The first function argument.

P2 arg2

The second function argument.

P3 arg3

The third function argument.

P4 arg4

The fourth function argument.

P5 arg5

The fifth function argument.

P6 arg6

The fifth function argument.

P7 arg7

The seventh function argument.

P8 arg8

The eighth function argument.

P9 arg9

The ninth function argument.

P10 arg10

The tenth function argument.

Returns
Type Description
R

Return value.

Type Parameters
Name Description
M

The type of the member.

P1

The type of the first function argument.

P2

The type of the second function argument.

P3

The type of the third function argument.

P4

The type of the fourth function argument.

P5

The type of the fifth function argument.

P6

The type of the sixth function argument.

P7

The type of the seventh function argument.

P8

The type of the eighth function argument.

P9

The type of the ninth function argument.

P10

The type of the tenth function argument.

R

Type of function result.

| Improve this Doc View Source

Invoke<M, P>(IMember<M, Action<P>>, P)

Invokes member as procedure.

Declaration
public static void Invoke<M, P>(this IMember<M, Action<P>> member, P arg)

    where M : MemberInfo
Parameters
Type Name Description
IMember<M, Action<P>> member

Callable member.

P arg

The first procedure argument.

Type Parameters
Name Description
M

The type of the member.

P

The type of the first procedure argument.

| Improve this Doc View Source

Invoke<M, R>(IMember<M, Function<ValueTuple, R>>)

Invokes member without arguments.

Declaration
public static R Invoke<M, R>(this IMember<M, Function<ValueTuple, R>> member)

    where M : MemberInfo
Parameters
Type Name Description
IMember<M, Function<ValueTuple, R>> member

Callable member.

Returns
Type Description
R

Invocation result.

Type Parameters
Name Description
M

The type of the member.

R

The return type.

| Improve this Doc View Source

Invoke<M, V>(IMember<M, MemberGetter<V>>)

Gets property or field value.

Declaration
public static V Invoke<M, V>(this IMember<M, MemberGetter<V>> member)

    where M : MemberInfo
Parameters
Type Name Description
IMember<M, MemberGetter<V>> member

The property or field.

Returns
Type Description
V

The member value.

Type Parameters
Name Description
M

The type of the member.

V

The type of the member value.

| Improve this Doc View Source

Invoke<M, V>(IMember<M, MemberSetter<V>>, V)

Sets property or field.

Declaration
public static void Invoke<M, V>(this IMember<M, MemberSetter<V>> member, V value)

    where M : MemberInfo
Parameters
Type Name Description
IMember<M, MemberSetter<V>> member

The property or field.

V value

The new value of the field or property.

Type Parameters
Name Description
M

The type of the member.

V

The type of the member value.

| Improve this Doc View Source

Invoke<M, R>(IMember<M, Func<R>>)

Invokes member as function.

Declaration
public static R Invoke<M, R>(this IMember<M, Func<R>> member)

    where M : MemberInfo
Parameters
Type Name Description
IMember<M, Func<R>> member

Callable member.

Returns
Type Description
R

Return value.

Type Parameters
Name Description
M

The type of the member.

R

Type of function result.

| Improve this Doc View Source

Invoke<M, P1, P2>(IMember<M, Action<P1, P2>>, P1, P2)

Invokes member as procedure.

Declaration
public static void Invoke<M, P1, P2>(this IMember<M, Action<P1, P2>> member, P1 arg1, P2 arg2)

    where M : MemberInfo
Parameters
Type Name Description
IMember<M, Action<P1, P2>> member

Callable member.

P1 arg1

The first procedure argument.

P2 arg2

The second procedure argument.

Type Parameters
Name Description
M

The type of the member.

P1

The type of the first procedure argument.

P2

The type of the second procedure argument.

| Improve this Doc View Source

Invoke<M, A, R>(IMember<M, Function<A, R>>, A)

Invokes member.

Declaration
public static R Invoke<M, A, R>(this IMember<M, Function<A, R>> member, in A arguments)

    where M : MemberInfo where A : struct
Parameters
Type Name Description
IMember<M, Function<A, R>> member

Callable member.

A arguments

Invocation arguments placed onto stack.

Returns
Type Description
R

Invocation result.

Type Parameters
Name Description
M

The type of the member.

A

The type representing invocation arguments.

R

The return type.

| Improve this Doc View Source

Invoke<M, T, R>(IMember<M, Function<T, ValueTuple, R>>, T)

Invokes instance member without arguments.

Declaration
public static R Invoke<M, T, R>(this IMember<M, Function<T, ValueTuple, R>> member, in T this)

    where M : MemberInfo
Parameters
Type Name Description
IMember<M, Function<T, ValueTuple, R>> member

Callable member.

T this

this argument.

Returns
Type Description
R

Invocation result.

Type Parameters
Name Description
M

The type of the member.

T

The type of the instance.

R

The return type.

| Improve this Doc View Source

Invoke<M, T, V>(IMember<M, MemberGetter<T, V>>, T)

Gets property or field value.

Declaration
public static V Invoke<M, T, V>(this IMember<M, MemberGetter<T, V>> member, in T this)

    where M : MemberInfo
Parameters
Type Name Description
IMember<M, MemberGetter<T, V>> member

The property or field.

T this

The object whose property or field value will be returned.

Returns
Type Description
V

The member value.

Type Parameters
Name Description
M

The type of the member.

T

The type whose property value will be returned.

V

The type of the member value.

| Improve this Doc View Source

Invoke<M, T, V>(IMember<M, MemberSetter<T, V>>, T, V)

Sets property or field.

Declaration
public static void Invoke<M, T, V>(this IMember<M, MemberSetter<T, V>> member, in T this, V value)

    where M : MemberInfo
Parameters
Type Name Description
IMember<M, MemberSetter<T, V>> member

The property or field.

T this

The object whose property or field value will be set.

V value

The new value of the field or property.

Type Parameters
Name Description
M

The type of the member.

T

The type whose property or field value will be set.

V

The type of the member value.

| Improve this Doc View Source

Invoke<M, P, R>(IMember<M, Func<P, R>>, P)

Invokes member as function.

Declaration
public static R Invoke<M, P, R>(this IMember<M, Func<P, R>> member, P arg)

    where M : MemberInfo
Parameters
Type Name Description
IMember<M, Func<P, R>> member

Callable member.

P arg

The first function argument.

Returns
Type Description
R

Return value.

Type Parameters
Name Description
M

The type of the member.

P

The type of the first function argument.

R

Type of function result.

| Improve this Doc View Source

Invoke<M, P1, P2, P3>(IMember<M, Action<P1, P2, P3>>, P1, P2, P3)

Invokes member as procedure.

Declaration
public static void Invoke<M, P1, P2, P3>(this IMember<M, Action<P1, P2, P3>> member, P1 arg1, P2 arg2, P3 arg3)

    where M : MemberInfo
Parameters
Type Name Description
IMember<M, Action<P1, P2, P3>> member

Callable member.

P1 arg1

The first procedure argument.

P2 arg2

The second procedure argument.

P3 arg3

The third procedure argument.

Type Parameters
Name Description
M

The type of the member.

P1

The type of the first procedure argument.

P2

The type of the second procedure argument.

P3

The type of the third procedure argument.

| Improve this Doc View Source

Invoke<M, T, A, R>(IMember<M, Function<T, A, R>>, T, A)

Invokes instance member.

Declaration
public static R Invoke<M, T, A, R>(this IMember<M, Function<T, A, R>> member, in T this, in A arguments)

    where M : MemberInfo where A : struct
Parameters
Type Name Description
IMember<M, Function<T, A, R>> member

Callable member.

T this

The object whose member will be invoked.

A arguments

Invocation arguments placed onto stack.

Returns
Type Description
R

Invocation result.

Type Parameters
Name Description
M

The type of the member.

T

The type whose member will be invoked.

A

The type representing invocation arguments.

R

The return type.

| Improve this Doc View Source

Invoke<M, P1, P2, R>(IMember<M, Func<P1, P2, R>>, P1, P2)

Invokes member as function.

Declaration
public static R Invoke<M, P1, P2, R>(this IMember<M, Func<P1, P2, R>> member, P1 arg1, P2 arg2)

    where M : MemberInfo
Parameters
Type Name Description
IMember<M, Func<P1, P2, R>> member

Callable member.

P1 arg1

The first function argument.

P2 arg2

The second function argument.

Returns
Type Description
R

Return value.

Type Parameters
Name Description
M

The type of the member.

P1

The type of the first function argument.

P2

The type of the second function argument.

R

Type of function result.

| Improve this Doc View Source

Invoke<M, P1, P2, P3, P4>(IMember<M, Action<P1, P2, P3, P4>>, P1, P2, P3, P4)

Invokes member as procedure.

Declaration
public static void Invoke<M, P1, P2, P3, P4>(this IMember<M, Action<P1, P2, P3, P4>> member, P1 arg1, P2 arg2, P3 arg3, P4 arg4)

    where M : MemberInfo
Parameters
Type Name Description
IMember<M, Action<P1, P2, P3, P4>> member

Callable member.

P1 arg1

The first procedure argument.

P2 arg2

The second procedure argument.

P3 arg3

The third procedure argument.

P4 arg4

The fourth procedure argument.

Type Parameters
Name Description
M

The type of the member.

P1

The type of the first procedure argument.

P2

The type of the second procedure argument.

P3

The type of the third procedure argument.

P4

The type of the fourth procedure argument.

| Improve this Doc View Source

Invoke<M, P1, P2, P3, R>(IMember<M, Func<P1, P2, P3, R>>, P1, P2, P3)

Invokes member as function.

Declaration
public static R Invoke<M, P1, P2, P3, R>(this IMember<M, Func<P1, P2, P3, R>> member, P1 arg1, P2 arg2, P3 arg3)

    where M : MemberInfo
Parameters
Type Name Description
IMember<M, Func<P1, P2, P3, R>> member

Callable member.

P1 arg1

The first function argument.

P2 arg2

The second function argument.

P3 arg3

The third function argument.

Returns
Type Description
R

Return value.

Type Parameters
Name Description
M

The type of the member.

P1

The type of the first function argument.

P2

The type of the second function argument.

P3

The type of the third function argument.

R

Type of function result.

| Improve this Doc View Source

Invoke<M, P1, P2, P3, P4, P5>(IMember<M, Action<P1, P2, P3, P4, P5>>, P1, P2, P3, P4, P5)

Invokes member as procedure.

Declaration
public static void Invoke<M, P1, P2, P3, P4, P5>(this IMember<M, Action<P1, P2, P3, P4, P5>> member, P1 arg1, P2 arg2, P3 arg3, P4 arg4, P5 arg5)

    where M : MemberInfo
Parameters
Type Name Description
IMember<M, Action<P1, P2, P3, P4, P5>> member

Callable member.

P1 arg1

The first procedure argument.

P2 arg2

The second procedure argument.

P3 arg3

The third procedure argument.

P4 arg4

The fourth procedure argument.

P5 arg5

The fifth procedure argument.

Type Parameters
Name Description
M

The type of the member.

P1

The type of the first procedure argument.

P2

The type of the second procedure argument.

P3

The type of the third procedure argument.

P4

The type of the fourth procedure argument.

P5

The type of the fifth procedure argument.

| Improve this Doc View Source

Invoke<M, P1, P2, P3, P4, R>(IMember<M, Func<P1, P2, P3, P4, R>>, P1, P2, P3, P4)

Invokes member as function.

Declaration
public static R Invoke<M, P1, P2, P3, P4, R>(this IMember<M, Func<P1, P2, P3, P4, R>> member, P1 arg1, P2 arg2, P3 arg3, P4 arg4)

    where M : MemberInfo
Parameters
Type Name Description
IMember<M, Func<P1, P2, P3, P4, R>> member

Callable member.

P1 arg1

The first function argument.

P2 arg2

The second function argument.

P3 arg3

The third function argument.

P4 arg4

The fourth function argument.

Returns
Type Description
R

Return value.

Type Parameters
Name Description
M

The type of the member.

P1

The type of the first function argument.

P2

The type of the second function argument.

P3

The type of the third function argument.

P4

The type of the fourth function argument.

R

Type of function result.

| Improve this Doc View Source

Invoke<M, P1, P2, P3, P4, P5, P6>(IMember<M, Action<P1, P2, P3, P4, P5, P6>>, P1, P2, P3, P4, P5, P6)

Invokes member as procedure.

Declaration
public static void Invoke<M, P1, P2, P3, P4, P5, P6>(this IMember<M, Action<P1, P2, P3, P4, P5, P6>> member, P1 arg1, P2 arg2, P3 arg3, P4 arg4, P5 arg5, P6 arg6)

    where M : MemberInfo
Parameters
Type Name Description
IMember<M, Action<P1, P2, P3, P4, P5, P6>> member

Callable member.

P1 arg1

The first procedure argument.

P2 arg2

The second procedure argument.

P3 arg3

The third procedure argument.

P4 arg4

The fourth procedure argument.

P5 arg5

The fifth procedure argument.

P6 arg6

The sixth procedure argument.

Type Parameters
Name Description
M

The type of the member.

P1

The type of the first procedure argument.

P2

The type of the second procedure argument.

P3

The type of the third procedure argument.

P4

The type of the fourth procedure argument.

P5

The type of the fifth procedure argument.

P6

The type of the sixth procedure argument.

| Improve this Doc View Source

Invoke<M, P1, P2, P3, P4, P5, R>(IMember<M, Func<P1, P2, P3, P4, P5, R>>, P1, P2, P3, P4, P5)

Invokes member as function.

Declaration
public static R Invoke<M, P1, P2, P3, P4, P5, R>(this IMember<M, Func<P1, P2, P3, P4, P5, R>> member, P1 arg1, P2 arg2, P3 arg3, P4 arg4, P5 arg5)

    where M : MemberInfo
Parameters
Type Name Description
IMember<M, Func<P1, P2, P3, P4, P5, R>> member

Callable member.

P1 arg1

The first function argument.

P2 arg2

The second function argument.

P3 arg3

The third function argument.

P4 arg4

The fourth function argument.

P5 arg5

The fifth function argument.

Returns
Type Description
R

Return value.

Type Parameters
Name Description
M

The type of the member.

P1

The type of the first function argument.

P2

The type of the second function argument.

P3

The type of the third function argument.

P4

The type of the fourth function argument.

P5

The type of the fifth function argument.

R

Type of function result.

| Improve this Doc View Source

Invoke<M, P1, P2, P3, P4, P5, P6, P7>(IMember<M, Action<P1, P2, P3, P4, P5, P6, P7>>, P1, P2, P3, P4, P5, P6, P7)

Invokes member as procedure.

Declaration
public static void Invoke<M, P1, P2, P3, P4, P5, P6, P7>(this IMember<M, Action<P1, P2, P3, P4, P5, P6, P7>> member, P1 arg1, P2 arg2, P3 arg3, P4 arg4, P5 arg5, P6 arg6, P7 arg7)

    where M : MemberInfo
Parameters
Type Name Description
IMember<M, Action<P1, P2, P3, P4, P5, P6, P7>> member

Callable member.

P1 arg1

The first procedure argument.

P2 arg2

The second procedure argument.

P3 arg3

The third procedure argument.

P4 arg4

The fourth procedure argument.

P5 arg5

The fifth procedure argument.

P6 arg6

The sixth procedure argument.

P7 arg7

The seventh procedure argument.

Type Parameters
Name Description
M

The type of the member.

P1

The type of the first procedure argument.

P2

The type of the second procedure argument.

P3

The type of the third procedure argument.

P4

The type of the fourth procedure argument.

P5

The type of the fifth procedure argument.

P6

The type of the sixth procedure argument.

P7

The type of the seventh procedure argument.

| Improve this Doc View Source

Invoke<M, P1, P2, P3, P4, P5, P6, R>(IMember<M, Func<P1, P2, P3, P4, P5, P6, R>>, P1, P2, P3, P4, P5, P6)

Invokes member as function.

Declaration
public static R Invoke<M, P1, P2, P3, P4, P5, P6, R>(this IMember<M, Func<P1, P2, P3, P4, P5, P6, R>> member, P1 arg1, P2 arg2, P3 arg3, P4 arg4, P5 arg5, P6 arg6)

    where M : MemberInfo
Parameters
Type Name Description
IMember<M, Func<P1, P2, P3, P4, P5, P6, R>> member

Callable member.

P1 arg1

The first function argument.

P2 arg2

The second function argument.

P3 arg3

The third function argument.

P4 arg4

The fourth function argument.

P5 arg5

The fifth function argument.

P6 arg6

The fifth function argument.

Returns
Type Description
R

Return value.

Type Parameters
Name Description
M

The type of the member.

P1

The type of the first function argument.

P2

The type of the second function argument.

P3

The type of the third function argument.

P4

The type of the fourth function argument.

P5

The type of the fifth function argument.

P6

The type of the sixth function argument.

R

Type of function result.

| Improve this Doc View Source

Invoke<M, P1, P2, P3, P4, P5, P6, P7, P8>(IMember<M, Action<P1, P2, P3, P4, P5, P6, P7, P8>>, P1, P2, P3, P4, P5, P6, P7, P8)

Invokes member as procedure.

Declaration
public static void Invoke<M, P1, P2, P3, P4, P5, P6, P7, P8>(this IMember<M, Action<P1, P2, P3, P4, P5, P6, P7, P8>> member, P1 arg1, P2 arg2, P3 arg3, P4 arg4, P5 arg5, P6 arg6, P7 arg7, P8 arg8)

    where M : MemberInfo
Parameters
Type Name Description
IMember<M, Action<P1, P2, P3, P4, P5, P6, P7, P8>> member

Callable member.

P1 arg1

The first procedure argument.

P2 arg2

The second procedure argument.

P3 arg3

The third procedure argument.

P4 arg4

The fourth procedure argument.

P5 arg5

The fifth procedure argument.

P6 arg6

The sixth procedure argument.

P7 arg7

The seventh procedure argument.

P8 arg8

The eighth procedure argument.

Type Parameters
Name Description
M

The type of the member.

P1

The type of the first procedure argument.

P2

The type of the second procedure argument.

P3

The type of the third procedure argument.

P4

The type of the fourth procedure argument.

P5

The type of the fifth procedure argument.

P6

The type of the sixth procedure argument.

P7

The type of the seventh procedure argument.

P8

The type of the eighth procedure argument.

| Improve this Doc View Source

Invoke<M, P1, P2, P3, P4, P5, P6, P7, R>(IMember<M, Func<P1, P2, P3, P4, P5, P6, P7, R>>, P1, P2, P3, P4, P5, P6, P7)

Invokes member as function.

Declaration
public static R Invoke<M, P1, P2, P3, P4, P5, P6, P7, R>(this IMember<M, Func<P1, P2, P3, P4, P5, P6, P7, R>> member, P1 arg1, P2 arg2, P3 arg3, P4 arg4, P5 arg5, P6 arg6, P7 arg7)

    where M : MemberInfo
Parameters
Type Name Description
IMember<M, Func<P1, P2, P3, P4, P5, P6, P7, R>> member

Callable member.

P1 arg1

The first function argument.

P2 arg2

The second function argument.

P3 arg3

The third function argument.

P4 arg4

The fourth function argument.

P5 arg5

The fifth function argument.

P6 arg6

The fifth function argument.

P7 arg7

The seventh function argument.

Returns
Type Description
R

Return value.

Type Parameters
Name Description
M

The type of the member.

P1

The type of the first function argument.

P2

The type of the second function argument.

P3

The type of the third function argument.

P4

The type of the fourth function argument.

P5

The type of the fifth function argument.

P6

The type of the sixth function argument.

P7

The type of the seventh function argument.

R

Type of function result.

  • Improve this Doc
  • View Source
Back to top Generated by DocFX