Catel.IoC.CatelDependencyResolver.CanResolveAll C# (CSharp) Метод

CanResolveAll() публичный Метод

Determines whether all types specified can be resolved. Though ResolveAll will return null at the array index when a type cannot be resolved, this method will actually check whether all the specified types are registered. It is still possible to call ResolveAll, even when this method returns false.
public CanResolveAll ( Type types ) : bool
types System.Type The types.
Результат bool
        public bool CanResolveAll(Type[] types)
        {
            Argument.IsNotNull("types", types);

            if (types.Length == 0)
            {
                return true;
            }

            return _serviceLocator.AreAllTypesRegistered(types);
        }