0001    //
0002    //  PropertyRetrievable.swift
0003    //  Swinject
0004    //
0005    //  Created by mike.owens on 12/7/15.
0006    //  Copyright © 2015 Swinject Contributors. All rights reserved.
0007    //
0008    
0009    
0010    public protocol PropertyRetrievable
Container.swift:13
public typealias ResolverType = protocol<Resolvable, PropertyRetrievable>
Container.swift:209
extension Container: PropertyRetrievable {
{ 0011 0012 /// Retrieves a property for the given name where the receiving property is optional. This is a limitation of 0013 /// how you can reflect a Optional<Foo> class type where you cannot determine the inner type is Foo without parsing 0014 /// the string description (yuck). So in order to inject into an optioanl property, you need to specify the type 0015 /// so we can properly cast the object 0016 /// 0017 /// - Parameter key: The name for the property 0018 /// - Parameter type: The type of the property 0019 /// 0020 /// - Returns: The value for the property name 0021 func property<Property>(name: String) -> Property? 0022 } 0023