Skip to content

v0.2.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@SeeminglyScience SeeminglyScience released this 10 Sep 21:12
df89f90

With this release comes the ability to access non-public members without having to output them first. This allows you to use any non-public member like they've always been public as long as ImpliedReflection is enabled.

This is done by replacing the delegate used by the engine to retrieve CLR members with a custom delegate that includes non-public members.

For non-public static members, it's still required to output either an instance of the type or a System.Type object that represents it. You could also just invoke [objectTypeNameHere].psobject.Members, that will trigger binding as well.

Some additional changes:

  • Non-public constructors can now be accessed via an additional static method _ctor

  • Significantly increased performance

    • Now uses dynamically compiled delegates for all reflection calls
    • Module is now a compiled binary module
    • Caches retrieved member data