public bool OnShellExecution(ref Win32Helper.SHELLEXECUTEINFO info) { bool canHandle = false; foreach (IAppHandler handler in appHandlerList) { if (handler.CanHandle(info)) { canHandle = true; handler.Execute(ref info); } } return(canHandle); }
public abstract bool Execute(ref Win32Helper.SHELLEXECUTEINFO info);
public virtual bool CanHandle(Win32Helper.SHELLEXECUTEINFO info) { return(Uri.IsWellFormedUriString(info.lpFile, UriKind.RelativeOrAbsolute)); }
public bool Execute(ref Win32Helper.SHELLEXECUTEINFO info) { return(false); }
public bool CanHandle(Win32Helper.SHELLEXECUTEINFO info) { return(false); }