monop(1)

✨ monop(1) β€” General Commands Manual, section 1 ✨

okay bestie, pull up a chair, we're looking at monop and its lil sibling monop2 πŸ’–


πŸŽ€ NAME πŸŽ€

monop, monop2 β€” a Mono Class Outline Viewer. literally what it says on the tin, it shows you the outline of a class πŸ’…


🌸 SYNOPSIS 🌸

monop [-r:assembly] [--search] class

✨ OPTIONS ✨

  • -r:assembly β€” tells monop which assembly to go look the type up in. you need this one a lot, so keep it close 🫢
  • -a β€” renders all of the types in the assembly you named. not just one, the whole roster. iconic behavior πŸ‘‘
  • --search, -s, -k β€” searches through every assembly it knows about, hunting for types that contain class. your "idk the exact name" button πŸ”
  • --refs β€” prints a list of the referenced assemblies for an assembly. heads up bestie, this one requires an assembly to be specified with -r:assembly or it can't do its thing 😭
  • --filter-obsolete, -f β€” do not show obsolete types and members. bye bye dusty code πŸ’€
  • --declared-only, -d β€” only show members declared in the type. no inherited extras, just the homegrown ones 🌱
  • --private, -p β€” show private members. yes, we're going behind the velvet rope πŸ™ˆ
  • --runtime-version β€” prints the runtime version. that's it, that's the whole job ⭐
  • -xa β€” sets the lookup path to the Xamarin.Android directory. this will load both the mscorlib from there, and search assemblies in that directory. two-for-one 🧚
  • -xi β€” sets the lookup path to the Xamarin.iOS directory. this will load both the mscorlib from there, and search assemblies in that directory. matching energy, no cap πŸ“

πŸ’œ DESCRIPTION πŸ’œ

Monop is a tool that lets you view the outline of a class. you can see the signature of each member of the class. use monop to explore 1.0 assemblies, and use monop2 to explore 2.0 assemblies. pick your fighter, they're not interchangeable 🌈

The tool takes one option, the class to view. and fr fr, you must specify the full name of the class, including namespace. no shortcuts, no vibes-based guessing πŸŽ€

For generic classes, you must specify the generic arguments, for example:

monop2 'System.Collections.Generic.List`1'

The above is the string representation for the List<T> in System.Collections.Generic. yes, that backtick-1 is doing heavy lifting, do not touch it, do not "fix" it πŸ’…

If you are unsure of the full name of the class, you can use the --search option to search through all known assemblies. that's your safety net, bestie, use it πŸ¦‹


πŸ’Œ MAILING LISTS πŸ’Œ

Visit http://lists.ximian.com/mailman/listinfo/mono-devel-list for details.


🌐 WEB SITE 🌐

Visit http://www.mono-project.com for details


and that's the whole page, periodt ✨ this was monop(1) from the General Commands Manual β€” section 1 energy, dated and sourced right there in the footer as monop(1). go forth and inspect some classes, you've got this πŸ‘‘πŸ’–