Exemple #1
0
 public void SetNext(ChainResponsability chain)
 {
     if (NextChain == null)
     {
         NextChain = chain;
     }
     else
     {
         NextChain.SetNext(chain);
     }
 }
Exemple #2
0
 public ChainResponsability(Enum id)
 {
     NextChain      = null;
     Identification = id;
 }