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,68 @@
//
// AssemblyInfo.cs
//
// Author:
// Marek Safar (marek.safar@seznam.cz)
//
//
//
// 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;
using System.EnterpriseServices;
// General Information about the System.EnterpriseServices assembly
#if NET_2_0
[assembly: AssemblyTitle ("System.EnterpriseServices.dll")]
[assembly: AssemblyDescription ("System.EnterpriseServices.dll")]
[assembly: AssemblyDefaultAlias ("System.EnterpriseServices.dll")]
[assembly: AssemblyCompany (Consts.MonoCompany)]
[assembly: AssemblyProduct (Consts.MonoProduct)]
[assembly: AssemblyCopyright (Consts.MonoCopyright)]
#endif
[assembly: AssemblyVersion (Consts.FxVersion)]
[assembly: SatelliteContractVersion (Consts.FxVersion)]
[assembly: NeutralResourcesLanguage ("en-US")]
[assembly: ComCompatibleVersion (1, 0, 3300, 0)]
[assembly: ApplicationID ("1e246775-2281-484f-8ad4-044c15b86eb7")]
[assembly: ApplicationName (".NET Utilities")]
[assembly: Guid ("4fb2d46f-efc8-4643-bcd0-6e5bfa6a174c")]
[assembly: CLSCompliant (true)]
[assembly: AssemblyDelaySign (true)]
[assembly: AssemblyKeyFile("../msfinal.pub")]
[assembly: AssemblyInformationalVersion (Consts.FxFileVersion)]
[assembly: AssemblyFileVersion (Consts.FxFileVersion)]
[assembly: CompilationRelaxations (CompilationRelaxations.NoStringInterning)]
[assembly: ComVisible (true)]

View File

@@ -0,0 +1,18 @@
2008-04-23 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* AssemblyInfo.cs: Added missing attributes
2005-11-05 Kornél Pál <kornelpal@hotmail.com>
* AssemblyInfo.cs: Use Consts.FxFileVersion as AssemblyFileVersion and
AssemblyInformationalVersion.
2004-05-15 Gert Driesen (drieseng@users.sourceforge.net)
* AssemblyInfo.cs: fixed assembly attributes to match MS
frameworks
2004-01-23 Marek Safar <marek.safar@seznam.cz>
* AssemblyInfo.cs: Added
* ChangeLog: Added

View File

@@ -0,0 +1,57 @@
2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
* Makefile : in 2.0 it depends on System.Transactions.dll.
2004-09-14 Raja R Harinath <rharinath@novell.com>
* Makefile (EXTRA_DISTFILES): Fix spelling of ChangeLog file.
2004-05-15 Gert Driesen (drieseng@users.sourceforge.net)
* System.EnterpriseServices.dll.sources: Added IConfigurationAttribute
interface
2004-05-13 Mike Kestner <mkestner@ximian.com>
* System.EnterpriseServices.dll.sources: Added class. Add .Internal
files.
2004-05-12 Mike Kestner <mkestner@ximian.com>
* System.EnterpriseServices.dll.sources: Added new enums and classes.
2004-05-12 Mike Kestner <mkestner@ximian.com>
* System.EnterpriseServices.dll.sources: Added new interface files.
2004-01-23 Marek Safar <marek.safar@seznam.cz>
* System.EnterpriseServices.dll.sources: Added AssemblyInfo.cs
2002-11-20 Alejandro Sánchez Acosta <raciel@es.gnu.org>
* list: new files added to build
2002-08-13 Tim Coleman <tim@timcoleman.com>
* list: new files added to build
2002-08-08 Tim Coleman <tim@timcoleman.com>
* list: new files added to build.
2002-08-07 Tim Coleman <tim@timcoleman.com>
* list: new files added to build.
2002-08-06 Tim Coleman <tim@timcoleman.com>
* list: new files added to build.
* System.EnterpriseServices.CompensatingResourceManager:
New directory added
2002-08-03 Tim Coleman <tim@timcoleman.com>
* list: new files added to build list.
2002-07-22 Tim Coleman <tim@timcoleman.com>
* makefile.gnu: added to build on linux
2002-07-22 Tim Coleman <tim@timcoleman.com>
* System.EnterpriseServices: New namespace created
to provide enum needed by Web Services
* System.EnterpriseServices.build: New file
* list: New file

