Example #1
0
 protected virtual IContext CreateContext(string path, bool recurse, bool resolveFinalNodeFilterItems)
 {
     var context = new Context(this, path, PSDriveInfo, PathNodeProcessor, DynamicParameters,recurse);
     context.ResolveFinalNodeFilterItems = resolveFinalNodeFilterItems;
     return context;
 }
Example #2
0
 protected override PowerShell.Provider.PathNodeProcessors.IContext CreateContext(string path, bool recurse, bool resolveFinalNodeFilterItems)
 {
     var context = new Context( this, path, PSDriveInfo, PathNodeProcessor, DynamicParameters, DTEDrive.PathTopologyVersion, recurse );
     context.ResolveFinalNodeFilterItems = resolveFinalNodeFilterItems;
     return context;
 }