protected void AddItem(ICarouselDialogItem item) { if (!_items.Contains(item)) { item.CarouselCenter = CarouselCenter; item.CarouselRadii = CarouselRadii; item.DepthRange = _itemRenderDepths; item.ScaleRange = _itemScales; _items.Add(item); _registerObject(item); } }
protected void AddItem(ICarouselDialogItem item) { if (!_items.Contains(item)) { item.CarouselCenter = CarouselCenter; item.CarouselRadii = CarouselRadii; item.DepthRange = _itemRenderDepths; item.ScaleRange = _itemScales; _items.Add(item); _registerObject(item); } }