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

Search Results for

    Class CsMemberExtensions

    Extension methods that support model that implement the CsMember interface.

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

    Methods

    GetMemberComparisonHashCode(CsMember, MemberComparisonType, List<MapNamespace>)

    Gets the hash code for a formatted model signature using the C# format.

    Declaration
    public static int GetMemberComparisonHashCode(this CsMember source, MemberComparisonType comparisonType = MemberComparisonType.Base, List<MapNamespace> mappedNamespaces = null)
    Parameters
    Type Name Description
    CsMember source

    The sources ICsModel model.

    MemberComparisonType comparisonType

    The type of comparision format to use when generating the hashcode. Default is set to the base comparision type.

    List<MapNamespace> mappedNamespaces

    Optional parameter that provides namespaces to be mapped to.

    Returns
    Type Description
    int

    The has code of the formatted model.

    Exceptions
    Type Condition
    ArgumentNullException

    This is thrown if the model is null.

    © CodeFactory, LLC. All rights reserved.