Microsoft.AspNet.Scaffolding Namespace

The Microsoft.AspNet.Scaffolding namespace contains classes and interfaces that are used for code generation.

  ClassDescription
Public classCategoriesContains the common category identifiers defined by framework.
Public classCodeElementExtensionsUseful extension methods for CodeElement
Public classCodeGenerationContextContains the context for one complete code generation operation.
Public classCodeGeneratorAn abstract class representing a code generator. For more details ICodeGenerator interface.
Public classCodeGeneratorFactoryA factory for creating instances of a code generator. For more details CodeGenerator.
Public classCodeGeneratorInformationInformation about the code generator.
Public classCodePropertyExtensionsUseful extension methods for CodeProperty
Public classCodeTypeExtensionsUseful extension methods for CodeType
Public classCodeTypeRefExtensionsUseful extension methods for CodeTypeRef
Public classProjectExtensionsHelpful extension methods for code generators.
Public classProjectLanguageRepresents the code language of a project.

  InterfaceDescription
Public interfaceICategoryRegistrationServiceService to register localized names for custom category node names displayed in the Add -> New Scaffolded Item dialog which are defined by other VSPackages. The VSPackage implementors should use SCodeGeneratorDialog to get this service.
Public interfaceICodeGeneratorAn interface representing a code generator.
Public interfaceICodeGeneratorActionsServiceA service providing support for various code generator actions.
Public interfaceICodeGeneratorDialogInvokerUsed to invoke Add -> New Scaffolded Item dialog from other VSPackage functionalities like custom Visual Studio menu implementations. The VSPackage implementors should use the SCodeGeneratorDialog class to get this service.
Public interfaceICodeGeneratorFilesLocatorA service responsible for finding static files or T4 Text Templates.
Public interfaceICodeTypeServiceService for getting the types of a project.
Public interfaceIReflectedTypesServiceService for getting the types within a project.
Public interfaceIRollbackServiceThis interface provides a mechanism for rollback support for code generators. Built in support for common operations is supported. Additional rollback functionality can be obtained by providing a rollback action to AddRollbackAction(Action).
Public interfaceIRollbackServiceUndoManagementFor internal use only. Code generator implementors should not call this.
Public interfaceIServiceRegistrarThis interface provides a mechanism for code generators to register services in advance of code generation operations. Classes that implemenent this interface should export themselves as typeof(IServiceRegistrar) using ExportAttribute.
Public interfaceIVisualStudioInformationContains details about current running instance of Visual Studio.
Public interfaceSCodeGeneratorDialogCode generator dialog service in Visual Studio.
Show: