DiscriminatedUnion<Type1, Type2, Type3>.

Match(Action<Type1>, Action<Type2>, Action<Type3>) Method

Summary

Runs Actions for the matched types.

Syntax

public void Match(Action<Type1> Action1, Action<Type2> Action2, Action<Type3> Action3)

Parameters

Name Type Description
Action1 Action<Type1> Action to run for Type1
Action2 Action<Type2> Action to run for Type2
Action3 Action<Type3> Action to run for Type3

Return Value

Type Description
void