Show / Hide Table of Contents

Class Member

Provides extension methods for interface IMember<TMember, TInvoker> or IMember<TMember>.

Inheritance
Object
Member
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: DotNext.Reflection
Assembly: DotNext.Reflection.dll
Syntax
public static class Member

Methods

| Improve this Doc View Source

ArgList<TMember, TArgs>(IMember<TMember, Procedure<TArgs>>)

Allocates uninitialized structure for placing arguments.

Declaration
public static TArgs ArgList<TMember, TArgs>(this IMember<TMember, Procedure<TArgs>> member)

    where TMember : MemberInfo where TArgs : struct
Parameters
Type Name Description
IMember<TMember, Procedure<TArgs>> member

Callable member.

Returns
Type Description
TArgs

Allocated list of arguments.

Type Parameters
Name Description
TMember

The type of the member.

TArgs

Type of arguments list.

| Improve this Doc View Source

ArgList<TMember, TArgs, TResult>(IMember<TMember, Function<TArgs, TResult>>)

Allocates uninitialized structure for placing arguments.

Declaration
public static TArgs ArgList<TMember, TArgs, TResult>(this IMember<TMember, Function<TArgs, TResult>> member)

    where TMember : MemberInfo where TArgs : struct
Parameters
Type Name Description
IMember<TMember, Function<TArgs, TResult>> member

Callable member.

Returns
Type Description
TArgs

Allocated list of arguments.

Type Parameters
Name Description
TMember

Type of callable member.

TArgs

Type of arguments list.

TResult

Type of function result.

| Improve this Doc View Source

ArgList<TMember, T, TArgs>(IMember<TMember, Procedure<T, TArgs>>)

Allocates uninitialized structure for placing arguments.

Declaration
public static TArgs ArgList<TMember, T, TArgs>(this IMember<TMember, Procedure<T, TArgs>> member)

    where TMember : MemberInfo where TArgs : struct
Parameters
Type Name Description
IMember<TMember, Procedure<T, TArgs>> member

Callable member.

Returns
Type Description
TArgs

Allocated list of arguments.

Type Parameters
Name Description
TMember

The type of the member.

T

The type of the instance.

TArgs

Type of arguments list.

| Improve this Doc View Source

ArgList<TMember, T, TArgs, TResult>(IMember<TMember, Function<T, TArgs, TResult>>)

Allocates uninitialized structure for placing arguments.

Declaration
public static TArgs ArgList<TMember, T, TArgs, TResult>(this IMember<TMember, Function<T, TArgs, TResult>> member)

    where TMember : MemberInfo where TArgs : struct
Parameters
Type Name Description
IMember<TMember, Function<T, TArgs, TResult>> member

Callable member.

Returns
Type Description
TArgs

Allocated structure for placing arguments.

Type Parameters
Name Description
TMember

The type of the member.

T

The type of the instance.

TArgs

The type representing invocation arguments.

TResult

The return type.

| Improve this Doc View Source

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

Invokes member as action.

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

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

Callable member.

Type Parameters
Name Description
TMember

The type of the member.

| Improve this Doc View Source

Invoke<TMember, T1, T2, T3, T4, T5, T6, T7, T8, T9>(IMember<TMember, Action<T1, T2, T3, T4, T5, T6, T7, T8, T9>>, T1, T2, T3, T4, T5, T6, T7, T8, T9)

Invokes member as procedure.

Declaration
public static void Invoke<TMember, T1, T2, T3, T4, T5, T6, T7, T8, T9>(this IMember<TMember, Action<T1, T2, T3, T4, T5, T6, T7, T8, T9>> member, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9)

    where TMember : MemberInfo
Parameters
Type Name Description
IMember<TMember, Action<T1, T2, T3, T4, T5, T6, T7, T8, T9>> member

Callable member.

T1 arg1

The first procedure argument.

T2 arg2

The second procedure argument.

T3 arg3

The third procedure argument.

T4 arg4

The fourth procedure argument.

T5 arg5

The fifth procedure argument.

T6 arg6

The sixth procedure argument.

T7 arg7

The seventh procedure argument.

T8 arg8

The eighth procedure argument.

T9 arg9

The ninth procedure argument.

Type Parameters
Name Description
TMember

The type of the member.

T1

The type of the first procedure argument.

