is it possible to call/reference functions in another query file beside MyExtensions in LinqPad?
You can call one script from another:
Another way to combine scripts is to dynamically execute one script from another. The
Util.Runmethod does exactly that, and is useful in both interactive and command-line scenarios:string htmlResult = Util.Run ("test.linq", QueryResultFormat.Html).AsString();Note: If you feed
Util.Runa relative path, it will resolve it relative to the 'My Queries' directory rather than the current directory. You can switch its behavior by specifying.\test.linqinstead oftest.linqin this example.
From:
No, this isn't possible right now.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With