Search Results for

    Show / Hide Table of Contents

    Class WebApi2ControllerBuildTask

    Buildtasks for creating a web api controller from json definition

    Inheritance
    System.Object
    BuildTaskBase
    WebApi2ControllerBuildTask
    Implements
    Microsoft.Build.Framework.ITask
    Inherited Members
    BuildTaskBase.BuildEngine
    BuildTaskBase.CXUIBuildEngine
    BuildTaskBase.HostObject
    BuildTaskBase.TempOutputDirectory
    BuildTaskBase.Assemblies
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Simplic.CXUI.WebApi2
    Assembly: Simplic.CXUI.WebApi2.dll
    Syntax
    public class WebApi2ControllerBuildTask : BuildTaskBase

    Constructors

    | Improve this Doc View Source

    WebApi2ControllerBuildTask(Func<ControllerDefinition, ActionDefinition, String>)

    Initialize new web api controller build task

    Declaration
    public WebApi2ControllerBuildTask(Func<ControllerDefinition, ActionDefinition, string> actionBodyGenerator)
    Parameters
    Type Name Description
    System.Func<ControllerDefinition, ActionDefinition, System.String> actionBodyGenerator

    Properties

    | Improve this Doc View Source

    ActionTemplate

    Gets or setst the template which will be used for generating an action in a controlelr

    Declaration
    public string ActionTemplate { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    ControllerDefinitionFiles

    Gets or sets a list of json controller definition files

    Declaration
    public IList<string> ControllerDefinitionFiles { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IList<System.String>
    | Improve this Doc View Source

    ControllerTemplate

    Gets or sets the template which will be used for generating a controller

    Declaration
    public string ControllerTemplate { get; set; }
    Property Value
    Type Description
    System.String

    Methods

    | Improve this Doc View Source

    Execute()

    Create controller c# code

    Declaration
    public override bool Execute()
    Returns
    Type Description
    System.Boolean

    Returns true, when creating the controller was successfull

    Overrides
    BuildTaskBase.Execute()

    Implements

    Microsoft.Build.Framework.ITask
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx