Imported Upstream version 3.6.0

Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
This commit is contained in:
Jo Shields
2014-08-13 10:39:27 +01:00
commit a575963da9
50588 changed files with 8155799 additions and 0 deletions

View File

@@ -0,0 +1,59 @@
//
// AssemblyInfo.cs
//
// Author:
// Andreas Nahr (ClassDevelopment@A-SoftTech.com)
//
// (C) 2003 Ximian, Inc. http://www.ximian.com
//
//
// 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;
using System.Reflection;
using System.Resources;
using System.Security;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about the System.Management assembly
[assembly: AssemblyTitle ("System.Management.dll")]
[assembly: AssemblyDescription ("System.Management.dll")]
[assembly: AssemblyDefaultAlias ("System.Management.dll")]
[assembly: AssemblyCompany (Consts.MonoCompany)]
[assembly: AssemblyProduct (Consts.MonoProduct)]
[assembly: AssemblyCopyright (Consts.MonoCopyright)]
[assembly: AssemblyVersion (Consts.FxVersion)]
[assembly: SatelliteContractVersion (Consts.FxVersion)]
[assembly: AssemblyInformationalVersion (Consts.FxFileVersion)]
[assembly: NeutralResourcesLanguage ("en-US")]
[assembly: ComVisible (false)]
[assembly: CLSCompliant (true)]
[assembly: AssemblyDelaySign (true)]
[assembly: AssemblyKeyFile("../msfinal.pub")]
[assembly: AssemblyFileVersion (Consts.FxFileVersion)]
[assembly: CompilationRelaxations (CompilationRelaxations.NoStringInterning)]

View File

@@ -0,0 +1,9 @@
2008-04-23 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* AssemblyInfo.cs: Added missing attributes
2004-04-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* AssemblyInfo.cs: Added
* ChangeLog: Added
* Locale.cs: Added

View File

@@ -0,0 +1,26 @@
2007-10-03 Atsushi Enomoto <atsushi@ximian.com>
* System.Management.dll.sources : updated to have all 1.1/2.0 types.
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.
2004-04-06 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* System.Management.dll.sources: Sorted, added assemblyinfos
2003-03-20 Martin Willemoes Hansen <mwh@sysrq.dk>
* Stubed out System.Management.Instrumentation
2003-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* list: added new files.

View File

@@ -0,0 +1,9 @@
thisdir = class/System.Management
SUBDIRS =
include ../../build/rules.make
LIBRARY = System.Management.dll
LIB_MCS_FLAGS = /r:$(corlib) /r:System.dll /r:System.Configuration.Install.dll
NO_TEST = yes
include ../../build/library.make

View File

@@ -0,0 +1,46 @@
//
// System.Management.Instrumentation.BaseEvent
//
// Authors:
// Martin Willemoes Hansen (mwh@sysrq.dk)
//
// (C) 2003 Martin Willemoes Hansen
//
//
// 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.Instrumentation
{
[InstrumentationClass (InstrumentationType.Event)]
public abstract class BaseEvent : IEvent {
[MonoTODO]
protected BaseEvent()
{
}
[MonoTODO]
public void Fire()
{
throw new NotImplementedException();
}
}
}

View File

@@ -0,0 +1,41 @@
//
// System.Management.Instrumentation.DefaultManagementProjectInstaller
//
// Authors:
// Martin Willemoes Hansen (mwh@sysrq.dk)
//
// (C) 2003 Martin Willemoes Hansen
//
//
// 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.Configuration.Install;
namespace System.Management.Instrumentation
{
public class DefaultManagementProjectInstaller : Installer {
[MonoTODO]
public DefaultManagementProjectInstaller()
{
}
}
}

View File

@@ -0,0 +1,36 @@
//
// System.Management.Instrumentation.IEvent
//
// Authors:
// Martin Willemoes Hansen (mwh@sysrq.dk)
//
// (C) 2003 Martin Willemoes Hansen
//
//
// 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.Instrumentation
{
public interface IEvent {
void Fire();
}
}

View File

@@ -0,0 +1,39 @@
//
// System.Management.Instrumentation.IInstance
//
// Authors:
// Martin Willemoes Hansen (mwh@sysrq.dk)
//
// (C) 2003 Martin Willemoes Hansen
//
//
// 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.Instrumentation
{
public interface IInstance {
bool Published {
get;
set;
}
}
}

View File

