示例#1
0
 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));
 }
示例#2
0
 public XixElement attr(XixAttribute attribute)
 {
     attribute.AttachTo(_wrappedElement);
     return(this);
 }