Example #1
0
        public IContactItemWrapper Create(ContactItem inner, LoadContactItemDelegate load)
        {
            var wrapper = new TestContactItemWrapper(_contactItem.Release, new ContactItemWrapper(inner, load));

            _contactItem.Open(wrapper);
            return(wrapper);
        }
 public void Dispose()
 {
     if (_inner != null)
     {
         DisposeInner();
         _load = null;
     }
 }
 public IContactItemWrapper Create(ContactItem inner, LoadContactItemDelegate load)
 {
     return(_inner.Create(inner, load));
 }
 public ContactItemWrapper(ContactItem inner, LoadContactItemDelegate load)
 {
     _load  = load;
     _inner = inner;
 }