Files
mono/mcs/class/corlib/System.Runtime.InteropServices/RegistrationServices.cs
T
Zac Bowling 6f4592ab24 2006-05-20 Zac Bowling <[email protected]>
* VarEnum.cs: ComVisible Attribute (2.0)
        * InterfaceTypeAttribute.cs: ComVisible Attribute (2.0)
        * UCOMITypeInfo.cs: ComImport Attribute (1.x)
        * UCOMITypeComp.cs: ComImport Attribute (1.x)
        * MarshalAsAttribute.cs: ComVisible Attribute (2.0)
        * StructLayoutAttribute.cs: ComVisible Attribute (2.0)
        * ProgIdAttribute.cs: ComVisible Attribute (2.0)
        * PrimaryInteropAssemblyAttribute.cs: ComVisible Attribute (2.0)
        * ImporterEventKind.cs: ComVisible Attribute (2.0)
        * UCOMIPersistFile.cs: ComImport Attribute (1.x)
        * SetWin32ContextInIDispatchAttribute.cs: Obselete and ComVisible
        Attribute (2.0)
        * IRegistrationServices.cs: ComVisible Attribute and CAS
Attributes (2.0)
        * InAttribute.cs: ComVisible Attribute (2.0)
        * UCOMIMoniker.cs: ComImport Attribute (1.x)
        * MarshalDirectiveException.cs: ComVisible Attribute (2.0)
        * IDLDESC.cs: ComVisible Attribute (1.x)
        * FUNCFLAGS.cs: ComVisible Attribute (1.x)
        * UCOMIConnectionPointContainer.cs: ComImport Attribute (1.x)
        * TypeLibExporterFlags.cs: ComVisible Attribute (2.0)
        * ICustomMarshaler.cs: ComVisible Attribute (2.0)
        * LayoutKind.cs: ComVisible Attribute (2.0) + Serializable + Clean
        * ICustomAdapter.cs: ComVisible Attribute (2.0)
        * UnmanagedFunctionPointerAttribute.cs: ComVisible Attribute and
Param
        Signature of UnmanagedFunctionPointerAttribute(...)
        * FUNCKIND.cs: ComVisble Attribute (1.x)
        * TypeLibVersionAttribute.cs: ComVisible Attribute (2.0) +
Missing in
        2.0
        * TypeLibVarAttribute.cs: ComVisible Attribute (2.0)
        * ITypeLibConverter.cs: ComVisible Attribute (2.0)
        * UCOMIRunningObjectTable.cs: ComImport Attribute (1.x)
        * IDispatchImplAttribute.cs: Obsolete + ComVisible Attribute (2.0)
        * ITypeLibImporterNotifySink.cs: ComVisible Attribute (2.0)
        * PreserveSigAttribute.cs: ComVisible Attribute (2.0)
        * SYSKIND.cs: ComVisible Attribute (1.x)
        * UCOMIEnumVARIANT.cs: ComImport Attribute (1.x)
        * UCOMIEnumString.cs: ComImport Attribute (1.x) and Expose to
1.x (not
        a 2.0 exclusive class)
        * OutAttribute.cs: ComVisible Attribute (2.0)
        * InvalidComObjectException.cs: ComVisible Attribute (2.0)
        * SEHException.cs: ComVisible Attribute (2.0)
        * UCOMIConnectionPoint.cs: ComImport Attribute (1.x)
        * TypeLibImporterFlags.cs: ComVisible Attribute (2.0) and
        Serializable
        * OptionalAttribute.cs: ComVisible Attribute (2.0)
        * TYPEDESC.cs: ComVisible Attribute (1.x)
        * UCOMIEnumMoniker.cs: ComImport Attribute (1.x) and Expose to 1.x
        (not a 2.0 exclusive class)
        * TypeLibTypeFlags.cs: ComVisible Attribute (2.0)
        * ITypeLibExporterNotifySink.cs: ComVisible Attribute (2.0)
        * HandleRef.cs: ComVisible.cs and add ToIntPtr (2.0)
        * DllImportAttribute.cs: ComVisible Attribute (2.0)
        * TypeLibTypeAttribute.cs: ComVisible Attribute (2.0)
        * UnknownWrapper.cs: Serializable, ComVisible Attribute (2.0)
        * IDFLAGS.cs: ComVisible Attribute (1.x only)
        * RegistrationClassContext.cs: License + Flags attribute (2.0)
        * GCHandle.cs: ComVisible Attribute + Operator Overrides (2.0)
        * TypeLibImportClassAttribute.cs: ComVisible Attribute (2.0)
        * IMPLYTPEFLAGS.cs: ComVisible Attribute (1.x)
        * ImportedFromTypeLibAttribute.cs: ComVisible (2.0)
        * UCOMIBindCtx.cs: Obsolete Attribute (2.0)
        * FUNCDESC.cs: ComVisible Attribute (1.x)
        * RegistrationConnectionType.cs: Flags Attribute (2.0)
        * IDispatchImplType.cs: Obsolete + ComVisible Attribute (2.0)
        * TypeLibConverter.cs: ComVisible (2.0)
        * INVOKEKIND.cs: ComVisible Attribute (1.x)
        * GCHandleType.cs: ComVisible Attribute (2.0) + Serializable
        * ICustomFactory.cs: ComVisible Attribute (2.0)
        * FieldOffsetAttribute.cs: ComVisible Attribute (2.0)
        * LIBFLAGS.cs: ComVisible Attribute (1.x)
        * ComSourceInterfacesAttributes.cs: ComVisible Attribute (2.0)
        * STATSTG.cs: ComVisible Attribute (1.x)
        * InvalidOleVariantTypeException.cs: ComVisible Attribute (2.0)
        * TypeLibVarFlags.cs: ComVisible Attribute (2.0)
        * TYPEFLAGS.cs: ComVisible Attribute (1.x)
        * SafeArrayRankMismatchException.cs: ComVisible Attribute (2.0)
        * TYPEATTR.cs: ComVisible Attribute (1.x)
        * GuidAttribute.cs: ComVisible Attribute (2.0)
        * UCOMIEnumConnectionPoints.cs: ComImport Attribute (1.x) +
