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

Search Results for

    Class CsEventExtensions

    Extension methods that support the CsEvent model.

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

    Methods

    GetComparisonHashCode(CsEvent, bool, bool, bool, List<MapNamespace>, string, string)

    Creates a comparision hashcode from a CsMethod model.

    Declaration
    public static int GetComparisonHashCode(this CsEvent source, bool includeSecurity = true, bool includeKeywords = true, bool includeAbstractKeyword = false, List<MapNamespace> mappedNamespaces = null, string namePrefix = null, string nameSuffix = null)
    Parameters
    Type Name Description
    CsEvent source

    Source model to use to build the hash.

    bool includeSecurity

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

    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.

    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.