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

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