a6bf8170 8e22 0b4f 200d cbad812b46f8 - akesseler/Plexdata.CsvParser GitHub Wiki

TypeProcessor.LoadDescriptor(TInstance) Method

This method tries to parse assigned type TInstance and returns an appropriate type descriptor in case of success.

Namespace: Plexdata.CsvParser.Internals
Assembly: Plexdata.CsvParser.NET (in Plexdata.CsvParser.NET.dll) Version: 1.1.3+d5bef99aa35461ce4bafadf0bf2c2aeca18044ea

Syntax

C#

internal static TypeDescriptor LoadDescriptor<TInstance>()
where TInstance : class

Type Parameters

 

TInstance
The type to be parsed.

Return Value

Type: TypeDescriptor
An instance of class TypeDescriptor.

Exceptions

 

Exception Condition
NotSupportedException This exception is thrown in case of column ordering rules have been violated.
InvalidOperationException This exception might be thrown in any other case, for example type parsing has caused an unexpected and/or an unhandled issue. In such a case the inner exception contains more details.

Remarks

Task of this method is to filter attribute information from given type by using reflection and by applying current filter flags.

See Also

Reference

TypeProcessor Class
Plexdata.CsvParser.Internals Namespace

⚠️ **GitHub.com Fallback** ⚠️