Ejemplo n.º 1
0
        public FolderViewModel(IServiceFactory serviceFactory, IFileSystemService fileSystemService, Folder folder) : base(folder)
        {
            _serviceFactory    = serviceFactory;
            _fileSystemService = fileSystemService;

            _canExpand = _fileSystemService.CanExpand(folder);
            IsExpanded = folder.IsExpanded;
            AddDummyFolder();
        }