示例#1
0
        public async Task Handle(IDropInfo dropInfo)
        {
            var directoryName = GetDirectoryName(dropInfo);

            if (directoryName == null)
            {
                return;
            }
            var files = Directory.GetFiles(directoryName);
            await _logState.Load(await _logLoader.LoadPaths(files));
        }
 public async Task Handle(IDropInfo dropInfo)
 {
     var paths = GetFilePaths(dropInfo);
     await _logState.Load(await _logLoader.LoadPaths(paths));
 }