Skip to content

040c75a3 8c81 0de8 9fcf 309aecf98627

Axel Kesseler edited this page Mar 1, 2023 · 18 revisions

TypeFormatterExtension.IsSupported(TValue) Method

This method checks whether a particular value type is supported by this converter.

Namespace: Plexdata.LogWriter.Internals.Extensions
Assembly: Plexdata.LogWriter.Abstraction (in Plexdata.LogWriter.Abstraction.dll) Version: 1.0.7.1

Syntax

C#

public static bool IsSupported<TValue>(
	this TValue value
)

Parameters

 

value
Type: TValue
The value to be verified.

Type Parameters

 

TValue
The type to be verified.

Return Value

Type: Boolean
True if requested type is supported and false if not.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

Remarks

At the moment, this converter supports the types String, Boolean, Char, SByte, Byte, Int16, UInt16, Int32, UInt32, Int64, UInt64, Single, Double, Decimal, DateTime and Guid.

See Also

Reference

TypeFormatterExtension Class
Plexdata.LogWriter.Internals.Extensions Namespace

Clone this wiki locally