a6bf8170 8e22 0b4f 200d cbad812b46f8 - akesseler/Plexdata.CsvParser GitHub Wiki
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
C#
internal static TypeDescriptor LoadDescriptor<TInstance>()
where TInstance : class
- TInstance
- The type to be parsed.
Type: TypeDescriptor
An instance of class TypeDescriptor.
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. |
Task of this method is to filter attribute information from given type by using reflection and by applying current filter flags.