View File

@@ -0,0 +1,15 @@
thisdir = class/System.EnterpriseServices
SUBDIRS =
include ../../build/rules.make
LIBRARY = System.EnterpriseServices.dll
LIB_MCS_FLAGS = /nowarn:0168 /nowarn:0162 /r:$(corlib)
NO_TEST = yes
ifneq (net_1_1, $(PROFILE))
LIB_MCS_FLAGS += /r:System.Transactions.dll
endif
EXTRA_DISTFILES = System.EnterpriseServices.Internal/ChangeLog
include ../../build/library.make

View File

@@ -0,0 +1,64 @@
//
// System.EnterpriseServices.CompensatingResourceManager.ApplicationCrmEnabledAttribute.cs
//
// Author:
// Alejandro Sánchez Acosta (raciel@es.gnu.org)
//
// (C) Alejandro Sánchez Acosta
//
//
// 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.Runtime.InteropServices;
namespace System.EnterpriseServices.CompensatingResourceManager {
/// <summary>
/// ApplicationCrmEnable Attribute for classes.
/// </summary>
[AttributeUsage(AttributeTargets.Assembly)]
[ComVisible(false)]
[ProgId("System.EnterpriseServices.Crm.ApplicationCrmEnabledAttribute")]
public sealed class ApplicationCrmEnabledAttribute : Attribute
{
bool val;
public ApplicationCrmEnabledAttribute()
{
val = true;
}
public ApplicationCrmEnabledAttribute (bool val)
{
this.val = val;
}
public bool Value
{
get
{
return val;
}
}
}
}

View File

@@ -0,0 +1,53 @@
2006-05-31 Gert Driesen <drieseng@users.sourceforge.net>
* ClerkInfo.cs: Fixed line endings. Set eol-style to CRLF.
* LogRecordFlags.cs: Fixed line endings. Set eol-style to CRLF.
* Clerk.cs: Fixed line endings. Set eol-style to CRLF.
* LogRecord.cs: Fixed line endings. Set eol-style to CRLF.
* ApplicationCrmEnabledAttribute.cs: Set eol-style to native.
* CompensatorOptions.cs: Fixed line endings. Set eol-style to CRLF.
* TransactionState.cs: Fixed line endings. Set eol-style to CRLF.
* ClerkMonitor.cs: Fixed line endings. Set eol-style to CRLF.
* Compensator.cs: Set eol-style to native.
2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
* Compensator.cs: fixed return value of CommitRecord method
2004-06-11 Gert Driesen <drieseng@users.sourceforge.net>
* ApplicationCrmEnabledAttribute: added missing
2004-05-15 Gert Driesen (drieseng@users.sourceforge.net)
* ClerkInfo.cs: added internal ctor
2004-05-13 Mike Kestner <mkestner@ximian.com>
* ApplicationCrmEnabledAttribute.cs : add ComVisible. Hide val field.
* ClerkInfo.cs : stub
* ClerkMonitor.cs : stub
2002-11-20 Alejandro Sánchez Acosta <raciel@es.gnu.org>
* ApplicationCrmEnabledAttribute.cs added.
2002-08-13 Tim Coleman <tim@timcoleman.com>
* Clerk.cs:
* Compensator.cs:
New stubs added.
2002-08-07 Tim Coleman <tim@timcoleman.com>
* CompensatorOptions.cs:
* LogRecordFlags.cs:
* TransactionState.cs:
Changed enum values to agree with .NET
* LogRecord.cs:
New stubs added
2002-08-06 Tim Coleman <tim@timcoleman.com>
* ChangeLog.cs:
* CompensatorOptions.cs:
* LogRecordFlags.cs:
* TransactionState.cs:
New stubs added

View File

