Where can I find the API specification for MvcTextTemplateHost?

后端 未结 5 1766
迷失自我
迷失自我 2021-01-02 18:53

I\'m trying to use a custom T4 template for adding new Controllers to a MVC 3 project. I have my own template as Scott Hanselman wrote on http://www.hanselman.com/blog/Modif

5条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-02 19:05

    public bool AddActionMethods { get; set; }
    internal ProjectItem AreaFolder { get; set; }
    public string AreaName { get; set; }
    public List AssemblyPath { get; set; }
    public bool AutoEventWireup { get; set; }
    public List ContentPlaceHolderIDs { get; set; }
    public Type ContextType { get; set; }
    public string ControllerName { get; set; }
    public string ControllerRootName { get; set; }
    public string EntitySetName { get; set; }
    public CompilerErrorCollection Errors { get; set; }
    [Dynamic]
    public object ExtendedProperties { [return: Dynamic] get; }
    public Encoding FileEncoding { get; set; }
    public string FileExtension { get; set; }
    public Version FrameworkVersion { get; set; }
    internal AppDomain GenerationAppDomain { get; set; }
    public bool IsContentPage { get; set; }
    public bool IsPartialView { get; set; }
    public string MasterPageFile { get; set; }
    IList ITextTemplatingEngineHost.StandardAssemblyReferences { get; }
    IList ITextTemplatingEngineHost.StandardImports { get; }
    public Type ModelType { get; set; }
    public string Namespace { get; set; }
    public string OutputFileExtension { get; set; }
    public IPluralizer Pluralizer { get; set; }
    public string PrimaryContentPlaceHolderID { get; set; }
    public PrimaryKey[] PrimaryKeys { get; set; }
    public bool ReferenceScriptLibraries { get; set; }
    public Dictionary RelatedProperties { get; set; }
    public string TemplateFile { get; set; }
    public Type ViewDataType { get; set; }
    public string ViewDataTypeName { get; set; }
    public string ViewName { get; set; }
    

提交回复
热议问题