public void SetNext(ChainResponsability chain) { if (NextChain == null) { NextChain = chain; } else { NextChain.SetNext(chain); } }
public ChainResponsability(Enum id) { NextChain = null; Identification = id; }