@@ -0,0 +1,105 @@
//
// System.EnterpriseServices.CompensatingResourceManager.Clerk.cs
//
// Author:
// Tim Coleman (tim@timcoleman.com)
//
// Copyright (C) Tim Coleman, 2002
//
//
// 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.EnterpriseServices;
namespace System.EnterpriseServices.CompensatingResourceManager {
public sealed class Clerk {
#region Constructors
//internal Clerk (CrmLogControl logControl)
//{
//}
[MonoTODO]
public Clerk (string compensator, string description, CompensatorOptions flags)
{
throw new NotImplementedException ();
}
[MonoTODO]
public Clerk (Type compensator, string description, CompensatorOptions flags)
{
throw new NotImplementedException ();
}
#endregion // Constructors
#region Properties
public int LogRecordCount {
[MonoTODO]
get { throw new NotImplementedException (); }
}
public string TransactionUOW {
[MonoTODO]
get { throw new NotImplementedException (); }
}
#endregion // Properties
#region Methods
[MonoTODO]
~Clerk ()
{
throw new NotImplementedException ();
}
[MonoTODO]
public void ForceLog ()
{
throw new NotImplementedException ();
}
[MonoTODO]
public void ForceTransactionToAbort ()
{
throw new NotImplementedException ();
}
[MonoTODO]
public void ForgetLogRecord ()
{
throw new NotImplementedException ();
}
[MonoTODO]
public void WriteLogRecord (object record)
{
throw new NotImplementedException ();
}
#endregion // Methods
}
}

View File

@@ -0,0 +1,100 @@
// System.EnterpriseServices.CompensatingResourceManager.ClerkInfo.cs
//
// Author: Mike Kestner (mkestner@ximian.com)
//
// Copyright (C) 2004 Novell, Inc.
//
//
// 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.EnterpriseServices.CompensatingResourceManager {
public sealed class ClerkInfo
{
[MonoTODO]
~ClerkInfo ()
{
throw new NotImplementedException ();
}
#region Constructors
// FIXME we should actually have this constructor
// internal ClerkInfo(System.EnterpriseServices.CompensatingResourceManager.CrmMonitor monitor,
// System.EnterpriseServices.CompensatingResourceManager._IMonitorClerks clerks)
// but we currently don't have these types
internal ClerkInfo ()
{
}
#endregion Constructors
#region Properties
[MonoTODO]
public string ActivityId {
get {
throw new NotImplementedException ();
}
}
[MonoTODO]
public Clerk Clerk {
get {
throw new NotImplementedException ();
}
}
[MonoTODO]
public string Compensator {
get {
throw new NotImplementedException ();
}
}
[MonoTODO]
public string Description {
get {
throw new NotImplementedException ();
}
}
[MonoTODO]
public string InstanceId {
get {
throw new NotImplementedException ();
}
}
[MonoTODO]
public string TransactionUOW {
get {
throw new NotImplementedException ();
}
}
#endregion
}
}

View File

@@ -0,0 +1,93 @@
// System.EnterpriseServices.CompensatingResourceManager.ClerkMonitor.cs
//
// Author: Mike Kestner (mkestner@ximian.com)
//
// Copyright (C) 2004 Novell, Inc.
//
//
// 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.Collections;
namespace System.EnterpriseServices.CompensatingResourceManager {
public sealed class ClerkMonitor : IEnumerable {
[MonoTODO]
~ClerkMonitor ()
{
}
#region Constructors
[MonoTODO]
public ClerkMonitor ()
{
throw new NotImplementedException ();
}
#endregion
#region Properties
[MonoTODO]
public int Count {
get {
throw new NotImplementedException ();
}
}
[MonoTODO]
public ClerkInfo this [string index] {
get {
throw new NotImplementedException ();
}
}
[MonoTODO]
public ClerkInfo this [int index] {
get {
throw new NotImplementedException ();
}
}
#endregion
#region Properties
[MonoTODO]
public IEnumerator GetEnumerator ()
{
throw new NotImplementedException ();
}
[MonoTODO]
public void Populate ()
{
throw new NotImplementedException ();
}
#endregion
}
}

View File