T2

The type of the second procedure argument.

T3

The type of the third procedure argument.

T4

The type of the fourth procedure argument.

T5

The type of the fifth procedure argument.

T6

The type of the sixth procedure argument.

T7

The type of the seventh procedure argument.

T8

The type of the eighth procedure argument.

T9

The type of the ninth procedure argument.

| Improve this Doc View Source

Invoke<TMember, T1, T2, T3, T4, T5, T6, T7, T8, TResult>(IMember<TMember, Func<T1, T2, T3, T4, T5, T6, T7, T8, TResult>>, T1, T2, T3, T4, T5, T6, T7, T8)

Invokes member as function.

Declaration
public static TResult Invoke<TMember, T1, T2, T3, T4, T5, T6, T7, T8, TResult>(this IMember<TMember, Func<T1, T2, T3, T4, T5, T6, T7, T8, TResult>> member, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8)

    where TMember : MemberInfo
Parameters
Type Name Description
IMember<TMember, Func<T1, T2, T3, T4, T5, T6, T7, T8, TResult>> member

Callable member.

T1 arg1

The first function argument.

T2 arg2

The second function argument.

T3 arg3

The third function argument.

T4 arg4

The fourth function argument.

T5 arg5

The fifth function argument.

T6 arg6

The sixth function argument.

T7 arg7

The seventh function argument.

T8 arg8

The eighth function argument.

Returns
Type Description
TResult

Return value.

Type Parameters
Name Description
TMember

The type of the member.

T1

The type of the first function argument.

T2

The type of the second function argument.

T3

The type of the third function argument.

T4

The type of the fourth function argument.

T5

The type of the fifth function argument.

T6

The type of the sixth function argument.

T7

The type of the seventh function argument.

T8

The type of the eighth function argument.

TResult

Type of function result.

| Improve this Doc View Source

Invoke<TMember, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(IMember<TMember, Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>>, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)

Invokes member as procedure.

Declaration
public static void Invoke<TMember, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(this IMember<TMember, Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>> member, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10)

    where TMember : MemberInfo
Parameters
Type Name Description
IMember<TMember, Action<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>> member

Callable member.

T1 arg1

The first procedure argument.

T2 arg2

The second procedure argument.

T3 arg3

The third procedure argument.

T4 arg4

The fourth procedure argument.

T5 arg5

The fifth procedure argument.

T6 arg6

The sixth procedure argument.

T7 arg7

The seventh procedure argument.

T8 arg8

The eighth procedure argument.

T9 arg9

The ninth procedure argument.

T10 arg10

The tenth procedure argument.

Type Parameters
Name Description
TMember

The type of the member.

T1

The type of the first procedure argument.

T2

The type of the second procedure argument.

T3

The type of the third procedure argument.

T4

The type of the fourth procedure argument.

T5

The type of the fifth procedure argument.

T6

The type of the sixth procedure argument.

T7

The type of the seventh procedure argument.

T8

The type of the eighth procedure argument.

T9

The type of the ninth procedure argument.

T10

The type of the tenth procedure argument.

| Improve this Doc View Source

Invoke<TMember, T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult>(IMember<TMember, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult>>, T1, T2, T3, T4, T5, T6, T7, T8, T9)

Invokes member as function.

Declaration
public static TResult Invoke<TMember, T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult>(this IMember<TMember, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult>> member, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9)

    where TMember : MemberInfo
Parameters
Type Name Description
IMember<TMember, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult>> member

Callable member.

T1 arg1

The first function argument.

T2 arg2

The second function argument.

T3 arg3

The third function argument.

T4 arg4

The fourth function argument.

T5 arg5

The fifth function argument.

T6 arg6

The sixth function argument.

T7 arg7

The seventh function argument.

T8 arg8

The eighth function argument.

T9 arg9

The ninth function argument.

Returns
Type Description
TResult

Return value.

Type Parameters
Name Description
TMember

The type of the member.

T1

The type of the first function argument.

T2

The type of the second function argument.

T3

The type of the third function argument.

T4

The type of the fourth function argument.

T5

The type of the fifth function argument.

T6

The type of the sixth function argument.

T7

The type of the seventh function argument.

T8

The type of the eighth function argument.

T9

The type of the ninth function argument.

TResult

Type of function result.

