2525namespace OnnxStack . UI . Views
2626{
2727 /// <summary>
28- /// Interaction logic for Settings .xaml
28+ /// Interaction logic for ModelView .xaml
2929 /// </summary>
30- public partial class Settings : UserControl , INavigatable , INotifyPropertyChanged
30+ public partial class ModelView : UserControl , INavigatable , INotifyPropertyChanged
3131 {
32- private readonly ILogger < Settings > _logger ;
32+ private readonly ILogger < ModelView > _logger ;
3333 private readonly string _defaultTokenizerPath ;
3434 private readonly IDialogService _dialogService ;
3535 private readonly IOnnxModelService _onnxModelService ;
@@ -45,13 +45,13 @@ public partial class Settings : UserControl, INavigatable, INotifyPropertyChange
4545
4646
4747 /// <summary>
48- /// Initializes a new instance of the <see cref="Settings "/> class.
48+ /// Initializes a new instance of the <see cref="ModelView "/> class.
4949 /// </summary>
50- public Settings ( )
50+ public ModelView ( )
5151 {
5252 if ( ! DesignerProperties . GetIsInDesignMode ( this ) )
5353 {
54- _logger = App . GetService < ILogger < Settings > > ( ) ;
54+ _logger = App . GetService < ILogger < ModelView > > ( ) ;
5555 _dialogService = App . GetService < IDialogService > ( ) ;
5656 _onnxModelService = App . GetService < IOnnxModelService > ( ) ;
5757 _stableDiffusionConfig = App . GetService < StableDiffusionConfig > ( ) ;
@@ -95,7 +95,7 @@ public ObservableCollection<ModelOptionsModel> ModelOptions
9595 }
9696
9797 public static readonly DependencyProperty ModelOptionsProperty =
98- DependencyProperty . Register ( "ModelOptions" , typeof ( ObservableCollection < ModelOptionsModel > ) , typeof ( Settings ) ) ;
98+ DependencyProperty . Register ( "ModelOptions" , typeof ( ObservableCollection < ModelOptionsModel > ) , typeof ( ModelView ) ) ;
9999
100100 public ObservableCollection < ModelSetViewModel > ModelSets
101101 {
0 commit comments