/// <inheritdoc/> public override Explorer DoExploreRoot(ExploreRootEventArgs args) { string driveName = Info().DriveName; if (string.IsNullOrEmpty(driveName)) { return(null); } return(Explore(driveName + ":\\")); }
public override Explorer ExploreRoot(ExploreRootEventArgs args) { var exp = this.Parent as PakExplorer; while (exp != null && exp.Parent is PakExplorer Parent) { exp = Parent; } return(exp); }
/// <include file='doc.xml' path='doc/ScriptFork/*'/> /// <param name="args">.</param> public sealed override Explorer ExploreRoot(ExploreRootEventArgs args) { if (AsExploreRoot == null) { return(DoExploreRoot(args)); } else { return(InvokeExplorerScript(AsExploreRoot, args)); } }
/// <summary> /// <see cref="Explorer.ExploreRoot"/> worker. /// </summary> /// <param name="args">.</param> public virtual Explorer DoExploreRoot(ExploreRootEventArgs args) { return(null); }
/// <include file='doc.xml' path='doc/ScriptFork/*'/> /// <param name="args">.</param> public override sealed Explorer ExploreRoot(ExploreRootEventArgs args) { if (AsExploreRoot == null) return DoExploreRoot(args); else return InvokeExplorerScript(AsExploreRoot, args); }
/// <summary> /// <see cref="Explorer.ExploreRoot"/> worker. /// </summary> /// <param name="args">.</param> public virtual Explorer DoExploreRoot(ExploreRootEventArgs args) { return null; }
/// <summary> /// Calls <see cref="FarNet.Explorer.ExploreRoot"/>. /// </summary> /// <param name="args">.</param> public virtual Explorer UIExploreRoot(ExploreRootEventArgs args) { return Explorer.ExploreRoot(args); }
/// <inheritdoc/> public override Explorer DoExploreRoot(ExploreRootEventArgs args) { string driveName = Info().DriveName; if (string.IsNullOrEmpty(driveName)) return null; return Explore(driveName + ":\\"); }