@@ -0,0 +1,42 @@
//
// System.Management.Instrumentation.IgnoreMemberAttribute
//
// Authors:
// Martin Willemoes Hansen (mwh@sysrq.dk)
//
// (C) 2003 Martin Willemoes Hansen
//
//
// 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.Instrumentation
{
[AttributeUsage (AttributeTargets.Method |
AttributeTargets.Property |
AttributeTargets.Field)]
public class IgnoreMemberAttribute : Attribute {
[MonoTODO]
public IgnoreMemberAttribute()
{
}
}
}

View File

@@ -0,0 +1,48 @@
//
// System.Management.Instrumentation.Instance
//
// Authors:
// Martin Willemoes Hansen (mwh@sysrq.dk)
//
// (C) 2003 Martin Willemoes Hansen
//
//
// 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.Instrumentation
{
[InstrumentationClass (InstrumentationType.Instance)]
public abstract class Instance : IInstance {
bool published;
[MonoTODO]
protected Instance ()
{
}
[IgnoreMember]
public bool Published {
get { return published; }
set { published = value; }
}
}
}

View File

@@ -0,0 +1,79 @@
//
// System.Management.Instrumentation.Instrumentation
//
// Authors:
// Martin Willemoes Hansen (mwh@sysrq.dk)
//
// (C) 2003 Martin Willemoes Hansen
//
//
// 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.Reflection;
namespace System.Management.Instrumentation
{
public class Instrumentation {
[MonoTODO]
public Instrumentation()
{
}
[MonoTODO]
public static void Fire (object eventData)
{
throw new NotImplementedException();
}
[MonoTODO]
public static bool IsAssemblyRegistered (Assembly assemblyToRegister)
{
throw new NotImplementedException();
}
[MonoTODO]
public static void Publish (object instanceData)
{
throw new NotImplementedException();
}
[MonoTODO]
public static void RegisterAssembly (Assembly assemblyToRegister)
{
throw new NotImplementedException();
}
[MonoTODO]
public static void Revoke (object instanceData)
{
throw new NotImplementedException();
}
[MonoTODO]
public static void SetBatchSize (Type instrumentationClass,
int batchSize)
{
throw new NotImplementedException();
}
}
}

View File

@@ -0,0 +1,65 @@
//
// System.Management.Instrumentation.InstrumentationClassAttribute
//
// Authors:
// Martin Willemoes Hansen (mwh@sysrq.dk)
//
// (C) 2003 Martin Willemoes Hansen
//
//
// 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.Instrumentation
{
[AttributeUsage(AttributeTargets.Class |
AttributeTargets.Struct)]
public class InstrumentationClassAttribute : Attribute {
public InstrumentationClassAttribute (InstrumentationType instrumentationType)
{
_instrumentationType = instrumentationType;
}
public InstrumentationClassAttribute (InstrumentationType instrumentationType, string managedBaseClassName)
{
_instrumentationType = instrumentationType;
_managedBaseClassName = managedBaseClassName;
}
public InstrumentationType InstrumentationType {
get {
return _instrumentationType;
}
}
public string ManagedBaseClassName {
get {
if (_managedBaseClassName == null || _managedBaseClassName.Length == 0)
return null;
return _managedBaseClassName;
}
}
private InstrumentationType _instrumentationType;
private string _managedBaseClassName;
}
}

View File

@@ -0,0 +1,39 @@
//
// System.Management.Instrumentation.InstrumentationType
//
// Authors:
// Martin Willemoes Hansen (mwh@sysrq.dk)
//
// (C) 2003 Martin Willemoes Hansen
//
//
// 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.Instrumentation
{
public enum InstrumentationType
{
Abstract = 2,
Event = 1,
Instance = 0,
}
}

View File

@@ -0,0 +1,61 @@
//
// System.Management.Instrumentation.InstrumentedAttribute
//
// Authors:
// Martin Willemoes Hansen (mwh@sysrq.dk)
//
// (C) 2003 Martin Willemoes Hansen
//
//
// 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.Instrumentation
{
[AttributeUsage(AttributeTargets.Assembly)]
public class InstrumentedAttribute : Attribute {
[MonoTODO]
public InstrumentedAttribute()
{
}
[MonoTODO]
public InstrumentedAttribute (string namespaceName) : this(namespaceName, null)
{
}
[MonoTODO]
public InstrumentedAttribute (string namespaceName, string securityDescriptor)
{
}
public string NamespaceName {
[MonoTODO]
get { throw new NotImplementedException(); }
}
public string SecurityDescriptor {
[MonoTODO]
get { throw new NotImplementedException(); }
}
}
}

