using System;
using System.Reflection;
namespace System.Runtime.InteropServices
{
/// Provides a set of services for registering and unregistering managed assemblies for use from COM.
// Token: 0x02000338 RID: 824
[ClassInterface(ClassInterfaceType.None)]
[ComVisible(true)]
[Guid("475e398f-8afa-43a7-a3be-f4ef8d6787c9")]
public class RegistrationServices : IRegistrationServices
{
/// Returns the GUID of the COM category that contains the managed classes.
/// The GUID of the COM category that contains the managed classes.
// Token: 0x060022FA RID: 8954 RVA: 0x0007A608 File Offset: 0x00078808
[MonoTODO("implement")]
public virtual Guid GetManagedCategoryGuid()
{
throw new NotImplementedException();
}
/// Retrieves the COM ProgID for the specified type.
/// The ProgID for the specified type.
/// The type corresponding to the ProgID that is being requested.
// Token: 0x060022FB RID: 8955 RVA: 0x0007A610 File Offset: 0x00078810
[MonoTODO("implement")]
public virtual string GetProgIdForType(Type type)
{
throw new NotImplementedException();
}
/// Retrieves a list of classes in an assembly that would be registered by a call to .
/// A array containing a list of classes in .
/// The assembly to search for classes.
/// The parameter is null.
// Token: 0x060022FC RID: 8956 RVA: 0x0007A618 File Offset: 0x00078818
[MonoTODO("implement")]
public virtual Type[] GetRegistrableTypesInAssembly(Assembly assembly)
{
throw new NotImplementedException();
}
/// Registers the classes in a managed assembly to enable creation from COM.
/// true if contains types that were successfully registered; otherwise false if the assembly contains no eligible types.
/// The assembly to be registered.
/// An value indicating any special settings used when registering .
///
/// is null.
/// The full name of is null.-or- A method marked with is not static.-or- There is more than one method marked with at a given level of the hierarchy.-or- The signature of the method marked with is not valid.
/// A user-defined custom registration function (marked with the attribute) throws an exception.
///
///
///
///
// Token: 0x060022FD RID: 8957 RVA: 0x0007A620 File Offset: 0x00078820
[MonoTODO("implement")]
public virtual bool RegisterAssembly(Assembly assembly, AssemblyRegistrationFlags flags)
{
throw new NotImplementedException();
}
/// Registers the specified type with COM using the specified GUID.
/// The to be registered for use from COM.
/// The used to register the specified type.
/// The parameter is null.
/// The parameter cannot be created.
///
///
///
// Token: 0x060022FE RID: 8958 RVA: 0x0007A628 File Offset: 0x00078828
[MonoTODO("implement")]
public virtual void RegisterTypeForComClients(Type type, ref Guid g)
{
throw new NotImplementedException();
}
/// Indicates whether a type is marked with the , or derives from a type marked with the and shares the same GUID as the parent.
/// true if a type is marked with the , or derives from a type marked with the and shares the same GUID as the parent; otherwise false.
/// The type to check for being a COM type.
// Token: 0x060022FF RID: 8959 RVA: 0x0007A630 File Offset: 0x00078830
[MonoTODO("implement")]
public virtual bool TypeRepresentsComType(Type type)
{
throw new NotImplementedException();
}
/// Determines whether the specified type requires registration.
/// true if the type must be registered for use from COM; otherwise false.
/// The type to check for COM registration requirements.
// Token: 0x06002300 RID: 8960 RVA: 0x0007A638 File Offset: 0x00078838
[MonoTODO("implement")]
public virtual bool TypeRequiresRegistration(Type type)
{
throw new NotImplementedException();
}
/// Unregisters the classes in a managed assembly.
/// true if contains types that were successfully unregistered; otherwise false if the assembly contains no eligible types.
/// The assembly to be unregistered.
///
/// is null.
/// The full name of is null.-or- A method marked with is not static.-or- There is more than one method marked with at a given level of the hierarchy.-or- The signature of the method marked with is not valid.
/// A user-defined custom unregistration function (marked with the attribute) throws an exception.
///
///
///
///
// Token: 0x06002301 RID: 8961 RVA: 0x0007A640 File Offset: 0x00078840
[MonoTODO("implement")]
public virtual bool UnregisterAssembly(Assembly assembly)
{
throw new NotImplementedException();
}
/// Registers the specified type with COM using the specified execution context and connection type.
/// An integer that represents a cookie value.
/// The object to register for use from COM.
/// One of the values that indicates the context in which the executable code will be run.
/// One of the values that specifies how connections are made to the class object.
/// The parameter is null.
/// The parameter cannot be created.
// Token: 0x06002302 RID: 8962 RVA: 0x0007A648 File Offset: 0x00078848
[MonoTODO("implement")]
[ComVisible(false)]
public virtual int RegisterTypeForComClients(Type type, RegistrationClassContext classContext, RegistrationConnectionType flags)
{
throw new NotImplementedException();
}
/// Removes references to a type registered with the method.
/// The cookie value returned by a previous call to the method.
///
///
///
// Token: 0x06002303 RID: 8963 RVA: 0x0007A650 File Offset: 0x00078850
[ComVisible(false)]
[MonoTODO("implement")]
public virtual void UnregisterTypeForComClients(int cookie)
{
throw new NotImplementedException();
}
}
}