Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ModCompareSelectorControlViewModel" /> class.
 /// </summary>
 /// <param name="hotkeyPressedHandler">The hotkey pressed handler.</param>
 /// <param name="appAction">The application action.</param>
 /// <param name="modPatchCollectionService">The mod patch collection service.</param>
 public ModCompareSelectorControlViewModel(ConflictSolverViewHotkeyPressedHandler hotkeyPressedHandler,
                                           IAppAction appAction, IModPatchCollectionService modPatchCollectionService)
 {
     this.modPatchCollectionService = modPatchCollectionService;
     this.appAction            = appAction;
     this.hotkeyPressedHandler = hotkeyPressedHandler;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="MergeViewerControlView" /> class.
 /// </summary>
 public MergeViewerControlView()
 {
     logger = DIResolver.Get <ILogger>();
     hotkeyPressedHandler = DIResolver.Get <ConflictSolverViewHotkeyPressedHandler>();
     resourceLoader       = DIResolver.Get <IResourceLoader>();
     InitializeComponent();
 }