UnionHelper.

GetUnionEnumType(Type, string) Method

Summary

Gets the type of the union enum.

Syntax

public static Type GetUnionEnumType(Type type, string propertyName)

Parameters

Name Type Description
type Type The type.
propertyName string Name of the property.

Return Value

Type Description
Type