메소드 | 설명 | |
---|---|---|
Bind ( ) : void |
Bind to the CLR type specified in the Init() call. If a matching method cannot be found, throw an exception.
|
|
CanBind ( ) : bool |
Return true if the CLR type specified in the Init() call has a matching method.
|
|
Equals ( object other ) : bool |
Return true if this XmlExtensionFunction has the same values as another XmlExtensionFunction.
|
|
GetClrArgumentType ( int index ) : |
Once Bind has been successfully called, the Clr type of each argument can be accessed. Note that this may be different than Method.GetParameterInfo().ParameterType.
|
|
GetHashCode ( ) : int |
Return this object's hash code, previously computed for performance.
|
|
GetXmlArgumentType ( int index ) : XmlQueryType |
Once Bind has been successfully called, the inferred Xml types of the arguments can be accessed.
|
|
Init ( string name, string namespaceUri, int numArgs, |
Initialize, but do not bind.
|
|
Invoke ( object extObj, object args ) : object |
Convert the incoming arguments to an array of CLR objects, and then invoke the external function on the "extObj" object instance.
|
|
XmlExtensionFunction ( ) : System |
Constructor.
|
|
XmlExtensionFunction ( string name, string namespaceUri, |
Constructor (directly binds to passed MethodInfo).
|
|
XmlExtensionFunction ( string name, string namespaceUri, int numArgs, |
Constructor.
|
메소드 | 설명 | |
---|---|---|
Bind ( |
Bind to the specified MethodInfo.
|
|
GetClrType ( |
1. Map enumerations to the underlying integral type. 2. Throw an exception if the type is ByRef
|
|
InferXmlType ( |
Infer an Xml type from a Clr type using Xslt infererence rules
|
public GetXmlArgumentType ( int index ) : XmlQueryType | ||
index | int | |
리턴 | XmlQueryType |
public Init ( string name, string namespaceUri, int numArgs, |
||
name | string | |
namespaceUri | string | |
numArgs | int | |
objectType | ||
flags | BindingFlags | |
리턴 | void |
public Invoke ( object extObj, object args ) : object | ||
extObj | object | |
args | object | |
리턴 | object |
public XmlExtensionFunction ( string name, string namespaceUri, |
||
name | string | |
namespaceUri | string | |
meth | ||
리턴 | System |
public XmlExtensionFunction ( string name, string namespaceUri, int numArgs, |
||
name | string | |
namespaceUri | string | |
numArgs | int | |
objectType | ||
flags | BindingFlags | |
리턴 | System |