Coder Social home page Coder Social logo

csharp-nettype-util's Introduction

nettype

CI GitHub issues GitHub issues GitHub release GitHub license

Description

โš ๏ธ This project is no longer maintained.

Tool to inspect .NET assemblies.

Options

  • --help|-h - outputs help and exits
  • --version|-b - outputs version and exits
  • --assembly|-a - specifies assembly name
  • --types|-t - specifies type names
    • @all - specifies all types in assembly
    • @class - specifies reference types in assembly
    • @struct - specifies value types in assembly
    • @@class - specifies static reference types in assembly
  • --members|-m - specifies member names
    • @all - specifies all members in types
    • @field - specifies all fields in types
    • @property - specifies all properties in types
    • @constructor - specifies all constructors in types
    • @method - specifies all methods in types
    • @@all - specifies all static members in types
    • @@field - specifies all static fields in types
    • @@property - specifies all static properties in types
    • @@constructor - specifies all static constructors in types
    • @@method - specifies all static methods in types

Output format:

<type-name>:<member-name>:is=<member-class>
<type-name>:<member-name>:return=<member-return-type>
[<type-name>:<member-name>:arguments=<arg1,arg1-type>;..;<argn,argn-type>]
...
  • <member-class> is one of method|property|field.
  • <member-return-type> is member type if it is field or property else method return type.
  • <arg1,arg1-type>;..;<argn,argn-type> is argument list if member is method.

Examples

  • nettype --help - outputs help and exits
  • nettype --assembly My.dll --types 'SomeNamespace.A|SomeNamespace.B' --members 'SampleMethod' - prints all SomeNamespace.A SomeNamespace.B type members in My.dll
  • nettype --assembly My.dll --types '@class' --members '@field|@property' - prints all fields and properties in all classes in My.dll

Implementation details

  • run.sh - Bash script to compile and run project (uses build.sh)
  • build.sh - Bash script to compile project (is used by run.sh and GitHub actions)
  • repl.it - Repl.it config to compile and run project (uses run.sh)

csharp-nettype-util's People

Contributors

ttury avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.