CodeFactory Platform CodeFactory Platform
CodeFactory Platform CodeFactory Platform
CodeFactory

Search Results for

    Class InterfaceMemberExtensions

    Extensions class that provides helper methods for implementation of member functions.

    Inheritance
    object
    InterfaceMemberExtensions
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: CodeFactory.DotNet.CSharp
    Assembly: CodeFactory.DotNet.dll
    Syntax
    public static class InterfaceMemberExtensions

    Methods

    | Improve this Doc View Source

    FormatInterfaceImplementationSignature(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.

    © CodeFactory, LLC. All rights reserved.