Class ConstructorInfoExtensions
- Namespace
- LfrlAnvil.Extensions
- Assembly
- LfrlAnvil.Core.dll
Contains ConstructorInfo extension methods.
public static class ConstructorInfoExtensions
- Inheritance
-
ConstructorInfoExtensions
- Inherited Members
Methods
GetDebugString(ConstructorInfo, bool)
Creates a string representation of the provided ctor
.
[Pure]
public static string GetDebugString(this ConstructorInfo ctor, bool includeDeclaringType = false)
Parameters
ctor
ConstructorInfoSource constructor info.
includeDeclaringType
boolWhen set to true, then DeclaringType will be included in the string. false by default.
Returns
- string
String representation of the provided
ctor
.