{"id":19080428,"url":"https://github.com/seeminglyscience/classexplorer","last_synced_at":"2025-04-30T06:10:17.298Z","repository":{"id":24431565,"uuid":"101514184","full_name":"SeeminglyScience/ClassExplorer","owner":"SeeminglyScience","description":"Discover the API you need with ease","archived":false,"fork":false,"pushed_at":"2023-09-16T19:05:39.000Z","size":219,"stargazers_count":104,"open_issues_count":7,"forks_count":9,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-30T06:10:02.721Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SeeminglyScience.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"docs/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-26T21:27:21.000Z","updated_at":"2025-04-18T12:02:39.000Z","dependencies_parsed_at":"2024-11-09T02:34:11.260Z","dependency_job_id":null,"html_url":"https://github.com/SeeminglyScience/ClassExplorer","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SeeminglyScience%2FClassExplorer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SeeminglyScience%2FClassExplorer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SeeminglyScience%2FClassExplorer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SeeminglyScience%2FClassExplorer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SeeminglyScience","download_url":"https://codeload.github.com/SeeminglyScience/ClassExplorer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251651231,"owners_count":21621716,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T02:23:35.655Z","updated_at":"2025-04-30T06:10:17.269Z","avatar_url":"https://github.com/SeeminglyScience.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eClassExplorer\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003csub\u003e\n        Discover the API you need with ease.\n    \u003c/sub\u003e\n    \u003cbr /\u003e\u003cbr /\u003e\n    \u003ca title=\"Commits\" href=\"https://github.com/SeeminglyScience/ClassExplorer/commits/master\"\u003e\n        \u003cimg alt=\"Build Status\" src=\"https://github.com/SeeminglyScience/ClassExplorer/workflows/build/badge.svg\" /\u003e\n    \u003c/a\u003e\n    \u003ca title=\"ClassExplorer on PowerShell Gallery\" href=\"https://www.powershellgallery.com/packages/ClassExplorer\"\u003e\n        \u003cimg alt=\"PowerShell Gallery Version (including pre-releases)\" src=\"https://img.shields.io/powershellgallery/v/ClassExplorer?include_prereleases\u0026label=gallery\"\u003e\n    \u003c/a\u003e\n    \u003ca title=\"LICENSE\" href=\"https://github.com/SeeminglyScience/ClassExplorer/blob/master/LICENSE\"\u003e\n        \u003cimg alt=\"GitHub\" src=\"https://img.shields.io/github/license/SeeminglyScience/ClassExplorer\"\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\nClassExplorer is a PowerShell module that enables quickly searching the AppDomain for classes and members.\n\nThis project adheres to the Contributor Covenant [code of conduct](https://github.com/SeeminglyScience/ClassExplorer/tree/master/docs/CODE_OF_CONDUCT.md).\nBy participating, you are expected to uphold this code. Please report unacceptable behavior to seeminglyscience@gmail.com.\n\n## Why\n\nWhenever you're working with a new library you may frequently come across a scenario where you:\n\n1. Have an object of a specific type that you're unsure what accepts it\n1. Need an object of a specific type, and you don't know what returns it\n1. Are looking for an example of a method that fits a certain signature\n\nThis module was created to make all of those problems easy to solve without being forced to look at documentation online.\n\n## Documentation\n\nCheck out our **[documentation](https://github.com/SeeminglyScience/ClassExplorer/tree/master/docs/en-US/ClassExplorer.md)** for information about how to use this project.\n\n## Installation\n\n### Gallery\n\n```powershell\nInstall-Module ClassExplorer -Scope CurrentUser\n```\n\n### PowerShellGet v3\n\n```powershell\nInstall-PSResource ClassExplorer\n```\n\n### Source\n\n```powershell\ngit clone 'https://github.com/SeeminglyScience/ClassExplorer.git'\nSet-Location ./ClassExplorer\n./build.ps1\n```\n\n## Formatting\n\nThis module includes some formatting with syntax highlighting for base types like `MemberInfo`, `Type` and also `PSMethod`:\n\n![Formatting-Example](https://user-images.githubusercontent.com/24977523/164995977-61ccb2bb-a950-4822-bb2d-527153411107.png)\n\nThe colors for syntax highlighting is controlled by `PSReadLine` options. See [my dotfiles](https://github.com/SeeminglyScience/dotfiles/blob/d471cc564663d907e128d2bfb0aef454f6a59fa3/Documents/PowerShell/PSReadLine.ps1#L32-L55) for the configuration shown in these examples.\n\n## Usage\n\n### Find an accessible version of an abstract type\n\n```powershell\nFind-Type RunspaceConnectionInfo\n```\n\n![Example-1-Results-1](https://user-images.githubusercontent.com/24977523/164984679-8a32dc97-e2a2-46ff-9d4f-e322b866c061.png)\n\n```powershell\nFind-Type -InheritsType System.Management.Automation.Runspaces.RunspaceConnectionInfo\n```\n\n![Example-1-Results-2](https://user-images.githubusercontent.com/24977523/164984851-1a20380d-452f-463f-b21c-2931f9ea852f.png)\n\n```powershell\nFind-Type -InheritsType System.Management.Automation.Runspaces.RunspaceConnectionInfo |\n    Find-Type { $_ | Find-Member -MemberType Constructor }\n```\n\n![Example-1-Results-3](https://user-images.githubusercontent.com/24977523/164984898-0f5ca28f-a462-45c0-a4f9-1b60f95b7a86.png)\n\n```powershell\n[Management.Automation.Runspaces.NamedPipeConnectionInfo] |\n    Find-Member -MemberType Constructor |\n    Get-Parameter\n```\n\n![Example-1-Results-4](https://user-images.githubusercontent.com/24977523/164985845-4e7830ff-8507-46dd-b3a5-908aaa38a135.png)\n\n```powershell\n# Or, alternatively this will return all constructors, properties, methods, etc that return any\n# implementation of RunspaceConnectionInfo.\nFind-Member -ReturnType System.Management.Automation.Runspaces.RunspaceConnectionInfo\n```\n\n![Example-1-Results-5](https://user-images.githubusercontent.com/24977523/164985973-4c011ee8-6107-4126-9984-ffa595b0ad58.png)\n\n### Find something to do with a type\n\n```powershell\nusing namespace System.Management.Automation.Runspaces\n\nFind-Member -ParameterType RunspaceConnectionInfo -ReturnType RunspacePool\n```\n\n![Example-2-Results](https://user-images.githubusercontent.com/24977523/164986057-ca7cfba9-182b-4c99-8dd2-a33941922b54.png)\n\n### Use type signature queries\n\nSee [about_Type_Signatures.help.md](./docs/en-US/about_Type_Signatures.help.md)\n\n```powershell\nFind-Member -ReturnType { [ReadOnlySpan[byte]] } -ParameterType { [ReadOnlySpan[any]] }\n```\n\n![Example-3-Results](https://user-images.githubusercontent.com/24977523/164994773-84f42529-9a8d-46e8-8982-f42f054c2a80.png)\n\n### Get real specific\n\n```powershell\nFind-Member -MemberType Method -Instance -ParameterType string -ReturnType bool -ParameterCount 4.. |\n    Find-Member -ParameterType { [anyref] [any] } |\n    Find-Member -Not -RegularExpression 'Should(Continue|Process)'\n```\n\n![Example-4-Results](https://user-images.githubusercontent.com/24977523/164995061-21e0c627-fd05-43d4-b831-f901bfc31fd2.png)\n\n## Contributions Welcome!\n\nWe would love to incorporate community contributions into this project.  If you would like to\ncontribute code, documentation, tests, or bug reports, please read our [Contribution Guide](https://github.com/SeeminglyScience/ClassExplorer/tree/master/docs/CONTRIBUTING.md) to learn more.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseeminglyscience%2Fclassexplorer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseeminglyscience%2Fclassexplorer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseeminglyscience%2Fclassexplorer/lists"}