Skip to content

Commit

Permalink
Update WAF to 8.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jbe2277 committed Apr 2, 2024
1 parent 0e062a7 commit c13de3a
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="System.Waf.UnitTesting.Wpf" Version="8.0.0-beta.2" />
<PackageReference Include="System.Waf.UnitTesting.Wpf" Version="8.0.0" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="System.Waf.Wpf" Version="8.0.0-beta.2" />
<PackageReference Include="System.Waf.Wpf" Version="8.0.0" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
using System.Waf.Applications;
using Waf.MusicManager.Applications.DataModels;
using Waf.MusicManager.Applications.DataModels;

namespace Waf.MusicManager.Applications.Services;

public interface ISelectionService
{
ObservableListView<MusicFileDataModel> MusicFiles { get; }
ObservableListViewCore<MusicFileDataModel> MusicFiles { get; }

ObservableList<MusicFileDataModel> SelectedMusicFiles { get; }
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.ComponentModel.Composition;
using System.Waf.Applications;
using Waf.MusicManager.Applications.DataModels;
using Waf.MusicManager.Domain.MusicFiles;

Expand All @@ -8,12 +7,12 @@ namespace Waf.MusicManager.Applications.Services;
[Export, Export(typeof(ISelectionService))]
internal class SelectionService : ISelectionService
{
public ObservableListView<MusicFileDataModel> MusicFiles { get; private set; } = null!;
public ObservableListViewCore<MusicFileDataModel> MusicFiles { get; private set; } = null!;

public ObservableList<MusicFileDataModel> SelectedMusicFiles { get; } = [];

public void Initialize(IEnumerable<MusicFile> musicFiles)
{
MusicFiles = new ObservableListView<MusicFileDataModel>(new SynchronizingList<MusicFileDataModel, MusicFile>(musicFiles, x => new MusicFileDataModel(x)));
MusicFiles = new(new SynchronizingList<MusicFileDataModel, MusicFile>(musicFiles, x => new MusicFileDataModel(x)));
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="System.Waf.UnitTesting.Core" Version="8.0.0-beta.2" />
<PackageReference Include="System.Waf.UnitTesting.Core" Version="8.0.0" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="System.Waf.Core" Version="8.0.0-beta.2" />
<PackageReference Include="System.Waf.Core" Version="8.0.0" />
<PackageReference Include="NLog" Version="5.2.8" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Waf.Applications;
using Waf.MusicManager.Applications.DataModels;
using Waf.MusicManager.Applications.DataModels;
using Waf.MusicManager.Applications.Services;

namespace Waf.MusicManager.Presentation.DesignData;
Expand All @@ -15,7 +14,7 @@ public MockSelectionService()
MusicFiles = new(innerMusicFiles);
}

public ObservableListView<MusicFileDataModel> MusicFiles { get; }
public ObservableListViewCore<MusicFileDataModel> MusicFiles { get; }

public ObservableList<MusicFileDataModel> SelectedMusicFiles { get; }

Expand Down

0 comments on commit c13de3a

Please sign in to comment.