@@ -0,0 +1,114 @@
//
// System.EnterpriseServices.CompensatingResourceManager.Compensator.cs
//
// Author:
// Tim Coleman (tim@timcoleman.com)
//
// Copyright (C) Tim Coleman, 2002
//
//
// 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.EnterpriseServices;
namespace System.EnterpriseServices.CompensatingResourceManager {
public class Compensator : ServicedComponent{
#region Constructors
[MonoTODO]
public Compensator ()
{
throw new NotImplementedException ();
}
#endregion // Constructors
#region Properties
public Clerk Clerk {
[MonoTODO]
get { throw new NotImplementedException (); }
}
#endregion // Properties
#region Methods
[MonoTODO]
public virtual bool AbortRecord (LogRecord rec)
{
throw new NotImplementedException ();
}
[MonoTODO]
public virtual void BeginAbort (bool fRecovery)
{
throw new NotImplementedException ();
}
[MonoTODO]
public virtual void BeginCommit (bool fRecovery)
{
throw new NotImplementedException ();
}
[MonoTODO]
public virtual void BeginPrepare ()
{
throw new NotImplementedException ();
}
[MonoTODO]
public virtual bool CommitRecord (LogRecord rec)
{
throw new NotImplementedException ();
}
[MonoTODO]
public virtual void EndAbort ()
{
throw new NotImplementedException ();
}
[MonoTODO]
public virtual void EndCommit ()
{
throw new NotImplementedException ();
}
[MonoTODO]
public virtual bool EndPrepare ()
{
throw new NotImplementedException ();
}
[MonoTODO]
public virtual bool PrepareRecord (LogRecord rec)
{
throw new NotImplementedException ();
}
#endregion // Methods
}
}

View File

@@ -0,0 +1,43 @@
//
// System.EnterpriseServices.CompensatingResourceManager.CompensatorOptions.cs
//
// Author:
// Tim Coleman (tim@timcoleman.com)
//
// Copyright (C) Tim Coleman, 2002
//
//
// 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.EnterpriseServices.CompensatingResourceManager {
[Flags]
[Serializable]
public enum CompensatorOptions {
PreparePhase = 0x1,
CommitPhase = 0x2,
AbortPhase = 0x4,
AllPhases = 0x7,
FailIfInDoubtsRemain = 0x10
}
}

View File

@@ -0,0 +1,90 @@
//
// System.EnterpriseServices.CompensatingResourceManager.LogRecord.cs
//
// Author:
// Tim Coleman (tim@timcoleman.com)
//
// Copyright (C) Tim Coleman, 2002
//
//
// 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.EnterpriseServices;
namespace System.EnterpriseServices.CompensatingResourceManager {
public sealed class LogRecord {
#region Fields
LogRecordFlags flags;
object record;
int sequence;
#endregion // Fields
#region Constructors
[MonoTODO]
internal LogRecord ()
{
}
[MonoTODO]
internal LogRecord (_LogRecord logRecord)
{
flags = (LogRecordFlags) logRecord.dwCrmFlags;
sequence = logRecord.dwSequenceNumber;
record = logRecord.blobUserData;
}
#endregion // Constructors
#region Properties
public LogRecordFlags Flags {
get { return flags; }
}
public object Record {
get { return record; }
}
public int Sequence {
get { return sequence; }
}
#endregion // Properties
}
internal struct _LogRecord {
#region Fields
public int dwCrmFlags;
public int dwSequenceNumber;
public object blobUserData; // FIXME: This is not the correct type
#endregion // Fields
}
}

View File

@@ -0,0 +1,45 @@
//
// System.EnterpriseServices.CompensatingResourceManager.LogRecordFlags.cs
//
// Author:
// Tim Coleman (tim@timcoleman.com)
//
// Copyright (C) Tim Coleman, 2002
//
//
// 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.EnterpriseServices.CompensatingResourceManager {
[Flags]
[Serializable]
public enum LogRecordFlags {
ForgetTarget = 0x1,
WrittenDuringPrepare = 0x2,
WrittenDuringCommit = 0x4,
WrittenDuringAbort = 0x8,
WrittenDurringRecovery = 0x10, // Typo present in .NET
WrittenDuringReplay = 0x20,
ReplayInProgress = 0x40
}
}

View File

@@ -0,0 +1,41 @@
//
// System.EnterpriseServices.CompensatingResourceManager.TransactionState.cs
//
// Author:
// Tim Coleman (tim@timcoleman.com)
//
// Copyright (C) Tim Coleman, 2002
//
//
// 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.EnterpriseServices.CompensatingResourceManager {
[Serializable]
public enum TransactionState {
Active = 0x0,
Committed = 0x1,
Aborted = 0x2,
Indoubt = 0x3
}
}

View File