| Improve this Doc View Source

Invoke<TMember, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult>(IMember<TMember, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult>>, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)

Invokes member as function.

Declaration
public static TResult Invoke<TMember, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult>(this IMember<TMember, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult>> member, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8, T9 arg9, T10 arg10)

    where TMember : MemberInfo
Parameters
Type Name Description
IMember<TMember, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult>> member

Callable member.

T1 arg1

The first function argument.

T2 arg2

The second function argument.

T3 arg3

The third function argument.

T4 arg4

The fourth function argument.

T5 arg5

The fifth function argument.

T6 arg6

The sixth function argument.

T7 arg7

The seventh function argument.

T8 arg8

The eighth function argument.

T9 arg9

The ninth function argument.

T10 arg10

The tenth function argument.

Returns
Type Description
TResult

Return value.

Type Parameters
Name Description
TMember

The type of the member.

T1

The type of the first function argument.

T2

The type of the second function argument.

T3

The type of the third function argument.

T4

The type of the fourth function argument.

T5

The type of the fifth function argument.

T6

The type of the sixth function argument.

T7

The type of the seventh function argument.

T8

The type of the eighth function argument.

T9

The type of the ninth function argument.

T10

The type of the tenth function argument.

TResult

Type of function result.

| Improve this Doc View Source

Invoke<TMember, TResult>(IMember<TMember, Function<ValueTuple, TResult>>)

Invokes member without arguments.

Declaration
public static TResult Invoke<TMember, TResult>(this IMember<TMember, Function<ValueTuple, TResult>> member)

    where TMember : MemberInfo
Parameters
Type Name Description
IMember<TMember, Function<ValueTuple, TResult>> member

Callable member.

Returns
Type Description
TResult

Invocation result.

Type Parameters
Name Description
TMember

The type of the member.

TResult

The return type.

| Improve this Doc View Source

Invoke<TMember, TValue>(IMember<TMember, MemberGetter<TValue>>)

Gets property or field value.

Declaration
public static TValue Invoke<TMember, TValue>(this IMember<TMember, MemberGetter<TValue>> member)

    where TMember : MemberInfo
Parameters
Type Name Description
IMember<TMember, MemberGetter<TValue>> member

The property or field.

Returns
Type Description
TValue

The member value.

Type Parameters
Name Description
TMember

The type of the member.

TValue

The type of the member value.

| Improve this Doc View Source

Invoke<TMember, TValue>(IMember<TMember, MemberSetter<TValue>>, TValue)

Sets property or field.

Declaration
public static void Invoke<TMember, TValue>(this IMember<TMember, MemberSetter<TValue>> member, TValue value)

    where TMember : MemberInfo
Parameters
Type Name Description
IMember<TMember, MemberSetter<TValue>> member

The property or field.

TValue value

The new value of the field or property.

Type Parameters
Name Description
TMember

The type of the member.

TValue

The type of the member value.

| Improve this Doc View Source

Invoke<TMember, TParam>(IMember<TMember, Action<TParam>>, TParam)

Invokes member as procedure.

Declaration
public static void Invoke<TMember, TParam>(this IMember<TMember, Action<TParam>> member, TParam arg)

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

Callable member.

TParam arg

The first procedure argument.

Type Parameters
Name Description
TMember

The type of the member.

TParam

The type of the first procedure argument.

| Improve this Doc View Source

Invoke<TMember, TResult>(IMember<TMember, Func<TResult>>)

Invokes member as function.

Declaration
public static TResult Invoke<TMember, TResult>(this IMember<TMember, Func<TResult>> member)

    where TMember : MemberInfo
Parameters
Type Name Description
IMember<TMember, Func<TResult>> member

Callable member.

Returns
Type Description
TResult

Return value.

Type Parameters
Name Description
TMember

The type of the member.

TResult

Type of function result.

| Improve this Doc View Source

Invoke<TMember, TArgs, TResult>(IMember<TMember, Function<TArgs, TResult>>, TArgs)

Invokes member.

Declaration
public static TResult Invoke<TMember, TArgs, TResult>(this IMember<TMember, Function<TArgs, TResult>> member, in TArgs arguments)

    where TMember : MemberInfo where TArgs : struct
Parameters
Type Name Description
IMember<TMember, Function<TArgs, TResult>> member

