Table of Contents

Method ThrowInvalidEnumArgumentException

Namespace
PaintDotNet
Assembly
PaintDotNet.Fundamentals.dll

ThrowInvalidEnumArgumentException(string, int, Type)

public static void ThrowInvalidEnumArgumentException(string paramName, int invalidValue, Type enumType)

Parameters

paramName string
invalidValue int
enumType Type

ThrowInvalidEnumArgumentException<T>(T, string)

public static void ThrowInvalidEnumArgumentException<T>(T value, string valueName = "") where T : struct, IComparable, IFormattable, IConvertible

Parameters

value T
valueName string

Type Parameters

T