View File

@@ -0,0 +1,52 @@
//
// System.Management.Instrumentation.ManagedNameAttribute
//
// Authors:
// Martin Willemoes Hansen (mwh@sysrq.dk)
//
// (C) 2003 Martin Willemoes Hansen
//
//
// 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.Instrumentation
{
[AttributeUsage(AttributeTargets.Class |
AttributeTargets.Struct |
AttributeTargets.Method |
AttributeTargets.Property |
AttributeTargets.Field)]
public class ManagedNameAttribute : Attribute {
public ManagedNameAttribute (string name)
{
_name = name;
}
public string Name {
get {
return _name;
}
}
private string _name;
}
}

View File

@@ -0,0 +1,71 @@
//
// System.Management.Instrumentation.ManagementInstaller
//
// Authors:
// Martin Willemoes Hansen (mwh@sysrq.dk)
//
// (C) 2003 Martin Willemoes Hansen
//
//
// 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.Configuration.Install;
using System.Collections;
namespace System.Management.Instrumentation
{
public class ManagementInstaller : Installer {
[MonoTODO]
public ManagementInstaller()
{
}
[MonoTODO]
public override string HelpText {
get { throw new NotImplementedException(); }
}
[MonoTODO]
public override void Commit (IDictionary savedState)
{
throw new NotImplementedException();
}
[MonoTODO]
public override void Install (IDictionary savedState)
{
throw new NotImplementedException();
}
[MonoTODO]
public override void Rollback (IDictionary savedState)
{
throw new NotImplementedException();
}
[MonoTODO]
public override void Uninstall (IDictionary savedState)
{
throw new NotImplementedException();
}
}
}

View File

@@ -0,0 +1,71 @@
../../build/common/Consts.cs
../../build/common/Locale.cs
../../build/common/MonoTODOAttribute.cs
Assembly/AssemblyInfo.cs
System.Management/AuthenticationLevel.cs
System.Management/CimType.cs
System.Management/CodeLanguage.cs
System.Management/ComparisonSettings.cs
System.Management/CompletedEventArgs.cs
System.Management/CompletedEventHandler.cs
System.Management/ConnectionOptions.cs
System.Management/DeleteOptions.cs
System.Management/EnumerationOptions.cs
System.Management/EventArrivedEventArgs.cs
System.Management/EventArrivedEventHandler.cs
System.Management/EventQuery.cs
System.Management/EventWatcherOptions.cs
System.Management/ImpersonationLevel.cs
System.Management/InvokeMethodOptions.cs
System.Management/ManagementBaseObject.cs
System.Management/ManagementClass.cs
System.Management/ManagementDateTimeConverter.cs
System.Management/ManagementEventArgs.cs
System.Management/ManagementEventWatcher.cs
System.Management/ManagementException.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
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
System.Management/ProgressEventHandler.cs
System.Management/PropertyData.cs
System.Management/PropertyDataCollection.cs
System.Management/PutOptions.cs
System.Management/PutType.cs
System.Management/QualifierData.cs
System.Management/QualifierDataCollection.cs
System.Management/RelatedObjectQuery.cs
System.Management/RelationshipQuery.cs
System.Management/SelectQuery.cs
System.Management/StoppedEventArgs.cs
System.Management/StoppedEventHandler.cs
System.Management/TextFormat.cs
System.Management/WqlEventQuery.cs
System.Management/WqlObjectQuery.cs
System.Management.Instrumentation/BaseEvent.cs
System.Management.Instrumentation/DefaultManagementProjectInstaller.cs
System.Management.Instrumentation/IEvent.cs
System.Management.Instrumentation/IInstance.cs
System.Management.Instrumentation/IgnoreMemberAttribute.cs
System.Management.Instrumentation/Instance.cs
System.Management.Instrumentation/Instrumentation.cs
System.Management.Instrumentation/InstrumentationClassAttribute.cs
System.Management.Instrumentation/InstrumentationType.cs
System.Management.Instrumentation/InstrumentedAttribute.cs
System.Management.Instrumentation/ManagedNameAttribute.cs
System.Management.Instrumentation/ManagementInstaller.cs

View File

