Exemple #1
0
 public static ProfileResolver Find(Type serviceType, ResolveContext context,
                                    Func <IDependencyRegistrationCollection> registrations, bool delayedParentProfile = false)
 {
     return(Simple.Find(serviceType, registrations)
            ?? Func.Find(serviceType, context, registrations)
            ?? Enumerable.Find(serviceType)
            ?? (delayedParentProfile
        ? Delayed.Find(serviceType)
        : null));
 }