Example #1
0
        /// <inheritdoc/>
        public override Explorer DoExploreRoot(ExploreRootEventArgs args)
        {
            string driveName = Info().DriveName;

            if (string.IsNullOrEmpty(driveName))
            {
                return(null);
            }

            return(Explore(driveName + ":\\"));
        }
Example #2
0
        public override Explorer ExploreRoot(ExploreRootEventArgs args)
        {
            var exp = this.Parent as PakExplorer;

            while (exp != null && exp.Parent is PakExplorer Parent)
            {
                exp = Parent;
            }

            return(exp);
        }
Example #3
0
 /// <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));
     }
 }
Example #4
0
 /// <summary>
 /// <see cref="Explorer.ExploreRoot"/> worker.
 /// </summary>
 /// <param name="args">.</param>
 public virtual Explorer DoExploreRoot(ExploreRootEventArgs args)
 {
     return(null);
 }
Example #5
0
 /// <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);
 }
Example #6
0
 /// <summary>
 /// <see cref="Explorer.ExploreRoot"/> worker.
 /// </summary>
 /// <param name="args">.</param>
 public virtual Explorer DoExploreRoot(ExploreRootEventArgs args)
 {
     return null;
 }
Example #7
0
 /// <summary>
 /// Calls <see cref="FarNet.Explorer.ExploreRoot"/>.
 /// </summary>
 /// <param name="args">.</param>
 public virtual Explorer UIExploreRoot(ExploreRootEventArgs args)
 {
     return Explorer.ExploreRoot(args);
 }
Example #8
0
        /// <inheritdoc/>
        public override Explorer DoExploreRoot(ExploreRootEventArgs args)
        {
            string driveName = Info().DriveName;
            if (string.IsNullOrEmpty(driveName))
                return null;

            return Explore(driveName + ":\\");
        }