@@ -0,0 +1,50 @@
// System.EnterpriseServices.Internal.AppDomainHelper.cs
//
// Author: Mike Kestner (mkestner@ximian.com)
//
// Copyright (C) 2004 Novell, Inc.
//
// 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.Runtime.InteropServices;
namespace System.EnterpriseServices.Internal
{
[Guid("ef24f689-14f8-4d92-b4af-d7b1f0e70fd4")]
public class AppDomainHelper
{
[MonoTODO]
public AppDomainHelper ()
{
throw new NotImplementedException ();
}
[MonoTODO]
~AppDomainHelper ()
{
throw new NotImplementedException ();
}
}
}

View File

@@ -0,0 +1,43 @@
// System.EnterpriseServices.Internal.AssemblyLocator.cs
//
// Author: Mike Kestner (mkestner@ximian.com)
//
// Copyright (C) 2004 Novell, Inc.
//
// 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.Runtime.InteropServices;
namespace System.EnterpriseServices.Internal
{
[Guid("458aa3b5-265a-4b75-bc05-9bea4630cf18")]
public class AssemblyLocator : MarshalByRefObject {
[MonoTODO]
public AssemblyLocator ()
{
throw new NotImplementedException ();
}
}
}

View File

@@ -0,0 +1,111 @@
2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
* IClrObjectFactory.cs : 2.0 API fixes.
2006-05-31 Sebastien Pouliot <sebastien@ximian.com>
* ClrObjectFactory.cs: Fix the build from untested changes.
2006-05-31 Gert Driesen <drieseng@users.sourceforge.net>
* ComManagedImportUtil.cs: Do not mark instance methods virtual. Fixes
API signature mismatches.
* ClrObjectFactory.cs: Do not mark methods virtual. Fixes API signature
mismatches.
* Publish.cs: Do not mark instance methods virtual. Fixes API signature
mismatches.
2006-05-31 Gert Driesen <drieseng@users.sourceforge.net>
* AppDomainHelper.cs: Set eol-style to native.
* AssemblyLocator.cs: Set eol-style to native.
* ClientRemotingConfig.cs: Set eol-style to native.
* ClrObjectFactory.cs: Set eol-style to native.
* ComManagedImportUtil.cs: Set eol-style to native.
* ComSoapPublishError.cs: Set eol-style to native.
* GenerateMetadata.cs: Set eol-style to native.
* IClrObjectFactory.cs: Set eol-style to native.
* IComManagedImportUtil.cs: Set eol-style to native.
* IComSoapIISVRoot.cs: Set eol-style to native.
* IComSoapMetadata.cs: Set eol-style to native.
* IComSoapPublisher.cs: Set eol-style to native.
* IISVirtualRoot.cs: Set eol-style to native.
* IServerWebConfig.cs: Set eol-style to native.
* ISoapClientImport.cs: Set eol-style to native.
* ISoapServerTlb.cs: Set eol-style to native.
* ISoapServerVRoot.cs: Set eol-style to native.
* ISoapUtility.cs: Set eol-style to native.
* Publish.cs: Set eol-style to native.
* ServerWebConfig.cs: Set eol-style to native.
* SoapClientImport.cs: Set eol-style to native.
* SoapServerTlb.cs: Set eol-style to native.
* SoapServerVRoot.cs: Set eol-style to native.
* SoapUtility.cs: Set eol-style to native.
2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
* IComManagedImportUtil.cs: added missing marshalling attributes
* IComSoapIISVRoot.cs: added missing marshalling attributes
* IComSoapMetadata.cs: added missing marshalling attributes
* IComSoapPublisher.cs: added missing marshalling attributes
* IServerWebConfig.cs: added missing marshalling attributes
* ISoapClientImport.cs: added missing marshalling attributes
* ISoapServerTlb.cs: added missing marshalling attributes
* ISoapServerVRoot.cs: added missing marshalling attributes
* ISoapUtility.cs: added missing marshalling attributes
2004-06-11 Gert Driesen <drieseng@users.sourceforge.net>
* IClrObjectFactory.cs: added missing DispId attributes
* IComManagedImportUtil.cs: added missing DispId attributes
* IComSoapIISVRoot.cs: added missing DispId attributes
* IComSoapMetadata.cs: added missing DispId attributes
* IComSoapPublisher.cs: added missing DispId attributes
* IServerWebConfig.cs: added missing DispId attributes
* ISoapClientImport.cs: added missing DispId attributes
* ISoapServerTlb.cs: added missing DispId attributes
* ISoapServerVRoot.cs: added missing DispId attributes
* ISoapUtility.cs: added missing DispId attributes
2004-05-14 Mike Kestner <mkestner@ximian.com>
* ClientRemotingConfig.cs : stub
* ComSoapPublishError.cs : stub
* GenerateMetadata.cs : stub
* IComSoapIISVRoot.cs : impl
* IComSoapMetadata.cs : impl
* IISVirtualRoot.cs : impl
* IServerWebConfig.cs : impl
* ServerWebConfig.cs : stub
2004-05-13 Mike Kestner <mkestner@ximian.com>
* SoapClientImportUtil.cs : add a TODO
* SoapServerTlb.cs : stub
* SoapServerVRoot.cs : stub
* SoapUtility.cs : stub
2004-05-13: Mike Kestner <mkestner@ximian.com>
* AppDomainHelper.cs : stub
* AssemblyLocator.cs : stub
* ClrObjectFactory.cs : stub
* ComManagedImportUtil.cs : stub
* Publish.cs : stub
* SoapClientImport.cs : stub
2004-05-13: Mike Kestner <mkestner@ximian.com>
* IClrObjectFactory.cs : add guid.
* IComManagedImportUtil.cs : add guid.
* IComSoapPublisher.cs : add guid.
* ISoapClientImport.cs : impl.
* ISoapServerTlb.cs : impl.
* ISoapServerVRoot.cs : impl.
* ISoapUtility.cs : impl.
2002-11-20: Alejandro Sánchez Acosta <raciel@es.gnu.org>
* IClrObjectFactory.cs added.
* IComManagedImportUtil.cs added.
* IComSoapPublisher.cs added.

