Skip to content

Commit

Permalink
* SetWin32ContextInIDispatchAttribute.cs: added
Browse files Browse the repository at this point in the history
* VariantWrapper.cs: added

svn path=/trunk/mcs/; revision=28429
  • Loading branch information
Gert Driesen committed May 29, 2004
1 parent 33a27d2 commit 52b617c
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mcs/class/corlib/System.Runtime.InteropServices/ChangeLog
@@ -1,3 +1,8 @@
2004-05-29 Gert Driesen (drieseng@users.sourceforge.net)

* SetWin32ContextInIDispatchAttribute.cs: added
* VariantWrapper.cs: added

2004-05-19 Gert Driesen (drieseng@users.sourceforge.net)

* AutomationProxyAttribute.cs
Expand Down
@@ -0,0 +1,22 @@
//
// System.Runtime.InteropServices.SetWin32ContextInIDispatchAttribute.cs
//
// Author:
// Gert Driesen (drieseng@users.sourceforge.net)
//
// (C) Novell, Inc. http://www.ximian.com
//

using System;

namespace System.Runtime.InteropServices
{
[AttributeUsage (AttributeTargets.Assembly, Inherited = false)]
public sealed class SetWin32ContextInIDispatchAttribute : Attribute
{
public SetWin32ContextInIDispatchAttribute ()
{
}
}
}

29 changes: 29 additions & 0 deletions mcs/class/corlib/System.Runtime.InteropServices/VariantWrapper.cs
@@ -0,0 +1,29 @@
//
// System.Runtime.InteropServices.VariantWrapper.cs
//
// Author:
// Gert Driesen (drieseng@users.sourceforge.net)
//
// (C) Novell, Inc. http://www.ximian.com
//

namespace System.Runtime.InteropServices
{
public sealed class VariantWrapper
{
private object _wrappedObject;

public VariantWrapper (object obj)
{
_wrappedObject = obj;
}

public object WrappedObject
{
get
{
return _wrappedObject;
}
}
}
}

0 comments on commit 52b617c

Please sign in to comment.