C# Class ComponentModelAttributes, extensions

Provides strong typed access to ComponentModel attributes by using the ComponentModel() extension method over a type, method, property, etc.
显示文件 Open project: netfx/extensions

Public Methods

Method Description
ComponentModel ( this reflectionObject, bool inherit = true ) : IComponentModelAttributes

Provides strong typed access to System.ComponentModel attributes for a type, method, property, etc.

Method Details

ComponentModel() public static method

Provides strong typed access to System.ComponentModel attributes for a type, method, property, etc.
public static ComponentModel ( this reflectionObject, bool inherit = true ) : IComponentModelAttributes
reflectionObject this The object this extension method applies to.
inherit bool Whether to retrieve attributes from base types.
return IComponentModelAttributes