Callable member.

TArgs arguments

Invocation arguments placed onto stack.

Returns
Type Description
TResult

Invocation result.

Type Parameters
Name Description
TMember

The type of the member.

TArgs

The type representing invocation arguments.

TResult

The return type.

| Improve this Doc View Source

Invoke<TMember, T, TResult>(IMember<TMember, Function<T, ValueTuple, TResult>>, T)

Invokes instance member without arguments.

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

    where TMember : MemberInfo
Parameters
Type Name Description
IMember<TMember, Function<T, ValueTuple, TResult>> member

Callable member.

T this

this argument.

Returns
Type Description
TResult

Invocation result.

Type Parameters
Name Description
TMember

The type of the member.

T

The type of the instance.

TResult

The return type.

| Improve this Doc View Source

Invoke<TMember, T, TValue>(IMember<TMember, MemberGetter<T, TValue>>, T)

Gets property or field value.

Declaration
public static TValue Invoke<TMember, T, TValue>(this IMember<TMember, MemberGetter<T, TValue>> member, in T this)

    where TMember : MemberInfo
Parameters
Type Name Description
IMember<TMember, MemberGetter<T, TValue>> member

The property or field.

T this

The object whose property or field value will be returned.

Returns
Type Description
TValue

The member value.

Type Parameters
Name Description
TMember

The type of the member.

T

The type whose property value will be returned.

TValue

The type of the member value.

| Improve this Doc View Source

Invoke<TMember, T, TValue>(IMember<TMember, MemberSetter<T, TValue>>, T, TValue)

Sets property or field.

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

    where TMember : MemberInfo
Parameters
Type Name Description
IMember<TMember, MemberSetter<T, TValue>> member

The property or field.

T this

The object whose property or field value will be set.

TValue value

The new value of the field or property.

Type Parameters
Name Description
TMember

The type of the member.

T

The type whose property or field value will be set.

TValue

The type of the member value.

| Improve this Doc View Source

Invoke<TMember, T1, T2>(IMember<TMember, Action<T1, T2>>, T1, T2)

Invokes member as procedure.

Declaration
public static void Invoke<TMember, T1, T2>(this IMember<TMember, Action<T1, T2>> member, T1 arg1, T2 arg2)

    where TMember : MemberInfo
Parameters
Type Name Description
IMember<TMember, Action<T1, T2>> member

Callable member.

T1 arg1

The first procedure argument.

T2 arg2

The second procedure argument.

Type Parameters
Name Description
TMember

The type of the member.

T1

The type of the first procedure argument.

T2

The type of the second procedure argument.

| Improve this Doc View Source

Invoke<TMember, TParam, TResult>(IMember<TMember, Func<TParam, TResult>>, TParam)

Invokes member as function.

Declaration
public static TResult Invoke<TMember, TParam, TResult>(this IMember<TMember, Func<TParam, TResult>> member, TParam arg)

    where TMember : MemberInfo
Parameters
Type Name Description
IMember<TMember, Func<TParam, TResult>> member

Callable member.

TParam arg

The first function argument.

Returns
Type Description
TResult

Return value.

Type Parameters
Name Description
TMember

The type of the member.

TParam

The type of the first function argument.

TResult

Type of function result.

| Improve this Doc View Source

Invoke<TMember, T, TArgs, TResult>(IMember<TMember, Function<T, TArgs, TResult>>, T, TArgs)

Invokes instance member.

Declaration
public static TResult Invoke<TMember, T, TArgs, TResult>(this IMember<TMember, Function<T, TArgs, TResult>> member, in T this, in TArgs arguments)

    where TMember : MemberInfo where TArgs : struct
Parameters
Type Name Description
IMember<TMember, Function<T, TArgs, TResult>> member

Callable member.

T this

The object whose member will be invoked.

TArgs arguments

Invocation arguments placed onto stack.

Returns
Type Description
TResult

Invocation result.

Type Parameters
Name Description
TMember

The type of the member.

T

The type whose member will be invoked.

TArgs

The type representing invocation arguments.

TResult

The return type.

| Improve this Doc View Source

Invoke<TMember, T1, T2, T3>(IMember<TMember, Action<T1, T2, T3>>, T1, T2, T3)

Invokes member as procedure.

