示例#1
0
        public IAppointmentItemWrapper Create(AppointmentItem inner, LoadAppointmentItemDelegate load)
        {
            var wrapper = new TestAppointmentItemWrapper(_appointment.Release, new AppointmentItemWrapper(inner, load));

            _appointment.Open(wrapper);
            return(wrapper);
        }
 public void Dispose()
 {
     if (_inner != null)
     {
         DisposeInner();
         _load = null;
     }
 }
 public AppointmentItemWrapper(AppointmentItem inner, LoadAppointmentItemDelegate load)
 {
     _load  = load;
     _inner = inner;
 }
 public IAppointmentItemWrapper Create(AppointmentItem inner, LoadAppointmentItemDelegate load)
 {
     return(_inner.Create(inner, load));
 }