Click or drag to resize

Utility Class

Utility class for reflection parsing and delegate creation
Inheritance Hierarchy
SystemObject
  EventsPlusUtility

Namespace:  EventsPlus
Assembly:  EventsPlus (in EventsPlus.dll) Version: 1.0.6678.17824
Syntax
C#
public static class Utility

The Utility type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCreateActionCall
Factory function that tries to create a delegate that passes predefined arguments into a method without a return type
Public methodStatic memberCreateActionDelegate
Factory function that tries to create a delegate for a method without a return type
Public methodStatic memberCreateCall
Factory helper that will try to create a delegate that passes predefined arguments into a method
Public methodStatic memberCreateCall1A
Tries to create a delegate that will pass 1 predefined argument into a method
Public methodStatic memberCreateCall2A, B
Tries to create a delegate that will pass 2 predefined arguments into a method
Public methodStatic memberCreateCall3A, B, C
Tries to create a delegate that will pass 3 predefined arguments into a method
Public methodStatic memberCreateCall4A, B, C, D
Tries to create a delegate that will pass 4 predefined arguments into a method
Public methodStatic memberCreateCall5A, B, C, D, E
Tries to create a delegate that will pass 5 predefined arguments into a method
Public methodStatic memberCreateCall6A, B, C, D, E, F
Tries to create a delegate that will pass 6 predefined arguments into a method
Public methodStatic memberCreateDelegate(Object, FieldInfo)
Creates a delegate for a variable
Public methodStatic memberCreateDelegate(Object, PropertyInfo)
Creates a delegate for a property
Public methodStatic memberCreateDelegate(Object, MethodInfo, Type, FuncObject, MethodInfo, Type, Delegate, FuncObject, MethodInfo, Type, Delegate)
Factory helper that will try to create a delegate for a method
Public methodStatic memberCreateFieldActionT, A
Tries to create a 2-parameter delegate for a variable
Public methodStatic memberCreateFieldCallT, A
Tries to create a delegate that will set a variable to a predefined argument value
Public methodStatic memberCreateFieldSingleActionT, A
Tries to create a 1-parameter delegate for a variable
Public methodStatic memberCreateFuncActionR
Tries to create a 0-parameter delegate for a return-type method
Public methodStatic memberCreateFuncAction1A, R
Tries to create a 1-parameter delegate for a return-type method
Public methodStatic memberCreateFuncAction2A, B, R
Tries to create a 2-parameter delegate for a return-type method
Public methodStatic memberCreateFuncAction3A, B, C, R
Tries to create a 3-parameter delegate for a return-type method
Public methodStatic memberCreateFuncAction4A, B, C, D, R
Tries to create a 4-parameter delegate for a return-type method
Public methodStatic memberCreateFuncAction5A, B, C, D, E, R
Tries to create a 5-parameter delegate for a return-type method
Public methodStatic memberCreateFuncAction6A, B, C, D, E, F, R
Tries to create a 6-parameter delegate for a return-type method
Public methodStatic memberCreateFuncCall
Factory function that tries to create a delegate that passes predefined arguments into a method with a return type
Public methodStatic memberCreateFuncCall1A, R
Tries to create a delegate that will pass 1 predefined argument into a method with a return type
Public methodStatic memberCreateFuncCall2A, B, R
Tries to create a delegate that will pass 2 predefined arguments into a method with a return type
Public methodStatic memberCreateFuncCall3A, B, C, R
Tries to create a delegate that will pass 3 predefined arguments into a method with a return type
Public methodStatic memberCreateFuncCall4A, B, C, D, R
Tries to create a delegate that will pass 4 predefined arguments into a method with a return type
Public methodStatic memberCreateFuncCall5A, B, C, D, E, R
Tries to create a delegate that will pass 5 predefined arguments into a method with a return type
Public methodStatic memberCreateFuncCall6A, B, C, D, E, F, R
Tries to create a delegate that will pass 6 predefined arguments into a method with a return type
Public methodStatic memberCreateFuncDelegate
Factory function that tries to create a delegate for a method with a return type
Public methodStatic memberGetNullableVariableT
Tries to retrieve the value from a nullable instance variable via reflection
Public methodStatic memberGetVariableT
Tries to retrieve the value from an instance variable via reflection
Public methodStatic memberReadReflectionData
Reads serialized delegate data and decomposes it out into the necessary parts for creating a delegate
Public methodStatic memberWriteReflectionData
Converts delegate data into a compressed, serializable format
Top
See Also