Files
cheatsheet-tldr/tldr/monop
2025-04-23 00:19:06 +00:00

38 lines
986 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# monop
> Finds and displays signatures of Types and methods inside .NET assemblies.
> More information: <https://manned.org/monop>.
- Show the structure of a Type built-in of the .NET Framework:
`monop {{System.String}}`
- List the types in an assembly:
`monop -r:{{path/to/assembly.exe}}`
- Show the structure of a Type in a specific assembly:
`monop -r:{{path/to/assembly.dll}} {{Namespace.Path.To.Type}}`
- Only show members defined in the specified Type:
`monop -r:{{path/to/assembly.dll}} {{[-d|--declared-only]}} {{Namespace.Path.To.Type}}`
- Show private members:
`monop -r:{{path/to/assembly.dll}} {{[-p|--private]}} {{Namespace.Path.To.Type}}`
- Hide obsolete members:
`monop -r:{{path/to/assembly.dll}} {{[-f|--filter-obsolete]}} {{Namespace.Path.To.Type}}`
- List the other assemblies that a specified assembly references:
`monop -r:{{path/to/assembly.dll}} --refs`