• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

ファイル整理用ツールのPrism+WPFサンプル実装


Commit MetaInfo

Revision8069e12bcbe4f43e50a32c68f0e30edb42ba623e (tree)
Time2022-11-05 22:44:55
Authoryoshy <yoshy.org.bitbucket@gz.j...>
Commiteryoshy

Log Message

[CLEAN] 不要なusing文を削除、コメント修正

Change Summary

Incremental Difference

--- a/FolderCategorizer2.01Domain/Boundary/Repository/ILocalFileSystemRepository.cs
+++ b/FolderCategorizer2.01Domain/Boundary/Repository/ILocalFileSystemRepository.cs
@@ -1,9 +1,7 @@
11 using FolderCategorizer2.Domain.Model.Const;
22 using FolderCategorizer2.Domain.Service.Dto;
3-using NLog;
43 using System;
54 using System.Collections.Generic;
6-using System.IO;
75
86 namespace FolderCategorizer2.Domain.Boundary.Repository
97 {
--- a/FolderCategorizer2.01Domain/DomainModule.cs
+++ b/FolderCategorizer2.01Domain/DomainModule.cs
@@ -13,17 +13,17 @@ namespace FolderCategorizer2.Domain
1313
1414 public void RegisterTypes(IContainerRegistry containerRegistry)
1515 {
16- ///
17- /// Services
18- ///
16+ //
17+ // Services
18+ //
1919
2020 containerRegistry.RegisterSingleton<IFolderTreeService, FolderTreeService>();
2121 containerRegistry.RegisterSingleton<IFileListService, FileListService>();
2222 containerRegistry.RegisterSingleton<IFileSystemService, FileSystemService>();
2323
24- ///
25- /// Translators
26- ///
24+ //
25+ // Translators
26+ //
2727
2828 containerRegistry.RegisterSingleton<IFolderTreeNodeTranslator, FolderTreeNodeTranslator>();
2929 containerRegistry.RegisterSingleton<IFileListRowTranslator, FileListRowTranslator>();
--- a/FolderCategorizer2.02UseCase/UseCaseModule.cs
+++ b/FolderCategorizer2.02UseCase/UseCaseModule.cs
@@ -19,25 +19,25 @@ namespace FolderCategorizer2.UseCase
1919
2020 public void RegisterTypes(IContainerRegistry containerRegistry)
2121 {
22- ///
23- /// Folder Tree Model Interactors
24- ///
22+ //
23+ // Folder Tree Model Interactors
24+ //
2525
2626 containerRegistry.Register<IFolderTreeReplaceTreeInteractor, FolderTreeReplaceTreeInteractor>();
2727 containerRegistry.Register<IFolderTreeRefreshTreeInteractor, FolderTreeRefreshTreeInteractor>();
2828 containerRegistry.Register<IFolderTreeSelectNodeInteractor, FolderTreeSelectNodeInteractor>();
2929 containerRegistry.Register<IFolderTreeExpandNodeInteractor, FolderTreeExpandNodeInteractor>();
3030
31- ///
32- /// File List Model Interactors
33- ///
31+ //
32+ // File List Model Interactors
33+ //
3434
3535 containerRegistry.Register<IFileListReplaceListInteractor, FileListReplaceListInteractor>();
3636 containerRegistry.Register<IFileListSelectAllInteractor, FileListSelectAllInteractor>();
3737
38- ///
39- /// File System Operation Interactors
40- ///
38+ //
39+ // File System Operation Interactors
40+ //
4141
4242 containerRegistry.Register<IFileSystemMoveOperationInteractor, FileSystemMoveOperationInteractor>();
4343 containerRegistry.Register<IFileSystemCopyOperationInteractor, FileSystemCopyOperationInteractor>();
@@ -53,9 +53,9 @@ namespace FolderCategorizer2.UseCase
5353 containerRegistry.Register<IFileSystemExchangeCreationAndLastWriteTimeOperationInteractor, FileSystemExchangeCreationAndLastWriteTimeOperationInteractor>();
5454 containerRegistry.Register<IFileSystemAutoFixFolderTimestampOperationInteractor, FileSystemAutoFixFolderTimestampOperationInteractor>();
5555
56- ///
57- /// OS Shell Operation Interactors
58- ///
56+ //
57+ // OS Shell Operation Interactors
58+ //
5959
6060 containerRegistry.Register<IOSShellOpenItemInteractor, OSShellOpenItemInteractor>();
6161 containerRegistry.Register<IOSShellOpenExplorerInteractor, OSShellOpenExplorerInteractor>();
--- a/FolderCategorizer2.03Adaptor/AdaptorModule.cs
+++ b/FolderCategorizer2.03Adaptor/AdaptorModule.cs
@@ -87,9 +87,9 @@ namespace FolderCategorizer2.Adaptor
8787
8888 containerRegistry.RegisterSingleton<ICategorizePromptViewProxy, CategorizePromptViewProxy>();
8989
90- ///
91- /// Translators
92- ///
90+ //
91+ // Translators
92+ //
9393
9494 containerRegistry.RegisterSingleton<IFolderTreeIdTranslator, FolderTreeIdTranslator>();
9595 containerRegistry.RegisterSingleton<IFolderTreeNodeViewModelTranslator, FolderTreeNodeViewModelTranslator>();
--- a/FolderCategorizer2.03Adaptor/Gateway/ViewModel/CategorizePromptViewModel.cs
+++ b/FolderCategorizer2.03Adaptor/Gateway/ViewModel/CategorizePromptViewModel.cs
@@ -5,7 +5,6 @@ using Prism.Services.Dialogs;
55 using Reactive.Bindings;
66 using Reactive.Bindings.Extensions;
77 using System;
8-using System.Collections;
98 using System.Collections.Generic;
109 using System.ComponentModel;
1110 using System.Reactive.Disposables;
@@ -36,29 +35,6 @@ namespace FolderCategorizer2.Adaptor.Gateway.ViewModel
3635 public static readonly string DLG_PARAM_KEY_CREATED_AT_LIST = "CreatedAtList";
3736 public static readonly string DLG_PARAM_KEY_LAST_WRITE_AT_LIST = "WriteAtList";
3837
39- /*
40- {
41- CategorizePromptViewModel.DLG_PARAM_KEY_FOLDER_DATE_PART_LIST,
42- dates
43- },
44- {
45- CategorizePromptViewModel.DLG_PARAM_KEY_FOLDER_TYPE_PART_LIST,
46- extensions
47- },
48- {
49- CategorizePromptViewModel.DLG_PARAM_KEY_FOLDER_NAME_PART_LIST,
50- fileNames
51- },
52- {
53- CategorizePromptViewModel.DLG_PARAM_KEY_CREATED_AT_LIST,
54- createdAtList
55- },
56- {
57- CategorizePromptViewModel.DLG_PARAM_KEY_LAST_WRITE_AT_LIST,
58- lastWriteAtList
59- },
60- */
61-
6238 public event Action<IDialogResult> RequestClose;
6339
6440 public string Title { get; private set; }
--- a/FolderCategorizer2.03Adaptor/Gateway/ViewProxy/AbstractUserPromptViewProxy.cs
+++ b/FolderCategorizer2.03Adaptor/Gateway/ViewProxy/AbstractUserPromptViewProxy.cs
@@ -1,6 +1,5 @@
11 using CleanAuLait.Adaptor.Gateway.UI.Dialog;
22 using FolderCategorizer2.Adaptor.Boundary.ViewModel;
3-using FolderCategorizer2.Adaptor.Gateway.ViewModel;
43 using Prism.Services.Dialogs;
54
65 namespace FolderCategorizer2.Adaptor.Gateway.ViewProxy
--- a/FolderCategorizer2.03Adaptor/Gateway/ViewProxy/ViewProxyConst.cs
+++ b/FolderCategorizer2.03Adaptor/Gateway/ViewProxy/ViewProxyConst.cs
@@ -1,10 +1,4 @@
1-using System;
2-using System.Collections.Generic;
3-using System.Linq;
4-using System.Text;
5-using System.Threading.Tasks;
6-
7-namespace FolderCategorizer2.Adaptor.Gateway.ViewProxy
1+namespace FolderCategorizer2.Adaptor.Gateway.ViewProxy
82 {
93 internal static class ViewProxyConst
104 {
--- a/FolderCategorizer2.04OuterEdge/OuterEdgeModule.cs
+++ b/FolderCategorizer2.04OuterEdge/OuterEdgeModule.cs
@@ -21,30 +21,30 @@ namespace FolderCategorizer2.OuterEdge
2121
2222 public void RegisterTypes(IContainerRegistry containerRegistry)
2323 {
24- ///
25- /// Navigation Views
26- ///
24+ //
25+ // Navigation Views
26+ //
2727
2828 containerRegistry.RegisterForNavigation<FolderTreeView>();
2929
30- ///
31- /// Dialogs
32- ///
30+ //
31+ // Dialogs
32+ //
3333
3434 containerRegistry.RegisterDialog<UserPromptView, IUserPromptViewModel>();
3535 containerRegistry.RegisterDialog<CategorizePromptView, ICategorizePromptViewModel>();
3636
37- ///
38- /// Repositories
39- ///
37+ //
38+ // Repositories
39+ //
4040
4141 containerRegistry.RegisterSingleton<ILocalFileSystemRepository, LocalFileSystemRepository>();
4242 containerRegistry.RegisterSingleton<IShellRepository, ShellRepository>();
4343 containerRegistry.RegisterSingleton<IClipboardRepository, ClipboardRepository>();
4444
45- ///
46- /// Translator
47- ///
45+ //
46+ // Translator
47+ //
4848
4949 containerRegistry.RegisterSingleton<IFileEntryTypeTranslator, FileEntryTypeTranslator>();
5050 containerRegistry.RegisterSingleton<IDirectoryEntryTranslator, DirectoryEntryTranslator>();
--- a/FolderCategorizer2.04OuterEdge/Repository/OS/LocalFileSystemRepository.cs
+++ b/FolderCategorizer2.04OuterEdge/Repository/OS/LocalFileSystemRepository.cs
@@ -1,5 +1,4 @@
1-using CleanAuLait.Core.IO;
2-using FolderCategorizer2.Domain.Boundary.Repository;
1+using FolderCategorizer2.Domain.Boundary.Repository;
32 using FolderCategorizer2.Domain.Model.Const;
43 using FolderCategorizer2.Domain.Service.Dto;
54 using FolderCategorizer2.OuterEdge.Translator;
--- a/FolderCategorizer2.05Infra/InfraModule.cs
+++ b/FolderCategorizer2.05Infra/InfraModule.cs
@@ -13,9 +13,9 @@ namespace FolderCategorizer2.Infra
1313
1414 public void RegisterTypes(IContainerRegistry containerRegistry)
1515 {
16- ///
17- /// Resources
18- ///
16+ //
17+ // Resources
18+ //
1919
2020 containerRegistry.RegisterSingleton<IAppCaptionFormatter, AppCaptionFormatter>();
2121