nightmaregaurav.methodsignature 1.0.2

dotnet add package nightmaregaurav.methodsignature --version 1.0.2                
NuGet\Install-Package nightmaregaurav.methodsignature -Version 1.0.2                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="nightmaregaurav.methodsignature" Version="1.0.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add nightmaregaurav.methodsignature --version 1.0.2                
#r "nuget: nightmaregaurav.methodsignature, 1.0.2"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install nightmaregaurav.methodsignature as a Cake Addin
#addin nuget:?package=nightmaregaurav.methodsignature&version=1.0.2

// Install nightmaregaurav.methodsignature as a Cake Tool
#tool nuget:?package=nightmaregaurav.methodsignature&version=1.0.2                

MethodSignature - Simplified Method Signature Retrieval

MethodSignature is a C# library that provides a simple and convenient way to extract the signature information of methods from a given class. It can be used to retrieve details about method visibility, static status, parameter types, and return type.

Features

  • Retrieve method signature information effortlessly.
  • Supports methods with various access modifiers and parameters.
  • Works with both static and instance methods.

Use Cases

  1. API Documentation Generation.
  2. Code Analysis and Inspection Tools.

Getting Started

To get started with MethodSignature, follow these simple steps:

  1. Install the MethodSignature package from NuGet.
  2. Import the MethodSignature namespace in your C# file.
    using MethodSignature;
    
  3. Retrieve method signature information using the SignatureOf method.
    Type classType = typeof(YourClass);
    string methodName = "YourMethodName";
    var methodSignature = MethodSignature.SignatureOf(classType, methodName);
    
  4. Access the properties of the MethodSignature object to get the required details.
    Console.WriteLine(methodSignature.ToString());
    

Contributions and Issues

MethodSignature is free and open-source. Contributions are highly appreciated. If you find any issues or have suggestions to improve the library, feel free to submit a pull request or create an issue in the GitHub repository.

License

MethodSignature is released under the MIT License. You can find the full license details in the LICENSE file.

This library was made with ❤️ by NightmareGaurav.

Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net7.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.2 199 8/17/2023 1.0.2 is deprecated.
1.0.1 196 8/5/2023 1.0.1 is deprecated.