Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/mcs/class
diff options
context:
space:
mode:
authorAtsushi Eno <atsushieno@gmail.com>2004-09-01 10:48:41 +0400
committerAtsushi Eno <atsushieno@gmail.com>2004-09-01 10:48:41 +0400
commit4bdfbfea8a925a908400f6d83c0d483a3b14bc10 (patch)
treee027a845cfdd701ff7f636ab2f59a1cb55775814 /mcs/class
parent3c9120a6dcc4c10459d6c1820bb5b867c2df3c5e (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-xmcs/class/System.Data.SqlXml/System.Xml.Query/ChangeLog5
-rwxr-xr-xmcs/class/System.Data.SqlXml/System.Xml.Query/XQueryCommand.cs10
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