Skip to content

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

@StartAutomating

Description

@StartAutomating

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions