diff options
author | Atsushi Eno <atsushieno@gmail.com> | 2004-09-01 10:48:41 +0400 |
---|---|---|
committer | Atsushi Eno <atsushieno@gmail.com> | 2004-09-01 10:48:41 +0400 |
commit | 4bdfbfea8a925a908400f6d83c0d483a3b14bc10 (patch) | |
tree | e027a845cfdd701ff7f636ab2f59a1cb55775814 /mcs/class | |
parent | 3c9120a6dcc4c10459d6c1820bb5b867c2df3c5e (diff) |
2004-09-01 Atsushi Enomoto <atsushi@ximian.com>
* XQueryCommand.cs : Forgot to commit. sys.xml internal class now
requires this instance for message delegating (not complete though).
svn path=/trunk/mcs/; revision=33138
Diffstat (limited to 'mcs/class')
-rwxr-xr-x | mcs/class/System.Data.SqlXml/System.Xml.Query/ChangeLog | 5 | ||||
-rwxr-xr-x | mcs/class/System.Data.SqlXml/System.Xml.Query/XQueryCommand.cs | 10 |
2 files changed, 13 insertions, 2 deletions
diff --git a/mcs/class/System.Data.SqlXml/System.Xml.Query/ChangeLog b/mcs/class/System.Data.SqlXml/System.Xml.Query/ChangeLog index c560282d9eb..168fdbe8459 100755 --- a/mcs/class/System.Data.SqlXml/System.Xml.Query/ChangeLog +++ b/mcs/class/System.Data.SqlXml/System.Xml.Query/ChangeLog @@ -1,3 +1,8 @@ +2004-09-01 Atsushi Enomoto <atsushi@ximian.com> + + * XQueryCommand.cs : Forgot to commit. sys.xml internal class now + requires this instance for message delegating (not complete though). + 2004-08-25 Atsushi Enomoto <atsushi@ximian.com> * XQueryCommand.cs : Reverted. "context item is nothing" should be diff --git a/mcs/class/System.Data.SqlXml/System.Xml.Query/XQueryCommand.cs b/mcs/class/System.Data.SqlXml/System.Xml.Query/XQueryCommand.cs index e1ce930a58c..adc423e603b 100755 --- a/mcs/class/System.Data.SqlXml/System.Xml.Query/XQueryCommand.cs +++ b/mcs/class/System.Data.SqlXml/System.Xml.Query/XQueryCommand.cs @@ -51,7 +51,7 @@ namespace System.Xml.Query static XQueryCommand ()
{
- implType = typeof (XPathNavigator).Assembly.GetType ("Mono.Xml.XQuery.XQueryCommandImpl");
+ implType = typeof (XPathNavigator).Assembly.GetType ("Mono.Xml.XPath2.XQueryCommandImpl");
compileMethod = implType.GetMethod ("Compile");
executeMethod = implType.GetMethod ("Execute");
if (compileMethod == null)
@@ -72,6 +72,12 @@ namespace System.Xml.Query object impl;
+ #region Event
+
+ public event QueryEventHandler OnMessageEvent;
+
+ #endregion
+
#region Methods
// Compile
@@ -96,7 +102,7 @@ namespace System.Xml.Query [MonoTODO]
public void Compile (TextReader query, Evidence evidence)
{
- compileMethod.Invoke (impl, new object [] {query, evidence});
+ compileMethod.Invoke (impl, new object [] {query, evidence, this});
}
// Execute
|