C# Class NinjaCoder.MvvmCross.Services.CodeConfigService

Defines the CodeConfigService type.
Inheritance: ICodeConfigService
显示文件 Open project: asudbury/NinjaCoderForMvvmCross Class Usage Examples

Public Methods

Method Description
ApplyCodeDependencies ( IVisualStudioService visualStudioService, Scorchio.VisualStudio.Entities.CodeConfig codeConfig ) : IEnumerable

Applies the code dependencies.

CodeConfigService ( ) : System.Collections.Generic

Initializes a new instance of the CodeConfigService class.

GetBootstrapFileName ( Scorchio.VisualStudio.Entities.CodeConfig codeConfig, string friendlyName ) : string

Gets the name of the bootstrap file.

GetNugetCommand ( Scorchio.VisualStudio.Entities.CodeConfig codeConfig ) : string

Gets the nuget command.

GetProjectNugetCommand ( Scorchio.VisualStudio.Entities.CodeConfig codeConfig, IProjectService projectService ) : string

Gets the project nuget command if we need one.

Private Methods

Method Description
ApplyCodeSnippet ( IVisualStudioService visualStudioService, Scorchio.VisualStudio.Entities.CodeSnippet codeSnippet ) : IEnumerable

Applies the code snippet.

Method Details

ApplyCodeDependencies() public method

Applies the code dependencies.
public ApplyCodeDependencies ( IVisualStudioService visualStudioService, Scorchio.VisualStudio.Entities.CodeConfig codeConfig ) : IEnumerable
visualStudioService IVisualStudioService The visual studio service.
codeConfig Scorchio.VisualStudio.Entities.CodeConfig The code config.
return IEnumerable

CodeConfigService() public method

Initializes a new instance of the CodeConfigService class.
public CodeConfigService ( ) : System.Collections.Generic
return System.Collections.Generic

GetBootstrapFileName() public method

Gets the name of the bootstrap file.
public GetBootstrapFileName ( Scorchio.VisualStudio.Entities.CodeConfig codeConfig, string friendlyName ) : string
codeConfig Scorchio.VisualStudio.Entities.CodeConfig The code config.
friendlyName string Name of the friendly.
return string

GetNugetCommand() public method

Gets the nuget command.
public GetNugetCommand ( Scorchio.VisualStudio.Entities.CodeConfig codeConfig ) : string
codeConfig Scorchio.VisualStudio.Entities.CodeConfig The code config.
return string

GetProjectNugetCommand() public method

Gets the project nuget command if we need one.
public GetProjectNugetCommand ( Scorchio.VisualStudio.Entities.CodeConfig codeConfig, IProjectService projectService ) : string
codeConfig Scorchio.VisualStudio.Entities.CodeConfig The code config.
projectService IProjectService The project service.
return string