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

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

Determines whether the specified type with the specified tag can be resolved.
public CanResolve ( Type type, object tag = null ) : bool
type System.Type The type.
tag object The tag.
Результат bool
        public bool CanResolve(Type type, object tag = null)
        {
            Argument.IsNotNull("type", type);

            return _serviceLocator.IsTypeRegistered(type, tag);
        }