Skip to content

How to block Jint to call indexer to find then function #2006

Answered by lahma
viceice asked this question in Q&A
Discussion options

You must be logged in to vote
var engine = new Engine(o => o.Interop.MemberAccessor = (_, _, member) => member == "then" ? JsValue.Undefined : null);

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@viceice
Comment options

@lahma
Comment options

lahma Nov 22, 2024
Collaborator

Answer selected by viceice
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants