Ejemplo n.º 1
0
 /// <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);
Ejemplo n.º 2
0
 /// <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);
Ejemplo n.º 3
0
 /// <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);