@@ -0,0 +1,44 @@
//
// System.Management.AuthenticationLevel
//
// Authors:
// Gonzalo Paniagua Javier (gonzalo@ximian.com)
//
// (C) 2003 Ximian, Inc (http://www.ximian.com)
//
//
// 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
{
public enum AuthenticationLevel
{
Unchanged = -1,
Default = 0,
None = 1,
Connect = 2,
Call = 3,
Packet = 4,
PacketIntegrity = 5,
PacketPrivacy = 6
}
}

View File

@@ -0,0 +1,87 @@
2007-10-03 Atsushi Enomoto <atsushi@ximian.com>
* EventArrivedEventArgs.cs, EventArrivedEventHandler.cs,
EventQuery.cs, EventWatcherOptions.cs, ManagementQuery.cs,
RelatedObjectQuery.cs, RelationshipQuery.cs, SelectQuery.cs,
StoppedEventArgs.cs, StoppedEventHandler.cs, WqlEventQuery.cs,
WqlObjectQuery.cs :
oops, actually they are also included in 1.1 profile.
2007-10-03 Atsushi Enomoto <atsushi@ximian.com>
* EventArrivedEventArgs.cs, EventArrivedEventHandler.cs,
EventQuery.cs, EventWatcherOptions.cs,
ManagementDateTimeConverter.cs, ManagementEventWatcher.cs,
ManagementException.cs, RelatedObjectQuery.cs,
RelationshipQuery.cs, SelectQuery.cs, StoppedEventArgs.cs,
StoppedEventHandler.cs, WqlEventQuery.cs, WqlObjectQuery.cs:
added missing 1.x/2.0 types.
* CimType.cs, CodeLanguage.cs, ManagementBaseObject.cs,
ManagementClass.cs, ManagementNamedValueCollection.cs,
ManagementObject.cs, ManagementObjectCollection.cs,
ManagementOptions.cs, ManagementPath.cs, ManagementQuery.cs,
ManagementScope.cs, ManagementStatus.cs, MethodData.cs,
MethodDataCollection.cs, PropertyDataCollection.cs,
PutType.cs, QualifierDataCollection.cs, TextFormat.cs :
1.x/2.0 API fixes.
2006-12-30 Gert Driesen <drieseng@users.sourceforge.net>
* MethodDataCollection.cs: Throw NotImplementedException in methods
and properties itself to improve Moma reports.
* ManagementClass.cs: Same.
* MethodData.cs: Same.
* ManagementObjectSearcher.cs: Same.
* ObjectQuery.cs: Same.
* ManagementQuery.cs: Same.
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.
* MethodDataCollection.cs: Stubbed out.
2003-03-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* AuthenticationLevel.cs:
* CimType.cs:
* ComparisonSettings.cs:
* CompletedEventArgs.cs:
* CompletedEventHandler.cs:
* ConnectionOptions.cs:
* DeleteOptions.cs:
* EnumerationOptions.cs:
* ImpersonationLevel.cs:
* InvokeMethodOptions.cs:
* ManagementBaseObject.cs:
* ManagementEventArgs.cs:
* ManagementObject.cs:
* ManagementObjectCollection.cs:
* ManagementOperationObserver.cs:
* ManagementOptions.cs:
* ManagementPath.cs:
* ManagementScope.cs:
* ManagementStatus.cs:
* ObjectGetOptions.cs:
* ObjectPutEventArgs.cs:
* ObjectPutEventHandler.cs:
* ObjectReadyEventArgs.cs:
* ObjectReadyEventHandler.cs:
* ProgressEventArgs.cs:
* ProgressEventHandler.cs:
* PropertyData.cs:
* PropertyDataCollection.cs:
* PutOptions.cs:
* PutType.cs:
* QualifierData.cs:
* QualifierDataCollection.cs:
* TODOAttribute.cs:
* TextFormat.cs: stubbed out.

View File

@@ -0,0 +1,55 @@
//
// System.Management.CimType
//
// Authors:
// Gonzalo Paniagua Javier (gonzalo@ximian.com)
//
// (C) 2003 Ximian, Inc (http://www.ximian.com)
//
//
// 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
{
public enum CimType
{
#if NET_2_0
None = 0,
#endif
SInt16 = 2,
SInt32 = 3,
Real32 = 4,
Real64 = 5,
String = 8,
Boolean = 11,
Object = 13,
SInt8 = 16,
UInt8 = 17,
UInt16 = 18,
UInt32 = 19,
SInt64 = 20,
UInt64 = 21,
DateTime = 101,
Reference = 102,
Char16 = 103
}
}

Some files were not shown because too many files have changed in this diff Show More