public LocatorTarget Wrap(LocatorTarget locatorTarget) { if (LogLevel == LocatorLogLevel.None || ignore) { return(locatorTarget); } return(new EventHandlerWrapper(locatorTarget as EventHandler)); }
private LocatorTarget WrapByPlug(LocatorTarget target, LocatorPlug plug) { return(plug.Wrap(target)); }
private LocatorTarget Wrap(LocatorTarget target) { return(Im.Fold <LocatorPlug, LocatorTarget>(WrapByPlug, target, Plugs)); }
private LocatorTarget WrapperIdentity(LocatorTarget locatorTarget) { return(locatorTarget); }
public LocatorTarget Wrap(LocatorTarget locatorTarget) { return(new EventHandlerWrapper(locatorTarget as EventHandler)); }