Edit

Share via


TypeConverter Class

Definition

Formats and parses Type instances using configured rules.

public class TypeConverter
type TypeConverter = class
Public Class TypeConverter
Inheritance
TypeConverter

Constructors

TypeConverter(IEnumerable<ITypeConverter>, IEnumerable<ITypeNameFilter>, IEnumerable<ITypeFilter>, IOptions<TypeManifestOptions>, TypeResolver)

Initializes a new instance of the TypeConverter class.

Methods

Format(Type, Boolean)

Formats the provided type.

Format(Type, Func<TypeSpec,TypeSpec>, Boolean)

Formats the provided type, rewriting elements using the provided delegate.

Parse(String)

Parses the provided type string.

TryParse(String, Type)

Parses the provided type string.

Applies to