public object Get(IFormatReader parameter) { var reader = parameter.Get() .To <System.Xml.XmlReader>(); var items = new ArrayList(); while (!IdentityComparer.Default.Equals(parameter, _identity)) { var value = _serializer.Get(parameter); items.Add(value); reader.Read(); reader.MoveToContent(); } if (reader.HasValue) { items.Add(_item.Get(parameter)); } reader.Read(); var result = _lists.Get(items); return(result); }
public object Get(IFormatReader parameter) { var contains = parameter.IsSatisfiedBy(_member.Profile); if (contains) { var result = _member.Get(parameter); parameter.Set(); return(result); } return(null); }
public object Get(IFormatReader parameter) { var reader = parameter.Get() .To <System.Xml.XmlReader>(); var items = new ArrayList(); reader.MoveToContent(); while (parameter.Name == _name) { var value = _item.Get(parameter); items.Add(value); reader.Read(); } var result = _lists.Get(items); return(result); }
public object Get(IFormatReader parameter) => _content.Get(parameter);