CodeFactory Platform CodeFactory Platform
CodeFactory Platform CodeFactory Platform
CodeFactory

Search Results for

    Class CsParameterDefaultValueExtensions

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

    Inheritance
    object
    CsParameterDefaultValueExtensions
    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 CsParameterDefaultValueExtensions

    Methods

    | Improve this Doc View Source

    CSharpFormatParameterDefaultValue(CsParameterDefaultValue, CsType)

    Extension method that generates the default value syntax for a parameter in the C# language.

    Declaration
    public static string CSharpFormatParameterDefaultValue(this CsParameterDefaultValue source, CsType type)
    Parameters
    Type Name Description
    CsParameterDefaultValue source

    The target default value to format.

    CsType type

    The target type of the value to be formatted.

    Returns
    Type Description
    string

    The fully formatted syntax for the default value or null if data was missing.

    © CodeFactory, LLC. All rights reserved.