C# Class NinjaCoder.MvvmCross.Factories.BaseProjectFactory

Defines the BaseProjectFactory type.
显示文件 Open project: asudbury/NinjaCoderForMvvmCross

Protected Properties

Property Type Description
SettingsService ISettingsService

Protected Methods

Method Description
AddProjectIf ( bool condition, ProjectTemplateInfo projectTemplateInfo ) : void

Adds the project if.

BaseProjectFactory ( ISettingsService settingsService, IProjectTemplatesTranslator translator ) : System.Collections.Generic

Initializes a new instance of the BaseProjectFactory class.

GetPlatFormTestsProject ( FrameworkType frameworkType, string testingFramework, IEnumerable nugetCommands, bool preSelect, string projectSuffix, string projectType ) : ProjectTemplateInfo

Gets the platform tests project.

GetProjectItems ( FrameworkType frameworkType, ProjectType projectType ) : IEnumerable

Gets the project items.

GetTestsProject ( FrameworkType frameworkType, string testingFramework, IEnumerable nugetCommands, bool preSelect, string projectSuffix, string projectType ) : ProjectTemplateInfo

Gets the core tests project.

Private Methods

Method Description
GetPojectTemplateInfos ( string uri ) : IEnumerable

Gets the poject template infos.

Method Details

AddProjectIf() protected method

Adds the project if.
protected AddProjectIf ( bool condition, ProjectTemplateInfo projectTemplateInfo ) : void
condition bool if set to true [condition].
projectTemplateInfo Scorchio.VisualStudio.Entities.ProjectTemplateInfo The project template information.
return void

BaseProjectFactory() protected method

Initializes a new instance of the BaseProjectFactory class.
protected BaseProjectFactory ( ISettingsService settingsService, IProjectTemplatesTranslator translator ) : System.Collections.Generic
settingsService ISettingsService The settings service.
translator IProjectTemplatesTranslator The translator.
return System.Collections.Generic

GetPlatFormTestsProject() protected method

Gets the platform tests project.
protected GetPlatFormTestsProject ( FrameworkType frameworkType, string testingFramework, IEnumerable nugetCommands, bool preSelect, string projectSuffix, string projectType ) : ProjectTemplateInfo
frameworkType FrameworkType Type of the framework.
testingFramework string The testing framework.
nugetCommands IEnumerable The nuget commands.
preSelect bool if set to true [pre select].
projectSuffix string The project suffix.
projectType string Type of the project.
return Scorchio.VisualStudio.Entities.ProjectTemplateInfo

GetProjectItems() protected method

Gets the project items.
protected GetProjectItems ( FrameworkType frameworkType, ProjectType projectType ) : IEnumerable
frameworkType FrameworkType Type of the framework.
projectType ProjectType Type of the project.
return IEnumerable

GetTestsProject() protected method

Gets the core tests project.
protected GetTestsProject ( FrameworkType frameworkType, string testingFramework, IEnumerable nugetCommands, bool preSelect, string projectSuffix, string projectType ) : ProjectTemplateInfo
frameworkType FrameworkType Type of the framework.
testingFramework string The testing framework.
nugetCommands IEnumerable The nuget commands.
preSelect bool if set to true [pre select].
projectSuffix string The project suffix.
projectType string Type of the project.
return Scorchio.VisualStudio.Entities.ProjectTemplateInfo

Property Details

SettingsService protected_oe property

The settings service.
protected ISettingsService SettingsService
return ISettingsService