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

Search Results for

    Class CsPropertyExtensions

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

    Methods

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

    Creates a comparision hashcode from a CsProperty model.

    Declaration
    public static int GetComparisonHashCode(this CsProperty source, bool includeKeywords = true, bool includeAbstractKeyword = false, List<MapNamespace> mappedNamespaces = null, CsSecurity propertySecurity = CsSecurity.Unknown, CsSecurity getSecurity = CsSecurity.Unknown, CsSecurity setSecurity = CsSecurity.Unknown, string namePrefix = null, string nameSuffix = null)
    Parameters
    Type Name Description
    CsProperty source

    Source model to use to build the hash.

    bool includeKeywords

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

    bool includeAbstractKeyword

    Optional parameter that includes abstract keyword in the comparision hash, default value is false.

    List<MapNamespace> mappedNamespaces

    Optional parameter that provides namespaces to be mapped to.

    CsSecurity propertySecurity

    Optional parameter that sets the target security for the property, default is unknown which uses the property current security.

    CsSecurity getSecurity

    Optional parameter that sets the target security for the properties getter, default is unknown which uses the property current security.

    CsSecurity setSecurity

    Optional parameter that sets the target security for the properties setter, default is unknown which uses the property current security.

    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.