Small changes
continuous-integration/drone/push Build is passing Details

master v1.0.0
Corentin LEMAIRE 2 years ago
parent f9b2bc2caf
commit 6352c72b36

@ -9,7 +9,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Console", "Console\Console.
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestUnitaires", "TestUnitaires\TestUnitaires.csproj", "{8B0671CF-1302-4244-8837-916E632007E2}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Model", "Model\Model.csproj", "{275B609D-6073-4122-B9F8-1373F76565B2}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Model", "Model\Model.csproj", "{275B609D-6073-4122-B9F8-1373F76565B2}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution

@ -139,7 +139,7 @@ public partial class FooterPage : ContentView, INotifyPropertyChanged
music.Volume = Volume;
}
private void TimeSlider_ValueChanged(object sender, ValueChangedEventArgs e)
public void TimeSlider_ValueChanged(object sender, EventArgs e)
{
if ((TimeSlider.Value * music.Duration.TotalSeconds) - music.Position.TotalSeconds <= 1 && (TimeSlider.Value * music.Duration.TotalSeconds) - music.Position.TotalSeconds >= -1)
{
@ -151,7 +151,7 @@ public partial class FooterPage : ContentView, INotifyPropertyChanged
Duration = music.Duration.ToString(@"hh\:mm\:ss");
}
private void Music_StateChanged(object sender, MediaStateChangedEventArgs e)
public void Music_StateChanged(object sender, EventArgs e)
{
if (music.CurrentState == MediaElementState.Paused || music.CurrentState == MediaElementState.Stopped)
{

@ -141,6 +141,7 @@ namespace TestUnitaires
try
{
Manager m = new(new LinqXmlSerialization(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Data")));
m.AddAlbum(album);
m.AddAlbum(album2);
m.AddArtist(artist);

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
@ -11,10 +11,10 @@
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.3.2" />
<PackageReference Include="xunit" Version="2.4.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="3.1.2">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
@ -25,5 +25,4 @@
<ProjectReference Include="..\Console\Console.csproj" />
<ProjectReference Include="..\Model\Model.csproj" />
</ItemGroup>
</Project>
</Project>
Loading…
Cancel
Save