public FileSystemInfoProfile(IEventAggregator events)
     : base(events)
 {
     ProfileName       = "FileSystem";
     DiskIO            = new HardDriveDiskIOHelper(this);
     HierarchyComparer = PathComparer.LocalDefault;
     MetadataProvider  = new ExMetadataProvider();
     //CommandProviders = new List<ICommandProvider>();
     //PathMapper = IODiskPatheMapper.Instance;
     DragDrop = new FileBasedDragDropHandler(this, em => false);
 }
Esempio n. 2
0
        public FileSystemInfoExProfile(IEventAggregator events, IWindowManager windowManager, params IConverterProfile[] converters)
            : base(events, converters)
        {
            ProfileName = "FileSystem (Ex)";
            ProfileIcon = ResourceUtils.GetEmbeddedResourceAsByteArray(this, "/Model/DirectoryInfoEx/My_Computer.png");

            DiskIO            = new HardDriveDiskIOHelper(this);
            HierarchyComparer = new ExHierarchyComparer(this);
            MetadataProvider  = new ExMetadataProvider();

            CommandProviders.Add(new ExCommandProvider(this));


            //DragDrop = new FileSystemInfoExDragDropHandler(this);
            DragDrop = new FileBasedDragDropHandler(this, em => false);
            //PathMapper = IODiskPatheMapper.Instance;

            PathPatterns = new string[] { RegexPatterns.FileSystemGuidPattern, RegexPatterns.FileSystemPattern };
        }