View File

@@ -0,0 +1,47 @@
// System.EnterpriseServices.Internal.ClientRemotingConfig.cs
//
// Author: Mike Kestner (mkestner@ximian.com)
//
// Copyright (C) 2004 Novell, Inc.
//
// 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.EnterpriseServices.Internal
{
public class ClientRemotingConfig {
[MonoTODO]
public ClientRemotingConfig ()
{
throw new NotImplementedException ();
}
[MonoTODO]
public static bool Write (string DestinationDirectory, string VRoot, string BaseUrl, string AssemblyName, string TypeName, string ProgId, string Mode, string Transport)
{
throw new NotImplementedException ();
}
}
}

View File

@@ -0,0 +1,70 @@
// System.EnterpriseServices.Internal.ClrObjectFactory.cs
//
// Author: Mike Kestner (mkestner@ximian.com)
//
// Copyright (C) 2004 Novell, Inc.
//
// 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.Runtime.InteropServices;
namespace System.EnterpriseServices.Internal
{
[Guid("ecabafd1-7f19-11d2-978e-0000f8757e2a")]
public class ClrObjectFactory : IClrObjectFactory {
[MonoTODO]
public ClrObjectFactory ()
{
throw new NotImplementedException ();
}
[MonoTODO]
public object CreateFromAssembly (string AssemblyName, string TypeName, string Mode)
{
throw new NotImplementedException ();
}
[MonoTODO]
public object CreateFromMailbox (string Mailbox, string Mode)
{
throw new NotImplementedException ();
}
[MonoTODO]
public object CreateFromVroot (string VrootUrl, string Mode)
{
throw new NotImplementedException ();
}
[MonoTODO]
public object CreateFromWsdl (string WsdlUrl, string Mode)
{
throw new NotImplementedException ();
}
}
}

View File

@@ -0,0 +1,55 @@
// System.EnterpriseServices.Internal.ComManagedImportUtil.cs
//
// Author: Mike Kestner (mkestner@ximian.com)
//
// Copyright (C) 2004 Novell, Inc.
//
//
// 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.Runtime.InteropServices;
namespace System.EnterpriseServices.Internal
{
[Guid("3b0398c9-7812-4007-85cb-18c771f2206f")]
public class ComManagedImportUtil : IComManagedImportUtil {
[MonoTODO]
public ComManagedImportUtil ()
{
throw new NotImplementedException ();
}
[MonoTODO]
public void GetComponentInfo (string assemblyPath, out string numComponents, out string componentInfo)
{
throw new NotImplementedException ();
}
[MonoTODO]
public void InstallAssembly (string asmpath, string parname, string appname)
{
throw new NotImplementedException ();
}
}
}

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