Declaration
public static void Invoke<TMember, T1, T2, T3>(this IMember<TMember, Action<T1, T2, T3>> member, T1 arg1, T2 arg2, T3 arg3)

    where TMember : MemberInfo
Parameters
Type Name Description
IMember<TMember, Action<T1, T2, T3>> member

Callable member.

T1 arg1

The first procedure argument.

T2 arg2

The second procedure argument.

T3 arg3

The third procedure argument.

Type Parameters
Name Description
TMember

The type of the member.

T1

The type of the first procedure argument.

T2

The type of the second procedure argument.

T3

The type of the third procedure argument.

| Improve this Doc View Source

Invoke<TMember, T1, T2, TResult>(IMember<TMember, Func<T1, T2, TResult>>, T1, T2)

Invokes member as function.

Declaration
public static TResult Invoke<TMember, T1, T2, TResult>(this IMember<TMember, Func<T1, T2, TResult>> member, T1 arg1, T2 arg2)

    where TMember : MemberInfo
Parameters
Type Name Description
IMember<TMember, Func<T1, T2, TResult>> member

Callable member.

T1 arg1

The first function argument.

T2 arg2

The second function argument.

Returns
Type Description
TResult

Return value.

Type Parameters
Name Description
TMember

The type of the member.

T1

The type of the first function argument.

T2

The type of the second function argument.

TResult

Type of function result.

| Improve this Doc View Source

Invoke<TMember, T1, T2, T3, T4>(IMember<TMember, Action<T1, T2, T3, T4>>, T1, T2, T3, T4)

Invokes member as procedure.

Declaration
public static void Invoke<TMember, T1, T2, T3, T4>(this IMember<TMember, Action<T1, T2, T3, T4>> member, T1 arg1, T2 arg2, T3 arg3, T4 arg4)

    where TMember : MemberInfo
Parameters
Type Name Description
IMember<TMember, Action<T1, T2, T3, T4>> member

Callable member.

T1 arg1

The first procedure argument.

T2 arg2

The second procedure argument.

T3 arg3

The third procedure argument.

T4 arg4

The fourth procedure argument.

Type Parameters
Name Description
TMember

The type of the member.

T1

The type of the first procedure argument.

T2

The type of the second procedure argument.

T3

The type of the third procedure argument.

T4

The type of the fourth procedure argument.

| Improve this Doc View Source

Invoke<TMember, T1, T2, T3, TResult>(IMember<TMember, Func<T1, T2, T3, TResult>>, T1, T2, T3)

Invokes member as function.

Declaration
public static TResult Invoke<TMember, T1, T2, T3, TResult>(this IMember<TMember, Func<T1, T2, T3, TResult>> member, T1 arg1, T2 arg2, T3 arg3)

    where TMember : MemberInfo
Parameters
Type Name Description
IMember<TMember, Func<T1, T2, T3, TResult>> member

Callable member.

T1 arg1

The first function argument.

T2 arg2

The second function argument.

T3 arg3

The third function argument.

Returns
Type Description
TResult

Return value.

Type Parameters
Name Description
TMember

The type of the member.

T1

The type of the first function argument.

T2

The type of the second function argument.

T3

The type of the third function argument.

TResult

Type of function result.

| Improve this Doc View Source

Invoke<TMember, T1, T2, T3, T4, T5>(IMember<TMember, Action<T1, T2, T3, T4, T5>>, T1, T2, T3, T4, T5)

Invokes member as procedure.

Declaration
public static void Invoke<TMember, T1, T2, T3, T4, T5>(this IMember<TMember, Action<T1, T2, T3, T4, T5>> member, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5)

    where TMember : MemberInfo
Parameters
Type Name Description
IMember<TMember, Action<T1, T2, T3, T4, T5>> member

Callable member.

T1 arg1

The first procedure argument.

T2 arg2

The second procedure argument.

T3 arg3

The third procedure argument.

T4 arg4

The fourth procedure argument.

T5 arg5

The fifth procedure argument.

Type Parameters
Name Description
TMember

The type of the member.

T1

The type of the first procedure argument.

T2

The type of the second procedure argument.

T3

The type of the third procedure argument.

T4

The type of the fourth procedure argument.

T5

The type of the fifth procedure argument.

| Improve this Doc View Source

