ICodeGeneratorActionsService Interface

A service providing support for various code generator actions.

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

public interface ICodeGeneratorActionsService

The ICodeGeneratorActionsService type exposes the following members.

  NameDescription
Public methodAddClassMemberFromTemplateAdds the result of running a Visual Studio T4 text template to an existing source file as a class member at the end.
Public methodAddFileAdds a new file to the given project at the given relative path.
Public methodAddFileFromTemplateAdds the result of running a Visual Studio T4 text template as a new file in the project.
Public methodAddFolderAdds a new folder to the given project at the given relative path. If a project item already exists for the active project at the given projectRelativePath, nothing is done. If there is already a folder on the disk but that is not part of the project, the folder is added to the project.
Public methodCreateAppDataFolderCreates the App_Data folder in the given project. The provided project must be an ASP.NET Web Application Project, Otherwise an exception is thrown.
Top
Show: