C# Class ExcelDna.Loader.XlMethodInfo

Exibir arquivo Open project: Excel-DNA/ExcelDna Class Usage Examples

Public Properties

Property Type Description
Category string
DelegateHandle System.Runtime.InteropServices.GCHandle
Description string
ExplicitRegistration bool
FunctionPointer System.IntPtr
HelpTopic string
Index int
IsClusterSafe bool
IsCommand bool
IsExceptionSafe bool
IsHidden bool
IsMacroType bool
IsThreadSafe bool
IsVolatile bool
MenuName string
MenuText string
Name string
Parameters ExcelDna.Loader.XlParameterInfo[]
RegisterId double
ReturnType XlParameterInfo
ShortCut string
SuppressOverwriteError bool

Private Properties

Property Type Description
CreateDelegateAndFunctionPointer void
CreateDelegateType System.Type
CreateDelegateTypeAndMethodInfo void
CreateMethodInfo System.Reflection.MethodInfo
FixHelpTopic void
SetAttributeInfo void
XlMethodInfo System

Public Methods

Method Description
ConvertToXlMethodInfos ( List methods, List targets, List methodAttributes, List argumentAttributes ) : List
GetMethodAttributes ( List methodInfos, List &methodAttributes, List &argumentAttributes ) : void

Private Methods

Method Description
CreateDelegateAndFunctionPointer ( Type wrapperType ) : void
CreateDelegateType ( ModuleBuilder modBuilder ) : Type
CreateDelegateTypeAndMethodInfo ( ModuleBuilder moduleBuilder, TypeBuilder wrapperTypeBuilder, MethodInfo targetMethod, object target ) : void
CreateMethodInfo ( TypeBuilder wrapperType, Type delegateType, MethodInfo targetMethod, object target ) : MethodInfo
FixHelpTopic ( ) : void
SetAttributeInfo ( object attrib ) : void
XlMethodInfo ( MethodInfo targetMethod, object target, object methodAttribute, List argumentAttributes ) : System

Method Details

ConvertToXlMethodInfos() public static method

public static ConvertToXlMethodInfos ( List methods, List targets, List methodAttributes, List argumentAttributes ) : List
methods List
targets List
methodAttributes List
argumentAttributes List
return List

GetMethodAttributes() public static method

public static GetMethodAttributes ( List methodInfos, List &methodAttributes, List &argumentAttributes ) : void
methodInfos List
methodAttributes List
argumentAttributes List
return void

Property Details

Category public_oe property

public string Category
return string

DelegateHandle public_oe property

public GCHandle,System.Runtime.InteropServices DelegateHandle
return System.Runtime.InteropServices.GCHandle

Description public_oe property

public string Description
return string

ExplicitRegistration public_oe property

public bool ExplicitRegistration
return bool

FunctionPointer public_oe property

public IntPtr,System FunctionPointer
return System.IntPtr

HelpTopic public_oe property

public string HelpTopic
return string

Index public_oe static_oe property

public static int Index
return int

IsClusterSafe public_oe property

public bool IsClusterSafe
return bool

IsCommand public_oe property

public bool IsCommand
return bool

IsExceptionSafe public_oe property

public bool IsExceptionSafe
return bool

IsHidden public_oe property

public bool IsHidden
return bool

IsMacroType public_oe property

public bool IsMacroType
return bool

IsThreadSafe public_oe property

public bool IsThreadSafe
return bool

IsVolatile public_oe property

public bool IsVolatile
return bool

MenuName public_oe property

public string MenuName
return string

MenuText public_oe property

public string MenuText
return string

Name public_oe property

public string Name
return string

Parameters public_oe property

public XlParameterInfo[],ExcelDna.Loader Parameters
return ExcelDna.Loader.XlParameterInfo[]

RegisterId public_oe property

public double RegisterId
return double

ReturnType public_oe property

public XlParameterInfo,ExcelDna.Loader ReturnType
return XlParameterInfo

ShortCut public_oe property

public string ShortCut
return string

SuppressOverwriteError public_oe property

public bool SuppressOverwriteError
return bool