예제 #1
0
        public BrowsableObjectInfoPlugin()
        {
            RegisterProcessSelectorsStack.Push(() =>
            {
                ShellObjectInfo.DefaultCustomProcessesSelectorDictionary.Push(item => item.InnerObject.IsFileSystemObject, item => new IProcessInfo[] { new ArchiveCompressionProcessInfo(), new ArchiveExtractionProcessInfo() });

                WinCopies.IO.ObjectModel.BrowsableObjectInfo.DefaultProcessSelectorDictionary.Push(item => WinCopies.IO.ObjectModel.BrowsableObjectInfo.Predicate(item, typeof(WinCopies.IO.Guids.Shell.Process.Archive)), TryGetArchiveProcess);
            });
        }
예제 #2
0
        public BrowsableObjectInfoPlugin()
        {
            RegisterBrowsabilityPathsStack.Push(ShellObjectInfo.RegisterDefaultBrowsabilityPaths);

            RegisterProcessSelectorsStack.Push(ShellObjectInfo.RegisterDefaultProcessSelectors);
        }
예제 #3
0
 public void RegisterProcessSelectors() => RegisterProcessSelectorsStack.RunActions();