public override void Visit(CollectionValueType collectionValueType) { var collectionElements = collectionValueType.CollectionType.BreakCollectionIntoElements(collectionValueType.ElementValueType.Type, this.value); var convertedElements = new List<CollectionElement>(); foreach (var collectionElement in collectionElements) { this.value = collectionElement.Element; collectionValueType.ElementValueType.Accept(this); convertedElements.Add(new CollectionElement() { Element = this.value, CustomData = collectionElement.CustomData }); } this.value = collectionValueType.CollectionType.CreateDocumentValueFromElements(convertedElements); }
public virtual void Visit(CollectionValueType collectionValueType) { }