C# Class Zetbox.Generator.Templates.ProjectFile

Show file Open project: daszat/zetbox

Protected Properties

Property Type Description
ctx Zetbox.API.IZetboxContext
fileNames List
projectGuid string
schemaProviders IEnumerable

Public Methods

Method Description
Call ( Arebis _host, Zetbox ctx, string projectGuid, List fileNames, IEnumerable schemaProviders ) : void
Generate ( ) : void
ProjectFile ( Arebis _host, Zetbox ctx, string projectGuid, List fileNames, IEnumerable schemaProviders ) : System.Collections.Generic

Protected Methods

Method Description
ApplyAdditionalItemGroups ( ) : void

Override this to add one or more <ItemGroup/>s to the project file

ApplyAdditionalProperties ( ) : void

Override this to add one or more Properties to a global <PropertyGroup/>

ApplyAdditionalPropertyGroups ( ) : void

Override this to add one or more <PropertyGroup/>s to the project file

ApplyAdditionalReferences ( ) : void

Add additional assembly references. By default this only adds a reference to the currently generating interface assembly. Extend this to add one or more <References/>s to the project file

GetAssemblyName ( ) : string
GetRelativeOutputPath ( ) : string

Returns the output path relative to the ZetboxAPIPath. This is only relevant for projects which are compiled in the IDE, as the generator will override the values here. This method MUST be overridden.

Method Details

ApplyAdditionalItemGroups() protected method

Override this to add one or more <ItemGroup/>s to the project file
protected ApplyAdditionalItemGroups ( ) : void
return void

ApplyAdditionalProperties() protected method

Override this to add one or more Properties to a global <PropertyGroup/>
protected ApplyAdditionalProperties ( ) : void
return void

ApplyAdditionalPropertyGroups() protected method

Override this to add one or more <PropertyGroup/>s to the project file
protected ApplyAdditionalPropertyGroups ( ) : void
return void

ApplyAdditionalReferences() protected method

Add additional assembly references. By default this only adds a reference to the currently generating interface assembly. Extend this to add one or more <References/>s to the project file
protected ApplyAdditionalReferences ( ) : void
return void

Call() public static method

public static Call ( Arebis _host, Zetbox ctx, string projectGuid, List fileNames, IEnumerable schemaProviders ) : void
_host Arebis
ctx Zetbox
projectGuid string
fileNames List
schemaProviders IEnumerable
return void

Generate() public method

public Generate ( ) : void
return void

GetAssemblyName() protected method

protected GetAssemblyName ( ) : string
return string

GetRelativeOutputPath() protected method

Returns the output path relative to the ZetboxAPIPath. This is only relevant for projects which are compiled in the IDE, as the generator will override the values here. This method MUST be overridden.
protected GetRelativeOutputPath ( ) : string
return string

ProjectFile() public method

public ProjectFile ( Arebis _host, Zetbox ctx, string projectGuid, List fileNames, IEnumerable schemaProviders ) : System.Collections.Generic
_host Arebis
ctx Zetbox
projectGuid string
fileNames List
schemaProviders IEnumerable
return System.Collections.Generic

Property Details

ctx protected property

protected Zetbox.API.IZetboxContext ctx
return Zetbox.API.IZetboxContext

fileNames protected property

protected List fileNames
return List

projectGuid protected property

protected string projectGuid
return string

schemaProviders protected property

protected IEnumerable schemaProviders
return IEnumerable