Invoke<TMember, T1, T2, T3, T4, TResult>(IMember<TMember, Func<T1, T2, T3, T4, TResult>>, T1, T2, T3, T4)

Invokes member as function.

Declaration
public static TResult Invoke<TMember, T1, T2, T3, T4, TResult>(this IMember<TMember, Func<T1, T2, T3, T4, TResult>> member, T1 arg1, T2 arg2, T3 arg3, T4 arg4)

    where TMember : MemberInfo
Parameters
Type Name Description
IMember<TMember, Func<T1, T2, T3, T4, TResult>> member

Callable member.

T1 arg1

The first function argument.

T2 arg2

The second function argument.

T3 arg3

The third function argument.

T4 arg4

The fourth function argument.

Returns
Type Description
TResult

Return value.

Type Parameters
Name Description
TMember

The type of the member.

T1

The type of the first function argument.

T2

The type of the second function argument.

T3

The type of the third function argument.

T4

The type of the fourth function argument.

TResult

Type of function result.

| Improve this Doc View Source

Invoke<TMember, T1, T2, T3, T4, T5, T6>(IMember<TMember, Action<T1, T2, T3, T4, T5, T6>>, T1, T2, T3, T4, T5, T6)

Invokes member as procedure.

Declaration
public static void Invoke<TMember, T1, T2, T3, T4, T5, T6>(this IMember<TMember, Action<T1, T2, T3, T4, T5, T6>> member, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6)

    where TMember : MemberInfo
Parameters
Type Name Description
IMember<TMember, Action<T1, T2, T3, T4, T5, T6>> member

Callable member.

T1 arg1

The first procedure argument.

T2 arg2

The second procedure argument.

T3 arg3

The third procedure argument.

T4 arg4

The fourth procedure argument.

T5 arg5

The fifth procedure argument.

T6 arg6

The sixth procedure argument.

Type Parameters
Name Description
TMember

The type of the member.

T1

The type of the first procedure argument.

T2

The type of the second procedure argument.

T3

The type of the third procedure argument.

T4

The type of the fourth procedure argument.

T5

The type of the fifth procedure argument.

T6

The type of the sixth procedure argument.

| Improve this Doc View Source

Invoke<TMember, T1, T2, T3, T4, T5, TResult>(IMember<TMember, Func<T1, T2, T3, T4, T5, TResult>>, T1, T2, T3, T4, T5)

Invokes member as function.

Declaration
public static TResult Invoke<TMember, T1, T2, T3, T4, T5, TResult>(this IMember<TMember, Func<T1, T2, T3, T4, T5, TResult>> member, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5)

    where TMember : MemberInfo
Parameters
Type Name Description
IMember<TMember, Func<T1, T2, T3, T4, T5, TResult>> member

Callable member.

T1 arg1

The first function argument.

T2 arg2

The second function argument.

T3 arg3

The third function argument.

T4 arg4

The fourth function argument.

T5 arg5

The fifth function argument.

Returns
Type Description
TResult

Return value.

Type Parameters
Name Description
TMember

The type of the member.

T1

The type of the first function argument.

T2

The type of the second function argument.

T3

The type of the third function argument.

T4

The type of the fourth function argument.

T5

The type of the fifth function argument.

TResult

Type of function result.

| Improve this Doc View Source

Invoke<TMember, T1, T2, T3, T4, T5, T6, T7>(IMember<TMember, Action<T1, T2, T3, T4, T5, T6, T7>>, T1, T2, T3, T4, T5, T6, T7)

Invokes member as procedure.

Declaration
public static void Invoke<TMember, T1, T2, T3, T4, T5, T6, T7>(this IMember<TMember, Action<T1, T2, T3, T4, T5, T6, T7>> member, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7)

    where TMember : MemberInfo
Parameters
Type Name Description
IMember<TMember, Action<T1, T2, T3, T4, T5, T6, T7>> member

Callable member.

T1 arg1

The first procedure argument.

T2 arg2

The second procedure argument.

T3 arg3

The third procedure argument.

T4 arg4

The fourth procedure argument.

T5 arg5

The fifth procedure argument.

T6 arg6

The sixth procedure argument.

T7 arg7

The seventh procedure argument.

Type Parameters
Name Description
TMember

The type of the member.

T1

The type of the first procedure argument.

T2

