Пример #1
0
 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));
 }
Пример #2
0
 public DotNetFrameworkServerInfo(DotNetFrameworkAssemblyInfo rootAssemblyInfo, Dictionary <string, DotNetFrameworkAssemblyInfo> assemblyVersions)
 {
     RootAssemblyInfo = rootAssemblyInfo;
     AssemblyVersions = assemblyVersions ?? new Dictionary <string, DotNetFrameworkAssemblyInfo>();
 }