public LocatorTarget Wrap(LocatorTarget locatorTarget)
        {
            if (LogLevel == LocatorLogLevel.None || ignore)
            {
                return(locatorTarget);
            }

            return(new EventHandlerWrapper(locatorTarget as EventHandler));
        }
Exemple #2
0
 private LocatorTarget WrapByPlug(LocatorTarget target, LocatorPlug plug)
 {
     return(plug.Wrap(target));
 }
Exemple #3
0
 private LocatorTarget Wrap(LocatorTarget target)
 {
     return(Im.Fold <LocatorPlug, LocatorTarget>(WrapByPlug, target, Plugs));
 }
Exemple #4
0
 private LocatorTarget WrapperIdentity(LocatorTarget locatorTarget)
 {
     return(locatorTarget);
 }
Exemple #5
0
 public LocatorTarget Wrap(LocatorTarget locatorTarget)
 {
     return(new EventHandlerWrapper(locatorTarget as EventHandler));
 }