Show / Hide Table of Contents

Class AggregatedElementInfoExtensions

Extension methods for IAggregatedElementInfo.

Inheritance
System.Object
AggregatedElementInfoExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Kephas.Reflection
Assembly: Kephas.Core.dll
Syntax
public static class AggregatedElementInfoExtensions

Methods

| Improve this Doc View Source

Aggregates(IAggregatedElementInfo, Object)

Indicates whether the IAggregatedElementInfo aggregates the provided part at any level.

Declaration
public static bool Aggregates(this IAggregatedElementInfo aggregatedElementInfo, object part)
Parameters
Type Name Description
IAggregatedElementInfo aggregatedElementInfo

The IAggregatedElementInfo to act on.

System.Object part

The part.

Returns
Type Description
System.Boolean

true if the part is agreggated, false if not.

Remarks

The method is null tollerant. If aggregatedElementInfo is null, false is returned.

  • Improve this Doc
  • View Source
Back to top Generated by DocFX