Show / Hide Table of Contents

Class MemberInfoSlim

Lightweight representation of a type member.

Inheritance
System.Object
MemberInfoSlim
ConstructorInfoSlim
FieldInfoSlim
MethodInfoSlim
PropertyInfoSlim
Implements
System.IEquatable<MemberInfoSlim>
Namespace: System.Reflection
Assembly: Nuqleon.Linq.Expressions.Bonsai.dll
Syntax
public abstract class MemberInfoSlim : Object, IEquatable<MemberInfoSlim>

Constructors

MemberInfoSlim(TypeSlim)

Creates a new member of the specified member type.

Declaration
protected MemberInfoSlim(TypeSlim declaringType)
Parameters
Type Name Description
TypeSlim declaringType

Type declaring the member.

Properties

DeclaringType

Gets the type declaring the member.

Declaration
public TypeSlim DeclaringType { get; }
Property Value
Type Description
TypeSlim

MemberType

Gets the member type of the member.

Declaration
public abstract MemberTypes MemberType { get; }
Property Value
Type Description
System.Reflection.MemberTypes

Methods

Equals(Object)

The default equals method.

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj

The object to compare against.

Returns
Type Description
System.Boolean

true if the given object equals this object, false otherwise.

Equals(MemberInfoSlim)

The equals method for comparing against other class instances.

Declaration
public bool Equals(MemberInfoSlim other)
Parameters
Type Name Description
MemberInfoSlim other

The other instance.

Returns
Type Description
System.Boolean

true if the given instance equals this instance, false otherwise.

GetHashCode()

Returns a hash code for this object.

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32

The hash code.

ToString()

Returns a friendly string representation of the member.

Declaration
public override string ToString()
Returns
Type Description
System.String

Friendly string representation of the member.

Implements

System.IEquatable<>
In This Article
Back to top Generated by DocFX