From fa16b22687b9ca60f203aed5f37f975a6b385300 Mon Sep 17 00:00:00 2001 From: Edi61 <84682915+Edi61@users.noreply.github.com> Date: Sat, 25 Feb 2023 23:13:48 +0100 Subject: [PATCH] Change of namespace names according new structure New namespaces: - AntiDupl - AntiDupl.NET.Core - AntiDupl.NET.WinForms - AntiDupl.NET.WPF --- src/AntiDupl.NET.Core/External.cmd | 2 +- src/AntiDupl.NET.Core/Version.cs | 4 +- ...DuplWPF.csproj => AntiDupl.NET.WPF.csproj} | 2 +- src/AntiDupl.NET.WPF/App.xaml | 7 ++-- src/AntiDupl.NET.WPF/App.xaml.cs | 18 ++++----- .../AllowableCharactersTextBoxBehavior.cs | 2 +- ...textMenuItemSourceBindingOnOpenBehavior.cs | 8 ++-- .../DataGridScrollIntoViewBehavior.cs | 2 +- .../Behavior/FrameworkElementDropBehavior.cs | 4 +- .../Behavior/GrayoutImageBehavior.cs | 2 +- .../Behavior/ImagePropertyBehavior.cs | 6 +-- .../Behavior/MenuItemButtonGroupBehavior.cs | 6 +-- .../Behavior/MouseEnterBehaviour.cs | 2 +- .../Behavior/WindowCloseOnEscBehavior.cs | 2 +- .../Command/CalculateHistogramPeaksCommand.cs | 6 +-- .../Command/ConvertToDuplPairCommand.cs | 6 +-- .../Command/ConvertToGroupCommand.cs | 6 +-- src/AntiDupl.NET.WPF/Command/RelayCommand.cs | 2 +- .../Command/SearchDllCommand.cs | 8 ++-- src/AntiDupl.NET.WPF/Const.cs | 2 +- src/AntiDupl.NET.WPF/Control/BrushExtender.cs | 2 +- .../Control/CgsImageViewer.xaml | 12 +++--- .../Control/CgsImageViewer.xaml.cs | 2 +- .../Control/ComplexProgressBar.xaml | 2 +- .../Control/ComplexProgressBar.xaml.cs | 2 +- .../Control/ImageInfoControl.xaml | 6 +-- .../Control/ImageInfoControl.xaml.cs | 4 +- src/AntiDupl.NET.WPF/Control/NumericUpDown.cs | 2 +- .../Control/PanAndZoomViewer.cs | 2 +- .../Control/RenameImageTextBox.cs | 8 ++-- src/AntiDupl.NET.WPF/Control/RenameTextBox.cs | 2 +- src/AntiDupl.NET.WPF/Control/SearchControl.cs | 2 +- .../Control/SearchControlTheme.xaml | 2 +- .../Control/themes/NumericUpDown.xaml | 2 +- .../Control/themes/RenameTextBox.xaml | 6 +-- .../ColorToSolidColorBrushConverter.cs | 2 +- .../DeleteBackgroundValueConverter.cs | 6 +-- .../Convertor/DifferenceValueConverter.cs | 2 +- .../DuplResultMultiValueConverter.cs | 6 +-- .../Convertor/FileSizeConverter.cs | 2 +- .../FolderAreDiffrentMultuValueConverter.cs | 2 +- .../ImageBackgroundMultiValueConverter.cs | 4 +- .../Convertor/InverseBooleanConverter.cs | 2 +- .../ListToBackgroundMultiValueConverter.cs | 4 +- src/AntiDupl.NET.WPF/Convertor/MaxProperty.cs | 2 +- .../Convertor/StringToVisibilityConverter.cs | 2 +- .../ViewModeToVisibilityConverter.cs | 4 +- src/AntiDupl.NET.WPF/Core/CoreOptions.cs | 8 ++-- src/AntiDupl.NET.WPF/Core/Location.cs | 4 +- src/AntiDupl.NET.WPF/DragDrop/IDropable.cs | 2 +- .../Helper/DataGridColumnChooserHelper.cs | 2 +- .../Helper/DiffrenceHelper.cs | 2 +- .../Helper/DirectoryHelper.cs | 2 +- src/AntiDupl.NET.WPF/Helper/GroupHelper.cs | 6 +-- src/AntiDupl.NET.WPF/Helper/IOHelper.cs | 2 +- src/AntiDupl.NET.WPF/Helper/IconReader.cs | 2 +- src/AntiDupl.NET.WPF/Helper/PercentHelper.cs | 2 +- src/AntiDupl.NET.WPF/Helper/RenameHelper.cs | 8 ++-- src/AntiDupl.NET.WPF/Helper/SaatiHelper.cs | 8 ++-- .../Helper/SerializeHelper.cs | 2 +- .../Helper/VisualTreeHelperEx.cs | 2 +- src/AntiDupl.NET.WPF/Helper/WinAPIMethods.cs | 2 +- .../Model/ConfigurationModel.cs | 8 ++-- .../Model/IConfigurationModel.cs | 4 +- src/AntiDupl.NET.WPF/Model/IViewModeModel.cs | 4 +- src/AntiDupl.NET.WPF/Model/IgnoreStorage.cs | 6 +-- src/AntiDupl.NET.WPF/Model/LocationsModel.cs | 14 +++---- src/AntiDupl.NET.WPF/Model/ViewModeModel.cs | 6 +-- .../ObjectModel/ActionCondition.cs | 2 +- .../ActionGenerator/AllBestGenerator.cs | 14 +++---- .../BlockinesBluringGenerator.cs | 12 +++--- .../ConfigurableActionGenerator.cs | 16 ++++---- .../FileSizePeakBluringGenerator.cs | 10 ++--- .../ActionGenerator/FileSizePeakGenerator.cs | 10 ++--- .../LittleDifferenceGenerator.cs | 12 +++--- .../LittleDifferenceGenerator2.cs | 12 +++--- .../ObjectModel/ActionOnDuplPair.cs | 2 +- .../ObjectModel/BindableMenuItem.cs | 2 +- .../ByImageProperty/BestConditionParametr.cs | 2 +- ...ConditionOfSelectingBestImageByProperty.cs | 6 +-- .../SelectingBestImageByProperty.cs | 4 +- .../ByPath/BestImageShouldBeInDirectory.cs | 2 +- .../BestImageShouldHaveASmallerNumber.cs | 2 +- .../ByPath/IBestSelectingByPath.cs | 2 +- .../ConditionMode/EqualConditionMode.cs | 2 +- .../ConditionMode/IConditionMode.cs | 2 +- .../ConditionMode/LessConditionMode.cs | 2 +- .../ConditionMode/MoreConditionMode.cs | 2 +- .../ConfigurableAction/DeleteBadAction.cs | 6 +-- .../ConfigurableAction/DeleteOtherAction.cs | 4 +- .../ConfigurableAction/IConfigurableAction.cs | 2 +- .../ReplaceAndDeleteAction.cs | 6 +-- .../ReplaceBadImageAction.cs | 2 +- .../ConfigurableAction/SkipAction.cs | 2 +- src/AntiDupl.NET.WPF/ObjectModel/Criterion.cs | 4 +- .../ObjectModel/CriterionType.cs | 2 +- .../AnywhereDirectoryFilter.cs | 2 +- .../DirectoryFilter/IDirectoryFilter.cs | 2 +- .../OneImageInDir1OtherInDir2.cs | 2 +- .../DirectoryFilter/SameDirectory.cs | 2 +- .../ObjectModel/DuplicateGroup.cs | 6 +-- .../ObjectModel/EqualAction.cs | 2 +- .../ObjectModel/FilterCondition.cs | 12 +++--- .../ObjectModel/FilterConditionParametr.cs | 2 +- .../GettingNumber/IGettingNumber.cs | 2 +- .../NumberBeforeUnderlineGettingNumber.cs | 2 +- .../ObjectModel/ImageInfoClass.cs | 10 ++--- src/AntiDupl.NET.WPF/ObjectModel/LogEntry.cs | 2 +- .../ObjectModel/PositionInDuplPair.cs | 2 +- .../ObjectModel/SerializableCultureInfo.cs | 2 +- src/AntiDupl.NET.WPF/ObjectModel/ViewMode.cs | 2 +- .../Properties/AssemblyInfo.cs | 4 +- .../Properties/Settings.Designer.cs | 2 +- src/AntiDupl.NET.WPF/Resources/Resources.cs | 2 +- src/AntiDupl.NET.WPF/Service/IImageLoader.cs | 2 +- .../Service/ILanguageService.cs | 4 +- .../Service/IThumbnailProvider.cs | 4 +- src/AntiDupl.NET.WPF/Service/ImageLoader.cs | 4 +- .../Service/LanguageService.cs | 10 ++--- .../Service/ThumbnailCache.cs | 4 +- .../Service/ThumbnailProvider.cs | 10 ++--- src/AntiDupl.NET.WPF/Themes/Generic.xaml | 4 +- .../UndoRedo/AutoDeleteMultiPairCommand.cs | 8 ++-- .../UndoRedo/DeleteCurrentImageCommand.cs | 6 +-- .../UndoRedo/DeleteImageCommand.cs | 8 ++-- .../UndoRedo/DeleteMultiCommand.cs | 4 +- .../UndoRedo/DeleteOtherCommand.cs | 4 +- .../UndoRedo/DeleteOtherFromGroupCommand.cs | 6 +-- .../UndoRedo/DeleteOtherFromPairCommand.cs | 8 ++-- src/AntiDupl.NET.WPF/UndoRedo/IUCommand.cs | 2 +- .../UndoRedo/IUndoRedoEngine.cs | 2 +- .../UndoRedo/IgnoreMultiPairCommand.cs | 4 +- .../UndoRedo/IgnorePairCommand.cs | 4 +- .../UndoRedo/RenameImageCommand.cs | 4 +- .../UndoRedo/RenameLikeCommand.cs | 6 +-- src/AntiDupl.NET.WPF/UndoRedo/RenamedImage.cs | 4 +- .../UndoRedo/Replace2Command.cs | 4 +- .../UndoRedo/ReplaceCommand.cs | 8 ++-- .../UndoRedo/UndoRedoEngine.cs | 6 +-- src/AntiDupl.NET.WPF/View/ColorWindow.xaml | 4 +- src/AntiDupl.NET.WPF/View/ColorWindow.xaml.cs | 2 +- .../View/ComparatorWindow.xaml | 12 +++--- .../View/ComparatorWindow.xaml.cs | 2 +- .../View/ConfigurableActionWindow.xaml | 6 +-- .../View/ConfigurableActionWindow.xaml.cs | 2 +- .../View/ConfigurationWindow.xaml | 8 ++-- .../View/ConfigurationWindow.xaml.cs | 2 +- src/AntiDupl.NET.WPF/View/IWindowService.cs | 4 +- src/AntiDupl.NET.WPF/View/MainWindow.xaml | 38 +++++++++---------- src/AntiDupl.NET.WPF/View/MainWindow.xaml.cs | 2 +- src/AntiDupl.NET.WPF/View/PathWindow.xaml | 4 +- src/AntiDupl.NET.WPF/View/PathWindow.xaml.cs | 2 +- .../View/PrioritiesWindow.xaml | 6 +-- .../View/PrioritiesWindow.xaml.cs | 2 +- src/AntiDupl.NET.WPF/View/ProgressDialog.xaml | 4 +- .../View/ProgressDialog.xaml.cs | 2 +- src/AntiDupl.NET.WPF/View/WindowService.cs | 4 +- .../ViewModel/BoolEventHandler.cs | 2 +- .../ViewModel/CloseableViewModel.cs | 4 +- .../ViewModel/ColorViewModel.cs | 2 +- .../ViewModel/ComparatorViewModel.cs | 16 ++++---- .../ViewModel/ConfigurableActionViewModel.cs | 30 +++++++-------- .../ViewModel/ConfigurationViewModel.cs | 12 +++--- .../ViewModel/DuplPairViewModel.cs | 10 ++--- .../ViewModel/IClosingViewModel.cs | 2 +- .../ViewModel/LanguageViewModel.cs | 2 +- .../ViewModel/MainViewModel.cs | 24 ++++++------ .../ViewModel/PathViewModel.cs | 8 ++-- .../ViewModel/PrioritiesViewModel.cs | 10 ++--- .../ViewModel/ProgressDialogViewModel.cs | 6 +-- .../ViewModel/PropertyChangedBase.cs | 2 +- .../ViewModel/SearchPathViewModel.cs | 6 +-- ...ET.csproj => AntiDupl.NET.WinForms.csproj} | 2 +- src/AntiDupl.NET.WinForms/BitmapWorker.cs | 2 +- .../ClipboardContentBuilder.cs | 6 +-- src/AntiDupl.NET.WinForms/ComparableBitmap.cs | 2 +- src/AntiDupl.NET.WinForms/Comparator.cs | 2 +- src/AntiDupl.NET.WinForms/CoreOptions.cs | 2 +- .../DataGridViewCustomRow.cs | 2 +- .../DataGridViewDoubleTextBoxCell.cs | 2 +- src/AntiDupl.NET.WinForms/FolderOpener.cs | 2 +- src/AntiDupl.NET.WinForms/FolderPicker.cs | 2 +- .../Form/AboutProgramForm.cs | 4 +- .../Form/CoreOptionsForm.cs | 2 +- .../Form/CorePathsForm.cs | 2 +- src/AntiDupl.NET.WinForms/Form/MainForm.cs | 2 +- .../Form/ProgressForm.cs | 2 +- .../Form/SearchExecuterForm.cs | 2 +- .../Form/SelectHorizontalColumnsForm.cs | 2 +- .../Form/SelectHotKeysForm.cs | 2 +- .../Form/SelectVerticalColumnsForm.cs | 2 +- .../Form/StartFinishForm.cs | 4 +- .../GUIControl/AboutProgramPanel.cs | 2 +- .../GUIControl/ComplexProgressBar.cs | 2 +- .../GUIControl/ImagePreviewContextMenu.cs | 2 +- .../GUIControl/ImagePreviewPanel.cs | 2 +- .../GUIControl/LabeledComboBox.cs | 2 +- .../GUIControl/LabeledIntegerEdit.cs | 2 +- .../GUIControl/LabeledNumericUpDown.cs | 2 +- .../GUIControl/LanguageMenuItem.cs | 2 +- .../GUIControl/MainMenu.cs | 2 +- .../GUIControl/MainSplitContainer.cs | 2 +- .../GUIControl/MainStatusStrip.cs | 2 +- .../GUIControl/MainToolStrip.cs | 2 +- .../GUIControl/NewVersionMenuItem.cs | 4 +- .../GUIControl/PictureBoxPanel.cs | 2 +- .../GUIControl/ProgressPanel.cs | 2 +- .../GUIControl/RaisedPanel.cs | 2 +- .../GUIControl/ResultsListView.cs | 6 +-- .../GUIControl/ResultsListViewContextMenu.cs | 2 +- .../GUIControl/ResultsPreviewBase.cs | 2 +- .../GUIControl/ResultsPreviewContainer.cs | 2 +- .../GUIControl/ResultsPreviewDefect.cs | 2 +- .../GUIControl/ResultsPreviewDuplPair.cs | 2 +- .../GUIControl/ThumbnailGroupPanel.cs | 6 +-- .../GUIControl/ThumbnailGroupTable.cs | 6 +-- .../GUIControl/ThumbnailPanel.cs | 6 +-- .../GUIControl/ThumbnailPreview.cs | 2 +- .../GUIControl/ThumbnailPreviewContextMenu.cs | 2 +- .../GUIControl/ViewModeMenuItem.cs | 4 +- src/AntiDupl.NET.WinForms/HotKeyOptions.cs | 2 +- src/AntiDupl.NET.WinForms/ImageOpener.cs | 2 +- src/AntiDupl.NET.WinForms/InitFactory.cs | 2 +- src/AntiDupl.NET.WinForms/MainFormOptions.cs | 2 +- src/AntiDupl.NET.WinForms/Options.cs | 2 +- src/AntiDupl.NET.WinForms/Program.cs | 2 +- src/AntiDupl.NET.WinForms/ProgressUtils.cs | 2 +- .../Properties/Settings.Designer.cs | 2 +- src/AntiDupl.NET.WinForms/Resources.cs | 22 +++++------ src/AntiDupl.NET.WinForms/ResultRowSetter.cs | 6 +-- src/AntiDupl.NET.WinForms/ResultsOptions.cs | 2 +- src/AntiDupl.NET.WinForms/Strings.cs | 2 +- .../StringsDefaultEnglish.cs | 2 +- .../StringsDefaultRussian.cs | 2 +- src/AntiDupl.NET.WinForms/ThumbnailStorage.cs | 2 +- src/AntiDupl.sln | 10 +++-- .../{AntiDupl64.vcxproj => AntiDupl.vcxproj} | 0 ...xproj.filters => AntiDupl.vcxproj.filters} | 0 238 files changed, 527 insertions(+), 526 deletions(-) rename src/AntiDupl.NET.WPF/{AntiDuplWPF.csproj => AntiDupl.NET.WPF.csproj} (99%) rename src/AntiDupl.NET.WinForms/{AntiDupl.NET.csproj => AntiDupl.NET.WinForms.csproj} (98%) rename src/AntiDupl/{AntiDupl64.vcxproj => AntiDupl.vcxproj} (100%) rename src/AntiDupl/{AntiDupl64.vcxproj.filters => AntiDupl.vcxproj.filters} (100%) diff --git a/src/AntiDupl.NET.Core/External.cmd b/src/AntiDupl.NET.Core/External.cmd index 77d32bef..12a8d4e7 100644 --- a/src/AntiDupl.NET.Core/External.cmd +++ b/src/AntiDupl.NET.Core/External.cmd @@ -48,7 +48,7 @@ echo *>>%EXTERNAL_FILE% echo * Do not change this file because the file is auto generated by script External.cmd.>>%EXTERNAL_FILE% echo */>>%EXTERNAL_FILE% echo.>>%EXTERNAL_FILE% -echo namespace AntiDupl.NET>>%EXTERNAL_FILE% +echo namespace AntiDupl.NET.Core>>%EXTERNAL_FILE% echo {>>%EXTERNAL_FILE% echo static public class External>>%EXTERNAL_FILE% echo {>>%EXTERNAL_FILE% diff --git a/src/AntiDupl.NET.Core/Version.cs b/src/AntiDupl.NET.Core/Version.cs index 3e42ec2c..3e5f743b 100644 --- a/src/AntiDupl.NET.Core/Version.cs +++ b/src/AntiDupl.NET.Core/Version.cs @@ -28,9 +28,7 @@ using System.Xml; using System.Xml.Serialization; -using AntiDupl.NET.Core; - -namespace AntiDupl.NET +namespace AntiDupl.NET.Core { public class Version { diff --git a/src/AntiDupl.NET.WPF/AntiDuplWPF.csproj b/src/AntiDupl.NET.WPF/AntiDupl.NET.WPF.csproj similarity index 99% rename from src/AntiDupl.NET.WPF/AntiDuplWPF.csproj rename to src/AntiDupl.NET.WPF/AntiDupl.NET.WPF.csproj index 6e8b90a4..c92172f4 100644 --- a/src/AntiDupl.NET.WPF/AntiDuplWPF.csproj +++ b/src/AntiDupl.NET.WPF/AntiDupl.NET.WPF.csproj @@ -26,7 +26,7 @@ false - AntiDuplWPF.App + AntiDupl.NET.WPF.App x64 diff --git a/src/AntiDupl.NET.WPF/App.xaml b/src/AntiDupl.NET.WPF/App.xaml index 658e34ac..1cea13f8 100644 --- a/src/AntiDupl.NET.WPF/App.xaml +++ b/src/AntiDupl.NET.WPF/App.xaml @@ -1,13 +1,12 @@ - - - - + + diff --git a/src/AntiDupl.NET.WPF/App.xaml.cs b/src/AntiDupl.NET.WPF/App.xaml.cs index 21b378b6..b9fedc5c 100644 --- a/src/AntiDupl.NET.WPF/App.xaml.cs +++ b/src/AntiDupl.NET.WPF/App.xaml.cs @@ -1,17 +1,17 @@ using System; using System.ComponentModel; using System.Windows; -using AntiDuplWPF.Core; -using AntiDuplWPF.Model; -using AntiDuplWPF.Properties; -using AntiDuplWPF.Service; -using AntiDuplWPF.View; -using AntiDuplWPF.ViewModel; +using AntiDupl.NET.WPF.Core; +using AntiDupl.NET.WPF.Model; +using AntiDupl.NET.WPF.Properties; +using AntiDupl.NET.WPF.Service; +using AntiDupl.NET.WPF.View; +using AntiDupl.NET.WPF.ViewModel; using TinyIoC; using AntiDupl.NET.Core; -namespace AntiDuplWPF +namespace AntiDupl.NET.WPF { public partial class App { @@ -33,8 +33,8 @@ private void Application_Startup(object sender, StartupEventArgs e) ILanguageService languageService = new LanguageService(confModel); TinyIoCContainer.Current.Register(languageService); - AntiDuplWPF.Resources.Resources.UserPath = AntiDuplWPF.Resources.Resources.GetDefaultUserPath(); - CoreLib core = new CoreLib(AntiDuplWPF.Resources.Resources.UserPath); + AntiDupl.NET.WPF.Resources.Resources.UserPath = AntiDupl.NET.WPF.Resources.Resources.GetDefaultUserPath(); + CoreLib core = new CoreLib(AntiDupl.NET.WPF.Resources.Resources.UserPath); TinyIoC.TinyIoCContainer.Current.Register(core); ImageLoader imageLoader = new ImageLoader(core); diff --git a/src/AntiDupl.NET.WPF/Behavior/AllowableCharactersTextBoxBehavior.cs b/src/AntiDupl.NET.WPF/Behavior/AllowableCharactersTextBoxBehavior.cs index 3ce9b0de..93e778f9 100644 --- a/src/AntiDupl.NET.WPF/Behavior/AllowableCharactersTextBoxBehavior.cs +++ b/src/AntiDupl.NET.WPF/Behavior/AllowableCharactersTextBoxBehavior.cs @@ -9,7 +9,7 @@ using System.Windows.Input; using Microsoft.Xaml.Behaviors; -namespace AntiDuplWPF.Behavior +namespace AntiDupl.NET.WPF.Behavior { public class AllowableCharactersTextBoxBehavior : Behavior { diff --git a/src/AntiDupl.NET.WPF/Behavior/DataGridContextMenuItemSourceBindingOnOpenBehavior.cs b/src/AntiDupl.NET.WPF/Behavior/DataGridContextMenuItemSourceBindingOnOpenBehavior.cs index d0ef2435..7984fc8d 100644 --- a/src/AntiDupl.NET.WPF/Behavior/DataGridContextMenuItemSourceBindingOnOpenBehavior.cs +++ b/src/AntiDupl.NET.WPF/Behavior/DataGridContextMenuItemSourceBindingOnOpenBehavior.cs @@ -12,11 +12,11 @@ using System.Windows.Documents; using System.Windows.Input; using Microsoft.Xaml.Behaviors; -using AntiDuplWPF.Helper; -using AntiDuplWPF.ObjectModel; -using AntiDuplWPF.ViewModel; +using AntiDupl.NET.WPF.Helper; +using AntiDupl.NET.WPF.ObjectModel; +using AntiDupl.NET.WPF.ViewModel; -namespace AntiDuplWPF.Behavior +namespace AntiDupl.NET.WPF.Behavior { public class DataGridContextMenuItemSourceBindingOnOpenBehavior : Behavior { diff --git a/src/AntiDupl.NET.WPF/Behavior/DataGridScrollIntoViewBehavior.cs b/src/AntiDupl.NET.WPF/Behavior/DataGridScrollIntoViewBehavior.cs index 7c927095..5075aad4 100644 --- a/src/AntiDupl.NET.WPF/Behavior/DataGridScrollIntoViewBehavior.cs +++ b/src/AntiDupl.NET.WPF/Behavior/DataGridScrollIntoViewBehavior.cs @@ -8,7 +8,7 @@ using System.Windows.Controls; using Microsoft.Xaml.Behaviors; -namespace AntiDuplWPF.Behavior +namespace AntiDupl.NET.WPF.Behavior { public class DataGridScrollIntoViewBehavior : Behavior { diff --git a/src/AntiDupl.NET.WPF/Behavior/FrameworkElementDropBehavior.cs b/src/AntiDupl.NET.WPF/Behavior/FrameworkElementDropBehavior.cs index 71f3807f..9e423a20 100644 --- a/src/AntiDupl.NET.WPF/Behavior/FrameworkElementDropBehavior.cs +++ b/src/AntiDupl.NET.WPF/Behavior/FrameworkElementDropBehavior.cs @@ -5,9 +5,9 @@ using System.Threading.Tasks; using System.Windows; using Microsoft.Xaml.Behaviors; -using AntiDuplWPF.DragDrop; +using AntiDupl.NET.WPF.DragDrop; -namespace AntiDuplWPF.Behavior +namespace AntiDupl.NET.WPF.Behavior { public class FrameworkElementDropBehavior : Behavior { diff --git a/src/AntiDupl.NET.WPF/Behavior/GrayoutImageBehavior.cs b/src/AntiDupl.NET.WPF/Behavior/GrayoutImageBehavior.cs index 3462af8f..d7fce9c9 100644 --- a/src/AntiDupl.NET.WPF/Behavior/GrayoutImageBehavior.cs +++ b/src/AntiDupl.NET.WPF/Behavior/GrayoutImageBehavior.cs @@ -8,7 +8,7 @@ using System.Windows.Media.Imaging; using Image = System.Windows.Controls.Image; -namespace AntiDuplWPF.Behavior +namespace AntiDupl.NET.WPF.Behavior { // http://stackoverflow.com/questions/11305577/grey-out-image-on-button-when-element-is-disabled-simple-and-beautiful-way public class GrayoutImageBehavior diff --git a/src/AntiDupl.NET.WPF/Behavior/ImagePropertyBehavior.cs b/src/AntiDupl.NET.WPF/Behavior/ImagePropertyBehavior.cs index 08f2bfa0..13ac6277 100644 --- a/src/AntiDupl.NET.WPF/Behavior/ImagePropertyBehavior.cs +++ b/src/AntiDupl.NET.WPF/Behavior/ImagePropertyBehavior.cs @@ -6,11 +6,11 @@ using System.Windows; using Microsoft.Xaml.Behaviors; using System.Windows.Controls; -using AntiDuplWPF.Helper; +using AntiDupl.NET.WPF.Helper; using TinyIoC; -using AntiDuplWPF.Model; +using AntiDupl.NET.WPF.Model; -namespace AntiDuplWPF.Behavior +namespace AntiDupl.NET.WPF.Behavior { public class ImagePropertyBehavior : Behavior { diff --git a/src/AntiDupl.NET.WPF/Behavior/MenuItemButtonGroupBehavior.cs b/src/AntiDupl.NET.WPF/Behavior/MenuItemButtonGroupBehavior.cs index 31815cc9..4db8c2bf 100644 --- a/src/AntiDupl.NET.WPF/Behavior/MenuItemButtonGroupBehavior.cs +++ b/src/AntiDupl.NET.WPF/Behavior/MenuItemButtonGroupBehavior.cs @@ -6,11 +6,11 @@ using System.Windows; using System.Windows.Controls; using Microsoft.Xaml.Behaviors; -using AntiDuplWPF.Model; -using AntiDuplWPF.ObjectModel; +using AntiDupl.NET.WPF.Model; +using AntiDupl.NET.WPF.ObjectModel; using TinyIoC; -namespace AntiDuplWPF.Behavior +namespace AntiDupl.NET.WPF.Behavior { public class MenuItemButtonGroupBehavior : Behavior { diff --git a/src/AntiDupl.NET.WPF/Behavior/MouseEnterBehaviour.cs b/src/AntiDupl.NET.WPF/Behavior/MouseEnterBehaviour.cs index 31ad3d6d..f628edc2 100644 --- a/src/AntiDupl.NET.WPF/Behavior/MouseEnterBehaviour.cs +++ b/src/AntiDupl.NET.WPF/Behavior/MouseEnterBehaviour.cs @@ -7,7 +7,7 @@ using System.Windows.Input; using Microsoft.Xaml.Behaviors; -namespace AntiDuplWPF.Behavior +namespace AntiDupl.NET.WPF.Behavior { public class MouseEnterBehaviour : Behavior { diff --git a/src/AntiDupl.NET.WPF/Behavior/WindowCloseOnEscBehavior.cs b/src/AntiDupl.NET.WPF/Behavior/WindowCloseOnEscBehavior.cs index 93c6f4db..05a982b0 100644 --- a/src/AntiDupl.NET.WPF/Behavior/WindowCloseOnEscBehavior.cs +++ b/src/AntiDupl.NET.WPF/Behavior/WindowCloseOnEscBehavior.cs @@ -7,7 +7,7 @@ using System.Windows.Input; using Microsoft.Xaml.Behaviors; -namespace AntiDuplWPF.Behavior +namespace AntiDupl.NET.WPF.Behavior { class WindowCloseOnEscBehavior : Behavior { diff --git a/src/AntiDupl.NET.WPF/Command/CalculateHistogramPeaksCommand.cs b/src/AntiDupl.NET.WPF/Command/CalculateHistogramPeaksCommand.cs index 2738468b..256a0234 100644 --- a/src/AntiDupl.NET.WPF/Command/CalculateHistogramPeaksCommand.cs +++ b/src/AntiDupl.NET.WPF/Command/CalculateHistogramPeaksCommand.cs @@ -8,13 +8,13 @@ using System.Windows; using System.Windows.Input; using System.Windows.Threading; -using AntiDuplWPF.Core; -using AntiDuplWPF.ViewModel; +using AntiDupl.NET.WPF.Core; +using AntiDupl.NET.WPF.ViewModel; using AntiDupl.NET.Core; using AntiDupl.NET.Core.Original; -namespace AntiDuplWPF.Command +namespace AntiDupl.NET.WPF.Command { class CalculateHistogramPeaksCommand : ICommand { diff --git a/src/AntiDupl.NET.WPF/Command/ConvertToDuplPairCommand.cs b/src/AntiDupl.NET.WPF/Command/ConvertToDuplPairCommand.cs index 94968335..d95ab5f7 100644 --- a/src/AntiDupl.NET.WPF/Command/ConvertToDuplPairCommand.cs +++ b/src/AntiDupl.NET.WPF/Command/ConvertToDuplPairCommand.cs @@ -8,10 +8,10 @@ using System.Windows; using System.Windows.Data; using System.Windows.Input; -using AntiDuplWPF.Helper; -using AntiDuplWPF.ViewModel; +using AntiDupl.NET.WPF.Helper; +using AntiDupl.NET.WPF.ViewModel; -namespace AntiDuplWPF.Command +namespace AntiDupl.NET.WPF.Command { class ConvertToDuplPairCommand : ICommand { diff --git a/src/AntiDupl.NET.WPF/Command/ConvertToGroupCommand.cs b/src/AntiDupl.NET.WPF/Command/ConvertToGroupCommand.cs index de3b1e7c..ffd005c6 100644 --- a/src/AntiDupl.NET.WPF/Command/ConvertToGroupCommand.cs +++ b/src/AntiDupl.NET.WPF/Command/ConvertToGroupCommand.cs @@ -8,10 +8,10 @@ using System.Windows.Data; using System.Windows.Input; using System.Windows.Threading; -using AntiDuplWPF.Helper; -using AntiDuplWPF.ViewModel; +using AntiDupl.NET.WPF.Helper; +using AntiDupl.NET.WPF.ViewModel; -namespace AntiDuplWPF.Command +namespace AntiDupl.NET.WPF.Command { class ConvertToGroupCommand : ICommand { diff --git a/src/AntiDupl.NET.WPF/Command/RelayCommand.cs b/src/AntiDupl.NET.WPF/Command/RelayCommand.cs index 9c9b57e3..032015e5 100644 --- a/src/AntiDupl.NET.WPF/Command/RelayCommand.cs +++ b/src/AntiDupl.NET.WPF/Command/RelayCommand.cs @@ -5,7 +5,7 @@ using System.Threading.Tasks; using System.Windows.Input; -namespace AntiDuplWPF.Command +namespace AntiDupl.NET.WPF.Command { /// /// Taken from http://msdn.microsoft.com/en-us/magazine/dd419663.aspx#id0090030 diff --git a/src/AntiDupl.NET.WPF/Command/SearchDllCommand.cs b/src/AntiDupl.NET.WPF/Command/SearchDllCommand.cs index 25acf626..43a82eae 100644 --- a/src/AntiDupl.NET.WPF/Command/SearchDllCommand.cs +++ b/src/AntiDupl.NET.WPF/Command/SearchDllCommand.cs @@ -7,9 +7,9 @@ using System.Windows; using System.Windows.Input; using System.Windows.Threading; -using AntiDuplWPF.Core; -using AntiDuplWPF.View; -using AntiDuplWPF.ViewModel; +using AntiDupl.NET.WPF.Core; +using AntiDupl.NET.WPF.View; +using AntiDupl.NET.WPF.ViewModel; using AntiDupl.NET.Core; using AntiDupl.NET.Core.Original; @@ -18,7 +18,7 @@ using System.ComponentModel.Composition.Primitives; using MS.WindowsAPICodePack.Internal; -namespace AntiDuplWPF.Command +namespace AntiDupl.NET.WPF.Command { public class SearchDllCommand : ICommand { diff --git a/src/AntiDupl.NET.WPF/Const.cs b/src/AntiDupl.NET.WPF/Const.cs index dbf9a36d..6036d9d7 100644 --- a/src/AntiDupl.NET.WPF/Const.cs +++ b/src/AntiDupl.NET.WPF/Const.cs @@ -4,7 +4,7 @@ using System.Text; using System.Threading.Tasks; -namespace AntiDuplWPF +namespace AntiDupl.NET.WPF { public class Const { diff --git a/src/AntiDupl.NET.WPF/Control/BrushExtender.cs b/src/AntiDupl.NET.WPF/Control/BrushExtender.cs index 9619b5ca..13eddd3e 100644 --- a/src/AntiDupl.NET.WPF/Control/BrushExtender.cs +++ b/src/AntiDupl.NET.WPF/Control/BrushExtender.cs @@ -6,7 +6,7 @@ using System.Windows; using System.Windows.Media; -namespace AntiDuplWPF.Control +namespace AntiDupl.NET.WPF.Control { public static class BrushExtender { diff --git a/src/AntiDupl.NET.WPF/Control/CgsImageViewer.xaml b/src/AntiDupl.NET.WPF/Control/CgsImageViewer.xaml index 8d38f49e..614e9f88 100644 --- a/src/AntiDupl.NET.WPF/Control/CgsImageViewer.xaml +++ b/src/AntiDupl.NET.WPF/Control/CgsImageViewer.xaml @@ -1,9 +1,9 @@ - diff --git a/src/AntiDupl.NET.WPF/Control/CgsImageViewer.xaml.cs b/src/AntiDupl.NET.WPF/Control/CgsImageViewer.xaml.cs index 31c06076..f7f0e6da 100644 --- a/src/AntiDupl.NET.WPF/Control/CgsImageViewer.xaml.cs +++ b/src/AntiDupl.NET.WPF/Control/CgsImageViewer.xaml.cs @@ -13,7 +13,7 @@ using System.Windows.Navigation; using System.Windows.Shapes; -namespace AntiDuplWPF.Control +namespace AntiDupl.NET.WPF.Control { /// /// Логика взаимодействия для CgsImageViewer.xaml diff --git a/src/AntiDupl.NET.WPF/Control/ComplexProgressBar.xaml b/src/AntiDupl.NET.WPF/Control/ComplexProgressBar.xaml index 571c5b5c..632f1ec7 100644 --- a/src/AntiDupl.NET.WPF/Control/ComplexProgressBar.xaml +++ b/src/AntiDupl.NET.WPF/Control/ComplexProgressBar.xaml @@ -1,4 +1,4 @@ - /// Логика взаимодействия для ComplexProgressBar.xaml diff --git a/src/AntiDupl.NET.WPF/Control/ImageInfoControl.xaml b/src/AntiDupl.NET.WPF/Control/ImageInfoControl.xaml index f97e9cf9..90fd0c1c 100644 --- a/src/AntiDupl.NET.WPF/Control/ImageInfoControl.xaml +++ b/src/AntiDupl.NET.WPF/Control/ImageInfoControl.xaml @@ -1,11 +1,11 @@ - diff --git a/src/AntiDupl.NET.WPF/Control/ImageInfoControl.xaml.cs b/src/AntiDupl.NET.WPF/Control/ImageInfoControl.xaml.cs index 9b6044ac..28d2a1f1 100644 --- a/src/AntiDupl.NET.WPF/Control/ImageInfoControl.xaml.cs +++ b/src/AntiDupl.NET.WPF/Control/ImageInfoControl.xaml.cs @@ -12,9 +12,9 @@ using System.Windows.Media.Imaging; using System.Windows.Navigation; using System.Windows.Shapes; -using AntiDuplWPF.ObjectModel; +using AntiDupl.NET.WPF.ObjectModel; -namespace AntiDuplWPF.Control +namespace AntiDupl.NET.WPF.Control { /// /// Логика взаимодействия для ImageInfoControl.xaml diff --git a/src/AntiDupl.NET.WPF/Control/NumericUpDown.cs b/src/AntiDupl.NET.WPF/Control/NumericUpDown.cs index 0fa661eb..5b04cebb 100644 --- a/src/AntiDupl.NET.WPF/Control/NumericUpDown.cs +++ b/src/AntiDupl.NET.WPF/Control/NumericUpDown.cs @@ -12,7 +12,7 @@ using System.Windows.Controls; using System.Windows.Input; -namespace AntiDuplWPF.Control +namespace AntiDupl.NET.WPF.Control { public class NumericUpDown : System.Windows.Controls.Control { diff --git a/src/AntiDupl.NET.WPF/Control/PanAndZoomViewer.cs b/src/AntiDupl.NET.WPF/Control/PanAndZoomViewer.cs index a16d2923..c8f2635e 100644 --- a/src/AntiDupl.NET.WPF/Control/PanAndZoomViewer.cs +++ b/src/AntiDupl.NET.WPF/Control/PanAndZoomViewer.cs @@ -5,7 +5,7 @@ using System.Windows; using System.Windows.Media; -namespace AntiDuplWPF.Control +namespace AntiDupl.NET.WPF.Control { public class PanAndZoomViewer : ContentControl { diff --git a/src/AntiDupl.NET.WPF/Control/RenameImageTextBox.cs b/src/AntiDupl.NET.WPF/Control/RenameImageTextBox.cs index b0782f1d..2f9f4210 100644 --- a/src/AntiDupl.NET.WPF/Control/RenameImageTextBox.cs +++ b/src/AntiDupl.NET.WPF/Control/RenameImageTextBox.cs @@ -6,15 +6,15 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -using AntiDuplWPF.UndoRedo; +using AntiDupl.NET.WPF.UndoRedo; using TinyIoC; using System.Windows.Input; using System.Windows; -using AntiDuplWPF.ObjectModel; -using AntiDuplWPF.Command; +using AntiDupl.NET.WPF.ObjectModel; +using AntiDupl.NET.WPF.Command; using System.IO; -namespace AntiDuplWPF.Control +namespace AntiDupl.NET.WPF.Control { public class RenameImageTextBox : RenameTextBox { diff --git a/src/AntiDupl.NET.WPF/Control/RenameTextBox.cs b/src/AntiDupl.NET.WPF/Control/RenameTextBox.cs index a39e227b..74c3dedb 100644 --- a/src/AntiDupl.NET.WPF/Control/RenameTextBox.cs +++ b/src/AntiDupl.NET.WPF/Control/RenameTextBox.cs @@ -10,7 +10,7 @@ using System.Windows.Input; using System.Windows.Threading; -namespace AntiDuplWPF.Control +namespace AntiDupl.NET.WPF.Control { /// /// Represents a control that can be used for text search input. diff --git a/src/AntiDupl.NET.WPF/Control/SearchControl.cs b/src/AntiDupl.NET.WPF/Control/SearchControl.cs index 9613fc01..d2b78a06 100644 --- a/src/AntiDupl.NET.WPF/Control/SearchControl.cs +++ b/src/AntiDupl.NET.WPF/Control/SearchControl.cs @@ -12,7 +12,7 @@ using System.Windows.Navigation; using System.Windows.Shapes; -namespace AntiDuplWPF.Control +namespace AntiDupl.NET.WPF.Control { public class SearchControl : ContentControl { diff --git a/src/AntiDupl.NET.WPF/Control/SearchControlTheme.xaml b/src/AntiDupl.NET.WPF/Control/SearchControlTheme.xaml index 2712e949..31e53159 100644 --- a/src/AntiDupl.NET.WPF/Control/SearchControlTheme.xaml +++ b/src/AntiDupl.NET.WPF/Control/SearchControlTheme.xaml @@ -1,6 +1,6 @@  + xmlns:control="clr-namespace:AntiDupl.NET.WPF.Control">