You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
523 B
23 lines
523 B
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace logiqueDeLApp
|
|
{
|
|
class Paradigme
|
|
{
|
|
public string Nom { get; private set; }
|
|
public IList<Paradigme> LesParadigmes { get; private set; }
|
|
|
|
public Paradigme(string nom, List<Paradigme> lesParadigmes)
|
|
{
|
|
Nom = nom;
|
|
LesParadigmes = lesParadigmes;
|
|
}
|
|
|
|
public bool IsParadigmeExists(Paradigme p)
|
|
{
|
|
return LesParadigmes.Contains(p);
|
|
}
|
|
}
|
|
}
|