public static ComServerRegistrationInfo NewDotNetFrameworkServerRegistrationInfo(Guid clsid, string className, string comServerPath, string threadingModel, DotNetFrameworkAssemblyInfo rootAssemblyInfo, Dictionary <string, DotNetFrameworkAssemblyInfo> assemblyVersions) { return(new ComServerRegistrationInfo( ComServerRegistrationType.DotNetFrameworkAssembly, clsid, className, comServerPath, threadingModel, new DotNetFrameworkServerInfo(rootAssemblyInfo, assemblyVersions), null)); }
public DotNetFrameworkServerInfo(DotNetFrameworkAssemblyInfo rootAssemblyInfo, Dictionary <string, DotNetFrameworkAssemblyInfo> assemblyVersions) { RootAssemblyInfo = rootAssemblyInfo; AssemblyVersions = assemblyVersions ?? new Dictionary <string, DotNetFrameworkAssemblyInfo>(); }