Class CsMemberExtensions
Extension methods that support model that implement the CsMember interface.
Inherited Members
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. |