Skip to main content
.NET Framework 4.5.2+

ITypeInfo.GetRequiredTypes(Predicate<ITypeInfo>) Method

Supplies metadata on the types considered required by the current type.

Namespace: DevExpress.ExpressApp.DC

Assembly: DevExpress.ExpressApp.v24.1.dll

NuGet Package: DevExpress.ExpressApp

Declaration

IEnumerable<ITypeInfo> GetRequiredTypes(
    Predicate<ITypeInfo> filter
)

Parameters

Name Type Description
filter Predicate<ITypeInfo>

A Predicate<ITypeInfo> object which can be specified to filter the collection returned by this method.

Returns

Type Description
IEnumerable<ITypeInfo>

An IEnumerable<ITypeInfo> object which supplies metadata on the types considered required by the current type.

Remarks

The following types are considered required:

  1. All the interfaces implemented in the current type.
  2. The type from which the current type directly inherits.
  3. The current class properties’ types.
See Also