Expose to
        1.x (not a 2.0 exclusive)
        * SafeArrayTypeMismatchException.cs: ComVisible Attribute (2.0)
        * ObjectCreationDelegate.cs: ComVisible Attribute (2.0)
        * ITypeLibExporterNameProvider.cs: ComVisible Attribute (2.0) and
        MarshelAs VarEnum Type.
        * UCOMIStream.cs: ComImport Attribute (1.x)
        * TypeLibFuncFlags.cs ComVisible Attribute (2.0)
        * UnmanagedType.cs: ComVisible Attribute (2.0) + clean up
        * UCOMIEnumConnections.cs: ComImport Attribute (1.0)
        * LCIDConversionAttribute.cs: ComVisible Attribute (2.0)
        * TypeLibFuncAttribute.cs: ComVisible Attribute (2.0) 



svn path=/trunk/mcs/; revision=60932
2006-05-21 22:56:53 +00:00

115 lines
3.1 KiB
C#

//
// System.Runtime.InteropServices.RegistrationServices.cs
//
// Author:
// Andreas Nahr ([email protected])
//
//
// Copyright (C) 2004 Novell, Inc (http://www.novell.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;
namespace System.Runtime.InteropServices
{
#if NET_2_0
[ComVisible(true)]
#endif
[Guid ("475e398f-8afa-43a7-a3be-f4ef8d6787c9")]
[ClassInterface (ClassInterfaceType.None)]
public class RegistrationServices : IRegistrationServices
{
public RegistrationServices ()
{
}
[MonoTODO ("implement")]
public virtual Guid GetManagedCategoryGuid ()
{
throw new NotImplementedException ();
}
[MonoTODO ("implement")]
public virtual string GetProgIdForType (Type type)
{
throw new NotImplementedException ();
}
[MonoTODO ("implement")]
public virtual Type[] GetRegistrableTypesInAssembly (Assembly assembly)
{
throw new NotImplementedException ();
}
[MonoTODO ("implement")]
public virtual bool RegisterAssembly (Assembly assembly, AssemblyRegistrationFlags flags)
{
throw new NotImplementedException ();
}
[MonoTODO ("implement")]
public virtual void RegisterTypeForComClients (Type type, ref Guid g)
{
throw new NotImplementedException ();
}
[MonoTODO ("implement")]
public virtual bool TypeRepresentsComType (Type type)
{
throw new NotImplementedException ();
}
[MonoTODO ("implement")]
public virtual bool TypeRequiresRegistration (Type type)
{
throw new NotImplementedException ();
}
[MonoTODO ("implement")]
public virtual bool UnregisterAssembly (Assembly assembly)
{
throw new NotImplementedException ();
}
#if NET_2_0
[ComVisible(false)]
[MonoTODO ("implement")]
public virtual int RegisterTypeForComClients(Type type, RegistrationClassContext classContext, RegistrationConnectionType flags)
{
throw new NotImplementedException ();
}
[ComVisible(false)]
[MonoTODO ("implement")]
public virtual void UnregisterTypeForComClients(int cookie)
{
throw new NotImplementedException ();
}
#endif
}
}