C# Класс NinjaCoder.MvvmCross.Factories.BaseTextTemplateFactory

Defines the BaseTextTemplateFactory type.
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
SettingsService ISettingsService

Защищенные методы

Метод Описание
BaseTextTemplateFactory ( ISettingsService settingsService ) : System.Collections.Generic

Initializes a new instance of the BaseTextTemplateFactory class.

GetNameSpace ( IProjectService projectService, string directory ) : string

Gets the name space.

GetProjectType ( ProjectSuffix projectSuffix ) : string

Gets the type of the project.

GetTextTemplateInfo ( IProjectService projectService, string templateName, string name, string directory, ProjectSuffix projectSuffix, string projectSuffixName, string>.Dictionary baseDictionary, bool useProjectSuffix, string projectSuffixOverride = "" ) : TextTemplateInfo

Gets the text template information.

Приватные методы

Метод Описание
GetClassName ( string name, ProjectSuffix projectSuffix, bool useProjectSuffix ) : string

Gets the name of the class.

GetDictionary ( string>.Dictionary baseDictionary, string nameSpace, string className, string platForm ) : string>.Dictionary

Gets the dictionary.

GetFileName ( string name, ProjectSuffix projectSuffix, bool useProjectSuffix ) : string

Gets the name of the file.

Описание методов

BaseTextTemplateFactory() защищенный Метод

Initializes a new instance of the BaseTextTemplateFactory class.
protected BaseTextTemplateFactory ( ISettingsService settingsService ) : System.Collections.Generic
settingsService ISettingsService
Результат System.Collections.Generic

GetNameSpace() защищенный Метод

Gets the name space.
protected GetNameSpace ( IProjectService projectService, string directory ) : string
projectService IProjectService The project service.
directory string The directory.
Результат string

GetProjectType() защищенный Метод

Gets the type of the project.
protected GetProjectType ( ProjectSuffix projectSuffix ) : string
projectSuffix ProjectSuffix The project suffix.
Результат string

GetTextTemplateInfo() защищенный Метод

Gets the text template information.
protected GetTextTemplateInfo ( IProjectService projectService, string templateName, string name, string directory, ProjectSuffix projectSuffix, string projectSuffixName, string>.Dictionary baseDictionary, bool useProjectSuffix, string projectSuffixOverride = "" ) : TextTemplateInfo
projectService IProjectService The project service.
templateName string Name of the template.
name string The name.
directory string The directory.
projectSuffix ProjectSuffix The project suffix.
projectSuffixName string Name of the project suffix.
baseDictionary string>.Dictionary The base dictionary.
useProjectSuffix bool if set to true [use project suffix].
projectSuffixOverride string The project suffix override.
Результат Scorchio.VisualStudio.Entities.TextTemplateInfo

Описание свойств

SettingsService защищенное свойство

The settings service.
protected ISettingsService SettingsService
Результат ISettingsService