Catel.IoC.CatelDependencyResolver.CanResolve C# (CSharp) Méthode

CanResolve() public méthode

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.
Résultat bool
        public bool CanResolve(Type type, object tag = null)
        {
            Argument.IsNotNull("type", type);

            return _serviceLocator.IsTypeRegistered(type, tag);
        }