Index > ExpressionPowerTools.Core > ExpressionPowerTools.Core.Members > MemberAdapter
Handles translation and comparison of members. Responsible for composing a unique MethodInfo into a string with enough information to re-build the member. Uses the XML Docs algorithm as a baseline, but extends it for closures. Also handles anonymous types.
public class MemberAdapter : IMemberAdapterInheritance Object → MemberAdapter
Implements IMemberAdapter
| Ctor | Description |
|---|---|
| MemberAdapter() | Initializes a new instance of the MemberAdapter class. |
| Method | Description |
|---|---|
| Int32 ClosedGenericsCount(String key) | Counts closed generics to provide a good type name. |
| String GetKeyForMember(MemberInfo member) | Gets a unique string that identifies the member. |
| MemberInfo GetMemberForKey(String key) | Uses the key to build the proper MemberInfo reference. |
| Type MakeAnonymousType(ValueTuple properties) | |
| Void Reset() | Clears all caches. Primary for testing. |
| Generated | Copyright | Version |
|---|---|---|
| 02/22/2021 21:59:57 | (c) Copyright 2020 Jeremy Likness. | 0.9.7-beta |