Class InterfaceMemberExtensions
Extensions class that provides helper methods for implementation of member functions.
Inherited Members
Namespace: CodeFactory.DotNet.CSharp
Assembly: CodeFactory.DotNet.dll
Syntax
public static class InterfaceMemberExtensions
Methods
| Improve this Doc View SourceFormatInterfaceImplementationSignature(CsMethod, bool)
Create a fully formatted method signature that also supports implementation of Async Await formatting.
Declaration
public static string FormatInterfaceImplementationSignature(this CsMethod methodData, bool supportAsyncKeyword = true)
Parameters
| Type | Name | Description |
|---|---|---|
| CsMethod | methodData | The method data used to build the signature |
| bool | supportAsyncKeyword | Optional parameter that determines if the async keyword will be added to the method signature. Default is true. |
Returns
| Type | Description |
|---|---|
| string | Fully formatted method signature for a method implementation from an interface assignment. |