Table of Contents

Interface IUnionCaseShape<TUnionCase, TUnion>

Namespace
PolyType.Abstractions
Assembly
PolyType.dll

Provides a strongly typed shape model for a union case in a discriminated union type.

public interface IUnionCaseShape<TUnionCase, TUnion> : IUnionCaseShape where TUnionCase : TUnion

Type Parameters

TUnionCase

The type of the union case.

TUnion

The type of the underlying union.

Inherited Members

Properties

Type

Gets the underlying type shape of the union case.

ITypeShape<TUnionCase> Type { get; }

Property Value

ITypeShape<TUnionCase>