Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit a5be346

Browse files
committed
Merge branch 'refactor/mvvm' into fixes/1360-dispose-pane-pages
2 parents b886e52 + f771bb8 commit a5be346

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/GitHub.Exports/Factories/IViewViewModelFactory.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using System;
2+
using System.Diagnostics.CodeAnalysis;
23
using System.Windows;
34
using GitHub.ViewModels;
45

@@ -21,6 +22,7 @@ public interface IViewViewModelFactory
2122
/// </summary>
2223
/// <typeparam name="TViewModel">The view model interface type.</typeparam>
2324
/// <returns>The view.</returns>
25+
[SuppressMessage("Microsoft.Design", "CA1004:GenericMethodsShouldProvideTypeParameter")]
2426
FrameworkElement CreateView<TViewModel>() where TViewModel : IViewModel;
2527

2628
/// <summary>

0 commit comments

Comments
 (0)