0001    //
0002    //  AssemblyType.swift
0003    //  Swinject
0004    //
0005    //  Created by mike.owens on 12/9/15.
0006    //  Copyright © 2015 Swinject Contributors. All rights reserved.
0007    //
0008    
0009    
0010    /// The `AssemblyType` provides a means to organize your `Service` registration in logic groups which allows
0011    /// the user to swap out different implementations of `Services` by providing different `AssemblyType` instances
0012    /// to the `Assembler`
0013    public protocol AssemblyType
Assembler.swift:43
    public init(assemblies: [AssemblyType], propertyLoaders: [PropertyLoaderType]? = nil, container: Container? = Container()) throws {
Assembler.swift:59
    public init(assemblies: [AssemblyType], parentAssembler: Assembler?, propertyLoaders: [PropertyLoaderType]? = nil) throws {
Assembler.swift:78
    public func applyAssembly(assembly: AssemblyType) {
Assembler.swift:90
    public func applyAssemblies(assemblies: [AssemblyType]) {
Assembler.swift:107
    private func runAssemblies(assemblies: [AssemblyType]) {
AssemblyType.swift:29
public extension AssemblyType {
{ 0014 0015 /// Provide hook for `Assembler` to load Services into the provided container 0016 /// 0017 /// - parameter container: the container provided by the `Assembler` 0018 /// 0019 func assemble
Assembler.swift:110
            assembly.assemble(self.container)
(container: Container) 0020 0021 /// Provides a hook to the `AssemblyType` that will be called once the `Assembler` has loaded all `AssemblyType` 0022 /// instances into the container. 0023 /// 0024 /// - parameter resolver: the resolver that can resolve instances from the built container 0025 /// 0026 func loaded
Assembler.swift:115
            assembly.loaded(self.resolver)
(resolver: ResolverType) 0027 } 0028 0029 public extension AssemblyType { 0030 func loaded(resolver: ResolverType) { 0031 // no-op 0032 } 0033 } 0034