C# Class NinjaCoder.MvvmCross.Factories.BaseViewFactory

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

Protected Methods

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

Initializes a new instance of the BaseViewFactory class.

GetBaseDictionary ( string viewName, string projectSuffix ) : string>.Dictionary

Gets the base dictionary.

GetCodeBehindTextTemplateInfo ( string projectSuffix, string viewName, string viewTemplateName, string>.Dictionary tokens ) : TextTemplateInfo

Gets the code behind text template information.

GetCompileFileOperation ( string platForm, string fileName ) : FileOperation

Gets the compile file operation.

GetEmbeddedResourceFileOperation ( string platForm, string fileName ) : FileOperation

Gets the embedded resource file operation.

GetPageFileOperation ( string platForm, string fileName ) : FileOperation

Gets the embedded resource file operation.

GetTextTransformationService ( ) : ITextTransformationService

Gets the text transformation service.

GetViewTemplate ( FrameworkType frameworkType, string pageType ) : string

Gets the view template.

Private Methods

Method Description
GetFileOperation ( string platForm, string fileName, string operation ) : FileOperation

Gets the file operation.

Method Details

BaseViewFactory() protected method

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

GetBaseDictionary() protected method

Gets the base dictionary.
protected GetBaseDictionary ( string viewName, string projectSuffix ) : string>.Dictionary
viewName string Name of the view.
projectSuffix string The project suffix.
return string>.Dictionary

GetCodeBehindTextTemplateInfo() protected method

Gets the code behind text template information.
protected GetCodeBehindTextTemplateInfo ( string projectSuffix, string viewName, string viewTemplateName, string>.Dictionary tokens ) : TextTemplateInfo
projectSuffix string The project suffix.
viewName string Name of the view.
viewTemplateName string Name of the view template.
tokens string>.Dictionary The tokens.
return Scorchio.VisualStudio.Entities.TextTemplateInfo

GetCompileFileOperation() protected method

Gets the compile file operation.
protected GetCompileFileOperation ( string platForm, string fileName ) : FileOperation
platForm string The platform.
fileName string Name of the file.
return FileOperation

GetEmbeddedResourceFileOperation() protected method

Gets the embedded resource file operation.
protected GetEmbeddedResourceFileOperation ( string platForm, string fileName ) : FileOperation
platForm string The platform.
fileName string Name of the file.
return FileOperation

GetPageFileOperation() protected method

Gets the embedded resource file operation.
protected GetPageFileOperation ( string platForm, string fileName ) : FileOperation
platForm string The platform.
fileName string Name of the file.
return FileOperation

GetTextTransformationService() protected method

Gets the text transformation service.
protected GetTextTransformationService ( ) : ITextTransformationService
return ITextTransformationService

GetViewTemplate() protected method

Gets the view template.
protected GetViewTemplate ( FrameworkType frameworkType, string pageType ) : string
frameworkType FrameworkType Type of the framework.
pageType string Type of the page.
return string