In this post, I will give you a scale demonstration of how you could use Descriptor types to get information about Properties, Attributes, Events, etc. I sam you could use the code later while building your library. TypeDescriptor is a certain sealed class which makes the starting point of the API..
It exposes information of the object in terms of Properties, Attributes, Events, etc. Even though the basic usage of TypeDescriptor is to get metadata of an object, yet it also exposes features to extend the object on the fly. Let us now discuss few capabilities of Descriptors with a little information about its usage. TypeDescriptor is used to get information of a Type.