Table of Contents

Class MemberPath

Namespace
Mapperion.Model
Assembly
Mapperion.dll

An ordered chain of members read to reach a value, such as Customer.Address.City. A path of length one is a direct member access.

public sealed class MemberPath : IEquatable<MemberPath>
Inheritance
MemberPath
Implements
Inherited Members

Constructors

MemberPath(IEnumerable<MemberDescriptor>)

Creates a path from an ordered sequence of members.

Properties

IsFlattened

Gets a value indicating whether the path traverses more than one member.

Leaf

Gets the last member in the path, the one holding the value.

Length

Gets the number of steps in the path.

MemberType

Gets the type of the value the path resolves to.

Steps

Gets the members to traverse, outermost first.

Methods

Append(MemberDescriptor)

Returns a new path with one more step appended.

Equals(MemberPath?)

Indicates whether the current object is equal to another object of the same type.

Equals(object?)

Determines whether the specified object is equal to the current object.

GetHashCode()

Serves as the default hash function.

Of(MemberDescriptor)

Creates a path with a single step.

ToString()

Returns a string that represents the current object.