Example #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>();
Example #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);