/// <summary> /// Determines whether this instance can register the specified type. /// </summary> /// <param name="type">The type.</param> /// <returns> /// <c>true</c> if this instance can register the specified type; otherwise, <c>false</c>. /// </returns> public bool CanRegisterParameter(Type type, bool useValueTypes = false) => InterfaceTypeFilterExtensions.CanRegisterParameter(type, useValueTypes);
/// <summary> /// Checks type compatibility /// </summary> /// <param name="parameterType"></param> /// <param name="attributeType"></param> /// <returns>True if parameter matches the criteria</returns> public bool CheckTypeFullName(Type parameterType, Type attributeType) => InterfaceTypeFilterExtensions.CheckTypeFullName(parameterType, attributeType);
/// <summary> /// Determines whether this instance can create the specified type. /// </summary> /// <param name="type">The type.</param> /// <returns><c>true</c> if this instance can create the specified type; otherwise, <c>false</c>.</returns> #pragma warning disable CA1822 public bool CanCreate(Type type, bool useValueTypes = false) => InterfaceTypeFilterExtensions.CanCreate(type, useValueTypes);