CodeFactory for Windows CodeFactory for Windows
CodeFactory for Windows CodeFactory for Windows
CodeFactory

Search Results for

    Class CsFieldExtensions

    Extension methods that support the CsField model.

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

    Methods

    GetComparisonHashCode(CsField, CsSecurity, bool, List<MapNamespace>, bool, string, string)

    Creates a comparision hashcode from a CsMethod model.

    Declaration
    public static int GetComparisonHashCode(this CsField source, CsSecurity targetSecurity = CsSecurity.Unknown, bool includeKeywords = true, List<MapNamespace> mappedNamespaces = null, bool useCamelCase = false, string namePrefix = null, string nameSuffix = null)
    Parameters
    Type Name Description
    CsField source

    Source model to use to build the hash.

    CsSecurity targetSecurity

    Optional parameter that determines the target security to set field to for comparision purposes, default is unknown which will use the current security.

    bool includeKeywords

    Optional parameter that includes keywords in the comparision hash, default value is true.

    List<MapNamespace> mappedNamespaces

    Optional parameter that provides namespaces to be mapped to.

    bool useCamelCase
    string namePrefix

    Optional prameter that determines if the name will have a prefix assigned to it, default is null.

    string nameSuffix

    Optional parameter that determines if the name will have a prefix assigned to it, default is null.

    Returns
    Type Description
    int

    Computed hash value for the method signature.

    © CodeFactory, LLC. All rights reserved.