target_has_interface


Description:

public bool target_has_interface (Type iface_type)

A convenience function to check if target enhancer implements given interface.

This works only with Clapper specific interfaces as iface_type for writing enhancers. Applications should not care about any other interface types that given enhancer is using internally.

Parameters:

this

a EnhancerProxy

iface_type

an interface Type

Returns:

whether target implements given interface.