Table of Contents

Method RunActionForDerivedTypes

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

RunActionForDerivedTypes(Type, Action<Type>)

Runs the action for all descendants of the specified type.

public static void RunActionForDerivedTypes(Type baseType, Action<Type> action)

Parameters

baseType Type

The base type which descendants are passed to the action.

action Action<Type>

The action to call for the each descendant of the specified type.