Metalama (preview)API documentationAspect APIMetalama.​Framework.​AspectsIAspect­Receiver<TDeclaration>Select­Types­Derived­From
Open sandboxFocus

IAspectReceiver<TDeclaration>.SelectTypesDerivedFrom Method

SelectTypesDerivedFrom(Type, DerivedTypesOptions)

Selects all types, among those enclosed in declarations of the current set, that derive from or implement a given Type.

Declaration
IAspectReceiver<INamedType> SelectTypesDerivedFrom(Type type, DerivedTypesOptions options = DerivedTypesOptions.All)
Parameters
Type Name Description
Type type
DerivedTypesOptions options
Returns
Type Description
IAspectReceiver<INamedType>
Remarks

The query on the right part of SelectTypes(bool) is executed concurrently.

.

SelectTypesDerivedFrom(INamedType, DerivedTypesOptions)

Selects all types, among those enclosed in declarations of the current set, that derive from or implement a given INamedType.

Declaration
IAspectReceiver<INamedType> SelectTypesDerivedFrom(INamedType type, DerivedTypesOptions options = DerivedTypesOptions.All)
Parameters
Type Name Description
INamedType type
DerivedTypesOptions options
Returns
Type Description
IAspectReceiver<INamedType>
Remarks

The query on the right part of SelectTypes(bool) is executed concurrently.

.