public override bool TryInvokeMember(InvokeMemberBinder binder, object[] args, out object result) { ErlNifTerm term = Erl.CallErlangFn(DotNetToErlang(moduleName), DotNetToErlang(binder.Name), args.Select(x => Erl.ExportAuto(x)).ToArray()); result = Erl.ExtractAuto(term); if (result != null) { return(true); } return(false); }
public TermException(ErlNifTerm term, string message, Exception inner) : base(message, inner) { this.term = term; }
public TermException(ErlNifTerm term) { this.term = term; }
public TermException(ErlNifTerm term, string message) : base(message) { this.term = term; }
internal ProcessResult(ErlNifTerm native) { this.native = native; }