CodeFactory Platform CodeFactory Platform
CodeFactory Platform CodeFactory Platform
CodeFactory

Search Results for

    Class CsParameterExtensions

    Extensions class that provides common automation tasks rolled up under standard extension methods that support the CsParameter model.

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

    Methods

    | Improve this Doc View Source

    CSharpFormatParametersSignature(IReadOnlyList<CsParameter>, NamespaceManager)

    Extension method that create the fully formatted parameters section in c# syntax.

    Declaration
    public static string CSharpFormatParametersSignature(this IReadOnlyList<CsParameter> source, NamespaceManager manager = null)
    Parameters
    Type Name Description
    IReadOnlyList<CsParameter> source

    The source list of parameters to be turned into a parameters signature.

    NamespaceManager manager

    Optional parameter that contains all the using statements from the source code, when used will replace namespaces on type definition in code.

    Returns
    Type Description
    string

    The fully formatted parameters signature or null if data was missing.

    © CodeFactory, LLC. All rights reserved.