C# Class Headless.Activation.TypeExtensions

The TypeExtensions class provides extension methods for the Type class.
Exibir arquivo Open project: roryprimrose/Headless

Public Methods

Method Description
GetLoadableTypes ( this assembly ) : IEnumerable

Gets the loadable types.

GetMatchingTypes ( this elementType ) : ReadOnlyCollection

Gets the matching types.

GetSupportedTags ( this elementType ) : ReadOnlyCollection

Gets the supported tags.

Private Methods

Method Description
FindBestMatchingType ( this elementType, IXPathNavigable node ) : Type
FindSupportedTags ( IEnumerable types ) : IList

Finds the supported tags.

Method Details

GetLoadableTypes() public static method

Gets the loadable types.
assembly
public static GetLoadableTypes ( this assembly ) : IEnumerable
assembly this The assembly.
return IEnumerable

GetMatchingTypes() public static method

Gets the matching types.
/// The parameter is null. ///
public static GetMatchingTypes ( this elementType ) : ReadOnlyCollection
elementType this /// Type of the element. ///
return ReadOnlyCollection

GetSupportedTags() public static method

Gets the supported tags.
/// The parameter is null. /// /// The type does not indicate any supported tags. ///
public static GetSupportedTags ( this elementType ) : ReadOnlyCollection
elementType this /// Type of the element. ///
return ReadOnlyCollection