C# Class NinjaCoder.MvvmCross.Factories.BaseViewFactory

Defines the BaseViewFactory type.
Afficher le fichier Open project: asudbury/NinjaCoderForMvvmCross

Méthodes protégées

Méthode 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

Méthode Description
GetFileOperation ( string platForm, string fileName, string operation ) : FileOperation

Gets the file operation.

Method Details

BaseViewFactory() protected méthode

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.
Résultat System.Collections.Generic

GetBaseDictionary() protected méthode

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

GetCodeBehindTextTemplateInfo() protected méthode

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.
Résultat Scorchio.VisualStudio.Entities.TextTemplateInfo

GetCompileFileOperation() protected méthode

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

GetEmbeddedResourceFileOperation() protected méthode

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

GetPageFileOperation() protected méthode

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

GetTextTransformationService() protected méthode

Gets the text transformation service.
protected GetTextTransformationService ( ) : ITextTransformationService
Résultat ITextTransformationService

GetViewTemplate() protected méthode

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