public override bool TryInvokeMember(InvokeMemberBinder binder, object[] args, out object result) { if (args.Length == 1) { result = new XixAttribute(_nsPrefix, _xNamespace, binder.Name.ConvertUndescores(), args[0]); return(true); } return(base.TryInvokeMember(binder, args, out result)); }
public XixElement attr(XixAttribute attribute) { attribute.AttachTo(_wrappedElement); return(this); }