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
diff options
context:
space:
mode:
authorGert Driesen <drieseng@users.sourceforge.net>2006-12-30 17:42:05 +0300
committerGert Driesen <drieseng@users.sourceforge.net>2006-12-30 17:42:05 +0300
commit818621de720ec88dd471e4cdc04de867dc954ccd (patch)
treeda581885aa6b61f65b4f52b7427e21a85af100d6 /mcs/class/System.Management
parent89da912fd48e4f549f88b572d6de4ff4c5f6ba67 (diff)
* ManagementObjectSearcher.cs: Stubbed out.
* ManagementQuery.cs: Stubbed out. * ObjectQuery.cs: Stubbed out. * System.Management.dll.sources: Added ManagementObjectSearcher.cs, ManagementQuery.cs, ObjectQuery.cs. svn path=/trunk/mcs/; revision=70255
Diffstat (limited to 'mcs/class/System.Management')
-rw-r--r--mcs/class/System.Management/ChangeLog5
-rw-r--r--mcs/class/System.Management/System.Management.dll.sources3
-rw-r--r--mcs/class/System.Management/System.Management/ChangeLog6
-rw-r--r--mcs/class/System.Management/System.Management/ManagementObjectSearcher.cs115
-rw-r--r--mcs/class/System.Management/System.Management/ManagementQuery.cs70
-rw-r--r--mcs/class/System.Management/System.Management/ObjectQuery.cs60
6 files changed, 259 insertions, 0 deletions
diff --git a/mcs/class/System.Management/ChangeLog b/mcs/class/System.Management/ChangeLog
index 2b0812e7c66..edd43a11a1c 100644
--- a/mcs/class/System.Management/ChangeLog
+++ b/mcs/class/System.Management/ChangeLog
@@ -1,5 +1,10 @@
2006-12-30 Gert Driesen <drieseng@users.sourceforge.net>
+ * System.Management.dll.sources: Added ManagementObjectSearcher.cs,
+ ManagementQuery.cs, ObjectQuery.cs.
+
+2006-12-30 Gert Driesen <drieseng@users.sourceforge.net>
+
* System.Management.dll.sources: Added CodeLanguage.cs,
ManagementClass.cs, MethodData.cs, MethodDataCollection.cs.
diff --git a/mcs/class/System.Management/System.Management.dll.sources b/mcs/class/System.Management/System.Management.dll.sources
index c01f822b64e..8b50e8593ea 100644
--- a/mcs/class/System.Management/System.Management.dll.sources
+++ b/mcs/class/System.Management/System.Management.dll.sources
@@ -18,9 +18,11 @@ System.Management/ManagementEventArgs.cs
System.Management/ManagementNamedValueCollection.cs
System.Management/ManagementObject.cs
System.Management/ManagementObjectCollection.cs
+System.Management/ManagementObjectSearcher.cs
System.Management/ManagementOperationObserver.cs
System.Management/ManagementOptions.cs
System.Management/ManagementPath.cs
+System.Management/ManagementQuery.cs
System.Management/ManagementScope.cs
System.Management/ManagementStatus.cs
System.Management/MethodData.cs
@@ -28,6 +30,7 @@ System.Management/MethodDataCollection.cs
System.Management/ObjectGetOptions.cs
System.Management/ObjectPutEventArgs.cs
System.Management/ObjectPutEventHandler.cs
+System.Management/ObjectQuery.cs
System.Management/ObjectReadyEventArgs.cs
System.Management/ObjectReadyEventHandler.cs
System.Management/ProgressEventArgs.cs
diff --git a/mcs/class/System.Management/System.Management/ChangeLog b/mcs/class/System.Management/System.Management/ChangeLog
index 75e2a898ec2..e1d9536d374 100644
--- a/mcs/class/System.Management/System.Management/ChangeLog
+++ b/mcs/class/System.Management/System.Management/ChangeLog
@@ -1,5 +1,11 @@
2006-12-30 Gert Driesen <drieseng@users.sourceforge.net>
+ * ManagementObjectSearcher.cs: Stubbed out.
+ * ManagementQuery.cs: Stubbed out.
+ * ObjectQuery.cs: Stubbed out.
+
+2006-12-30 Gert Driesen <drieseng@users.sourceforge.net>
+
* CodeLanguage.cs: Stubbed out.
* ManagementClass.cs: Stubbed out.
* MethodData.cs: Stubbed out.
diff --git a/mcs/class/System.Management/System.Management/ManagementObjectSearcher.cs b/mcs/class/System.Management/System.Management/ManagementObjectSearcher.cs
new file mode 100644
index 00000000000..f83f66f4db4
--- /dev/null
+++ b/mcs/class/System.Management/System.Management/ManagementObjectSearcher.cs
@@ -0,0 +1,115 @@
+//
+// System.Management.ManagementQuery
+//
+// Authors:
+// Gert Driesen (drieseng@users.sourceforge.net)
+//
+// (C) 2006 Gert Driesen
+//
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+using System.ComponentModel;
+
+namespace System.Management
+{
+ [MonoTODO ("System.Management is not implemented")]
+ [ToolboxItem (false)]
+ public class ManagementObjectSearcher : Component
+ {
+ public ManagementObjectSearcher ()
+ {
+ throw CreateNotImplementedException ();
+ }
+
+ public ManagementObjectSearcher (ObjectQuery query)
+ {
+ throw CreateNotImplementedException ();
+ }
+
+ public ManagementObjectSearcher (string queryString)
+ {
+ throw CreateNotImplementedException ();
+ }
+
+ public ManagementObjectSearcher (ManagementScope scope, ObjectQuery query)
+ {
+ throw CreateNotImplementedException ();
+ }
+
+ public ManagementObjectSearcher (string scope, string queryString)
+ {
+ throw CreateNotImplementedException ();
+ }
+
+ public ManagementObjectSearcher (ManagementScope scope, ObjectQuery query, EnumerationOptions options)
+ {
+ throw CreateNotImplementedException ();
+ }
+
+ public ManagementObjectSearcher (string scope, string queryString, EnumerationOptions options)
+ {
+ throw CreateNotImplementedException ();
+ }
+
+ public EnumerationOptions Options {
+ get {
+ throw CreateNotImplementedException ();
+ }
+ set {
+ throw CreateNotImplementedException ();
+ }
+ }
+
+ public ObjectQuery Query {
+ get {
+ throw CreateNotImplementedException ();
+ }
+ set {
+ throw CreateNotImplementedException ();
+ }
+ }
+
+ public ManagementScope Scope {
+ get {
+ throw CreateNotImplementedException ();
+ }
+ set {
+ throw CreateNotImplementedException ();
+ }
+ }
+
+ public ManagementObjectCollection Get ()
+ {
+ throw CreateNotImplementedException ();
+ }
+
+ public void Get (ManagementOperationObserver watcher)
+ {
+ throw CreateNotImplementedException ();
+ }
+
+ private static NotImplementedException CreateNotImplementedException ()
+ {
+ return new NotImplementedException ("System.Management is not implemented.");
+ }
+ }
+}
diff --git a/mcs/class/System.Management/System.Management/ManagementQuery.cs b/mcs/class/System.Management/System.Management/ManagementQuery.cs
new file mode 100644
index 00000000000..66a0f7c432c
--- /dev/null
+++ b/mcs/class/System.Management/System.Management/ManagementQuery.cs
@@ -0,0 +1,70 @@
+//
+// System.Management.ManagementQuery
+//
+// Authors:
+// Gert Driesen (drieseng@users.sourceforge.net)
+//
+// (C) 2006 Gert Driesen
+//
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+using System;
+
+namespace System.Management
+{
+ [MonoTODO ("System.Management is not implemented")]
+ public abstract class ManagementQuery : ICloneable
+ {
+ internal ManagementQuery ()
+ {
+ }
+
+ static ManagementQuery ()
+ {
+ }
+
+ public virtual string QueryLanguage {
+ get {
+ throw CreateNotImplementedException ();
+ }
+ set {
+ throw CreateNotImplementedException ();
+ }
+ }
+
+ public virtual string QueryString {
+ get {
+ throw CreateNotImplementedException ();
+ }
+ set {
+ throw CreateNotImplementedException ();
+ }
+ }
+
+ public abstract object Clone ();
+
+ private static NotImplementedException CreateNotImplementedException ()
+ {
+ return new NotImplementedException ("System.Management is not implemented.");
+ }
+ }
+}
diff --git a/mcs/class/System.Management/System.Management/ObjectQuery.cs b/mcs/class/System.Management/System.Management/ObjectQuery.cs
new file mode 100644
index 00000000000..1baf61bb3d6
--- /dev/null
+++ b/mcs/class/System.Management/System.Management/ObjectQuery.cs
@@ -0,0 +1,60 @@
+//
+// System.Management.ObjectQuery
+//
+// Authors:
+// Gert Driesen (drieseng@users.sourceforge.net)
+//
+// (C) 2006 Gert Driesen
+//
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+namespace System.Management
+{
+ [MonoTODO ("System.Management is not implemented")]
+ public class ObjectQuery : ManagementQuery
+ {
+ public ObjectQuery ()
+ {
+ throw CreateNotImplementedException ();
+ }
+
+ public ObjectQuery (string query)
+ {
+ throw CreateNotImplementedException ();
+ }
+
+ public ObjectQuery (string language, string query)
+ {
+ throw CreateNotImplementedException ();
+ }
+
+ public override object Clone ()
+ {
+ throw CreateNotImplementedException ();
+ }
+
+ private static NotImplementedException CreateNotImplementedException ()
+ {
+ return new NotImplementedException ("System.Management is not implemented.");
+ }
+ }
+}