CodeTypeExtensions Class

Useful extension methods for CodeType

System.Object
  Microsoft.AspNet.Scaffolding.CodeTypeExtensions

Namespace:  Microsoft.AspNet.Scaffolding
Assembly:  Microsoft.AspNet.Scaffolding.12.0 (in Microsoft.AspNet.Scaffolding.12.0.dll)

public static class CodeTypeExtensions

The CodeTypeExtensions type exposes the following members.

  NameDescription
Public methodStatic memberGetPublicMembersGets all public members for a given CodeType element.
Public methodStatic memberIsDerivedType(CodeType, String)Returns true if given fullTypeName is a matching type name or one of the base type names in the hierarchy of the .NET type represented by codeType. This does not account for language-specific type representations, so will not be accurate for types with language-specific short names, such as List(Of Integer).
Public methodStatic memberIsDerivedType(CodeType, Type)Returns true if given type is a matching type or a base type or an interface implemented by the .NET type represented by codeType. This does not account for language-specific type representations, so will not be accurate for types with language-specific short names, such as primitive types or List(Of Integer).
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: