using LeniwyDekorator;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Interfejs
{
    public class KomponentKliencki
    {
        public KomponentKliencki(Lazy<IKomponent> komponent)
        {
            this.komponent = komponent;
        }

        public void Start()
        {
            komponent.Value.JakaśMetoda();
        }

        private readonly Lazy<IKomponent> komponent;
    }
}
