src/Microsoft/Windows/ComponentObjectModel/_Library/ComponentRegistrationManager.cs
/// <summary>
/// Writes component registraion information to the Windows Registry.
/// </summary>
/// <param name="componentRegistrationInformation">The component registration information.</param>
/// <param name="scope">The <see cref="ComponentRegistrationScope"/>.</param>
Writes component registraion information to the Windows Registry.
Writes component registraion information to the Windows Registry .
public void Register( ComponentRegistrationInformation componentRegistrationInformation, ComponentRegistrationScope scope ) {
            if( componentRegistrationInformation is DotNetFrameworkComponentRegistrationInformation dotNetFrameworkComponentRegistrationInformation ) {
                Register( dotNetFrameworkComponentRegistrationInformation, scope );
                return;
            }
            if( componentRegistrationInformation is DotNetCoreComponentRegistrationInformation dotNetCoreComponentRegistrationInformation ) {
                Register( dotNetCoreComponentRegistrationInformation, scope );
                return;
            }
            throw new ArgumentException();
        }
public void Register ( ComponentRegistrationInformation componentRegistrationInformation , ComponentRegistrationScope scope ) { if ( componentRegistrationInformation is DotNetFrameworkComponentRegistrationInformation dotNetFrameworkComponentRegistrationInformation ) { Register ( dotNetFrameworkComponentRegistrationInformation , scope ) ; return ; } if ( componentRegistrationInformation is DotNetCoreComponentRegistrationInformation dotNetCoreComponentRegistrationInformation ) { Register ( dotNetCoreComponentRegistrationInformation , scope ) ; return ; } throw new ArgumentException ( ) ; }
Writes component registraion information to the Windows Registry.
Writes component registraion information to the Windows Registry .
componentRegistrationInformation
ComponentRegistrationInformation
The component registration information.
The component registration information .
scope
ComponentRegistrationScope
None