The type of the second procedure argument.

T3

The type of the third procedure argument.

T4

The type of the fourth procedure argument.

T5

The type of the fifth procedure argument.

T6

The type of the sixth procedure argument.

T7

The type of the seventh procedure argument.

| Improve this Doc View Source

Invoke<TMember, T1, T2, T3, T4, T5, T6, TResult>(IMember<TMember, Func<T1, T2, T3, T4, T5, T6, TResult>>, T1, T2, T3, T4, T5, T6)

Invokes member as function.

Declaration
public static TResult Invoke<TMember, T1, T2, T3, T4, T5, T6, TResult>(this IMember<TMember, Func<T1, T2, T3, T4, T5, T6, TResult>> member, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6)

    where TMember : MemberInfo
Parameters
Type Name Description
IMember<TMember, Func<T1, T2, T3, T4, T5, T6, TResult>> member

Callable member.

T1 arg1

The first function argument.

T2 arg2

The second function argument.

T3 arg3

The third function argument.

T4 arg4

The fourth function argument.

T5 arg5

The fifth function argument.

T6 arg6

The sixth function argument.

Returns
Type Description
TResult

Return value.

Type Parameters
Name Description
TMember

The type of the member.

T1

The type of the first function argument.

T2

The type of the second function argument.

T3

The type of the third function argument.

T4

The type of the fourth function argument.

T5

The type of the fifth function argument.

T6

The type of the sixth function argument.

TResult

Type of function result.

| Improve this Doc View Source

Invoke<TMember, T1, T2, T3, T4, T5, T6, T7, T8>(IMember<TMember, Action<T1, T2, T3, T4, T5, T6, T7, T8>>, T1, T2, T3, T4, T5, T6, T7, T8)

Invokes member as procedure.

Declaration
public static void Invoke<TMember, T1, T2, T3, T4, T5, T6, T7, T8>(this IMember<TMember, Action<T1, T2, T3, T4, T5, T6, T7, T8>> member, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7, T8 arg8)

    where TMember : MemberInfo
Parameters
Type Name Description
IMember<TMember, Action<T1, T2, T3, T4, T5, T6, T7, T8>> member

Callable member.

T1 arg1

The first procedure argument.

T2 arg2

The second procedure argument.

T3 arg3

The third procedure argument.

T4 arg4

The fourth procedure argument.

T5 arg5

The fifth procedure argument.

T6 arg6

The sixth procedure argument.

T7 arg7

The seventh procedure argument.

T8 arg8

The eighth procedure argument.

Type Parameters
Name Description
TMember

The type of the member.

T1

The type of the first procedure argument.

T2

The type of the second procedure argument.

T3

The type of the third procedure argument.

T4

The type of the fourth procedure argument.

T5

The type of the fifth procedure argument.

T6

The type of the sixth procedure argument.

T7

The type of the seventh procedure argument.

T8

The type of the eighth procedure argument.

| Improve this Doc View Source

Invoke<TMember, T1, T2, T3, T4, T5, T6, T7, TResult>(IMember<TMember, Func<T1, T2, T3, T4, T5, T6, T7, TResult>>, T1, T2, T3, T4, T5, T6, T7)

Invokes member as function.

Declaration
public static TResult Invoke<TMember, T1, T2, T3, T4, T5, T6, T7, TResult>(this IMember<TMember, Func<T1, T2, T3, T4, T5, T6, T7, TResult>> member, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5, T6 arg6, T7 arg7)

    where TMember : MemberInfo
Parameters
Type Name Description
IMember<TMember, Func<T1, T2, T3, T4, T5, T6, T7, TResult>> member

Callable member.

T1 arg1

The first function argument.

T2 arg2

The second function argument.

T3 arg3

The third function argument.

T4 arg4

The fourth function argument.

T5 arg5

The fifth function argument.

T6 arg6

The sixth function argument.

T7 arg7

The seventh function argument.

Returns
Type Description
TResult

Return value.

Type Parameters
Name Description
TMember

The type of the member.

T1

The type of the first function argument.

T2

The type of the second function argument.

T3

The type of the third function argument.

T4

The type of the fourth function argument.

T5

The type of the fifth function argument.

T6

The type of the sixth function argument.

T7

The type of the seventh function argument.

TResult

Type of function result.

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