StartAutomating/PipeScript

`Namespace.Member(s)()` will return members of objects that are in the namespace.

Opened this issue · 0 comments

As we are dynamic namespaces as patterns, it should be fairly straightforward to discover members of an object, module, or dictionary that match.

For example, if we have a namespace "Get", with the pattern ^Get, calling .Members($obj) would return all the members in $obj that matched ^Get.

If the object is a dictionary, the keys should be checked.

If the object is a module, exported variables and command should be checked.

If the object is a PSObject, names should be checked against the .psobject.properties and against the underlying .NET type.