/// <summary> /// Initializes a new instance of the <see cref="CompiledModuleLoaderPlugin"/> class. /// </summary> /// <param name="kernel">The kernel into which modules will be loaded.</param> /// <param name="assemblyNameRetriever">The assembly name retriever.</param> public CompiledModuleLoaderPlugin(IKernel kernel, IAssemblyNameRetriever assemblyNameRetriever) { Ensure.ArgumentNotNull(kernel, "kernel"); Ensure.ArgumentNotNull(assemblyNameRetriever, "assemblyNameRetriever"); this.Kernel = kernel; this.assemblyNameRetriever = assemblyNameRetriever; }
/// <summary> /// Initializes a new instance of the <see cref="CompiledModuleLoaderPlugin"/> class. /// </summary> /// <param name="kernelConfiguration">The kernel configuration into which modules will be loaded.</param> /// <param name="assemblyNameRetriever">The assembly name retriever.</param> /// <exception cref="ArgumentNullException"><paramref name="kernelConfiguration"/> is <see langword="null"/>.</exception> /// <exception cref="ArgumentNullException"><paramref name="assemblyNameRetriever"/> is <see langword="null"/>.</exception> public CompiledModuleLoaderPlugin(IKernelConfiguration kernelConfiguration, IAssemblyNameRetriever assemblyNameRetriever) { Ensure.ArgumentNotNull(kernelConfiguration, nameof(kernelConfiguration)); Ensure.ArgumentNotNull(assemblyNameRetriever, nameof(assemblyNameRetriever)); this.kernelConfiguration = kernelConfiguration; this.assemblyNameRetriever = assemblyNameRetriever; }
/// <summary> /// Initializes a new instance of the <see cref="AssemblyFinder"/> class. /// </summary> /// <param name="assemblyNameRetriever">The assembly name retriever.</param> public AssemblyFinder(IAssemblyNameRetriever assemblyNameRetriever) { this.assemblyNameRetriever = assemblyNameRetriever; }
/// <summary> /// Initializes a new instance of the <see cref="AssemblyFinder"/> class. /// </summary> /// <param name="assemblyNameRetriever">The assembly name retriever.</param> public AllDirectoriesAssemblyFinder(IAssemblyNameRetriever assemblyNameRetriever) { m_assemblyNameRetriever = assemblyNameRetriever; }
/// <summary> /// Initializes a new instance of the <see cref="AssemblyFinder"/> class. /// </summary> /// <param name="assemblyNameRetriever">The assembly name retriever.</param> public AssemblyFinder(IAssemblyNameRetriever assemblyNameRetriever) { this.assemblyNameRetriever = assemblyNameRetriever; }
/// <summary> /// Initializes a new instance of the <see cref="CompiledModuleLoaderPlugin" /> class. /// </summary> /// <param name="kernel">The kernel into which modules will be loaded.</param> /// <param name="assemblyNameRetriever">The assembly name retriever.</param> public CompiledModuleLoaderPlugin(IKernel kernel, IAssemblyNameRetriever assemblyNameRetriever) { Ensure.ArgumentNotNull(kernel, "kernel"); Kernel = kernel; this.assemblyNameRetriever = assemblyNameRetriever; }
/// <summary> /// Initializes a new instance of the <see cref="CompiledModuleLoaderPlugin"/> class. /// </summary> /// <param name="kernelConfiguration">The kernel configuration into which modules will be loaded.</param> /// <param name="assemblyNameRetriever">The assembly name retriever.</param> public CompiledModuleLoaderPlugin(IKernelConfiguration kernelConfiguration, IAssemblyNameRetriever assemblyNameRetriever) { this.KernelConfiguration = kernelConfiguration; this.assemblyNameRetriever = assemblyNameRetriever; }
/// <summary> /// Initializes a new instance of the <see cref="CompiledModuleLoaderPlugin"/> class. /// </summary> /// <param name="kernelConfiguration">The kernel configuration into which modules will be loaded.</param> /// <param name="assemblyNameRetriever">The assembly name retriever.</param> public CompiledModuleLoaderPlugin(IKernelConfiguration kernelConfiguration, IAssemblyNameRetriever assemblyNameRetriever) { this.KernelConfiguration = kernelConfiguration; this.assemblyNameRetriever = assemblyNameRetriever; }