pull/3/head
Najlae LAMBARAA 3 years ago
parent 3a4b35de97
commit bb311054b2

@ -14,7 +14,7 @@ namespace Model
{
this.name = name;
}
public readonly Collection<Die> ListDice { get; set; }
private List<Die> listDice = new List<Die>(); //encapsulation des collections voir les videos partie 2
public string Name
{

@ -3,5 +3,9 @@
public class TestNumberDie
{
public void testConstructor()
{
}
}
}

@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
@ -6,4 +6,8 @@
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Model\Model.csproj" />
</ItemGroup>
</Project>

Loading…
Cancel
Save