Esempio n. 1
0
        public BaristaCookieInstance(ObjectInstance prototype, IBaristaCookie baristaCookie)
            : this(prototype)
        {
            if (baristaCookie == null)
            {
                throw new ArgumentNullException("baristaCookie");
            }

            m_baristaCookie = baristaCookie;
        }
Esempio n. 2
0
 public BaristaCookieInstance(ObjectInstance prototype)
     : base(prototype)
 {
     m_baristaCookie = new Biscotti();
     this.PopulateFunctions();
 }