C# Class NinjaCoder.MvvmCross.Translators.ProjectTemplateTranslator

Defines the ProjectTemplateTranslator type.
Inheritance: IProjectTemplateTranslator
显示文件 Open project: asudbury/NinjaCoderForMvvmCross

Public Methods

Method Description
ProjectTemplateTranslator ( ISettingsService settingsService, IVisualStudioService visualStudioService ) : System.Collections.Generic

Initializes a new instance of the ProjectTemplateTranslator class.

Translate ( System.Xml.Linq.XElement from ) : ProjectTemplateInfo

Translates the specified from.

Private Methods

Method Description
GetNameSpace ( string projectName ) : string

Gets the name space.

GetTemplatePath ( string projectName, System.Xml.Linq.XElement element ) : string

Gets the template path.

GetTextTemplates ( string nameSpace, string projectName, System.Xml.Linq.XElement element ) : IEnumerable

Gets the text templates.

Method Details

ProjectTemplateTranslator() public method

Initializes a new instance of the ProjectTemplateTranslator class.
public ProjectTemplateTranslator ( ISettingsService settingsService, IVisualStudioService visualStudioService ) : System.Collections.Generic
settingsService ISettingsService The settings service.
visualStudioService IVisualStudioService The visual studio service.
return System.Collections.Generic

Translate() public method

Translates the specified from.
public Translate ( System.Xml.Linq.XElement from ) : ProjectTemplateInfo
from System.Xml.Linq.XElement From.
return Scorchio.VisualStudio.Entities.ProjectTemplateInfo