public virtual object BinaryOp(string op, object other) { switch (op) { case "==": return(Equals(other)); default: DynamicHelper.LogInfo("__binary-op(" + op + ") meta-method Not Implemented."); return(null); } }
public virtual object UnaryOp(string op) { switch (op) { case "+": return(this); default: DynamicHelper.LogInfo("__unary-op(" + op + ") meta-method Not Implemented."); return(null); } }
internal protected virtual object GetValueImp(object key) { DynamicHelper.LogInfo("no getter on fields provider"); return(null); }
internal protected virtual IEnumerator <KeyValuePair <object, object> > GetEnumeratorImp() { DynamicHelper.LogInfo("no enum on fields provider"); yield break; }