ConvertibleExtensions Class

Definition

Namespace: FileHold.LibraryManager.Extensions
Assembly: FileHold.LibraryManager (in FileHold.LibraryManager.dll) Version: 17.2.0.0
C#
public static class ConvertibleExtensions
Inheritance
Object    ConvertibleExtensions

Methods

To(IConvertible, Type, IFormatProvider) Converts the given IConvertible value to the specified type using the provided CultureInfo. Handles conversion to various common types and throws an exception if the conversion cannot be performed.
ToT(IConvertible, IFormatProvider) Converts the given IConvertible value to the specified type T using the provided CultureInfo. Handles conversion to various common types and throws an exception if the conversion cannot be performed.

See Also