Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Acquires immutable views while transferring the generation lifetime to the contribution.

API: engine
Project: Inno.Extensibility.Modules

public Inno.Extensibility.Modules.ModuleCatalogContribution.ModuleCatalogContribution(string moduleName, Inno.Extensibility.Modules.AssemblyDomain domain, Inno.Extensibility.Modules.AssemblyScope scope, System.Collections.Generic.IReadOnlyList<System.Reflection.Assembly> assemblies, System.Collections.Generic.IReadOnlyDictionary<System.Reflection.Assembly, Inno.Extensibility.Modules.AssemblyScope> assemblyScopes, Inno.Extensibility.Modules.IModuleLifetime? lifetime = null)

Parameter moduleName: The stable module name.

Parameter domain: The ownership domain.

Parameter scope: The module’s default dependency scope.

Parameter assemblies: The complete acquired assembly set.

Parameter assemblyScopes: The actual dependency scope of every acquired assembly.

Parameter lifetime: The transferred generation owner; null denotes externally owned static code.

Exception T:System.ArgumentException: The name is empty, the assembly set is empty or contains duplicates, or scope metadata is incomplete.