Ejemplo n.º 1
0
 /// <summary>
 /// Determines whether the adapted type conforms to an interface <typeparamref name="T"/>
 /// </summary>
 /// <typeparam name="T">The interface type to test</typeparam>
 /// <returns></returns>
 public bool Realizes <T>()
 => ReflectedElement.Realizes <T>();
Ejemplo n.º 2
0
 /// <summary>
 /// Determines whether the adapted type conforms to a specified interface
 /// </summary>
 /// <param name="i">The interface to test</param>
 /// <returns></returns>
 public bool Realizes(ClrInterface i)
 => ReflectedElement.Realizes(i.ReflectedElement);