public override object GetValue(object component) { return(this.value = new XDeferredAxis <XElement>(delegate(XElement e, XName n) { if (n == null) { return e.Descendants(); } return e.Descendants(n); }, component as XElement, null)); }
public override object GetValue(object component) { return(_value = new XDeferredAxis <XElement>((e, n) => n != null ? e.Elements(n) : e.Elements(), component as XElement, null)); }