/// <summary> /// Constructor /// </summary> /// <param name="authenticationService">The <see cref="AuthenticationService"/></param> /// <param name="pluginsService">The <see cref="Core.Services.PluginsService"/></param> /// <param name="cultureService">The <see cref="Core.Services.CultureService"/></param> /// <param name="formsAuthentication">The <see cref="FormsAuthentication"/> wrapper</param> public LoginController(IAuthenticationService authenticationService, IPluginsService pluginsService, ICultureService cultureService, IFormsAuthentication formsAuthentication) { this.authenticationService = authenticationService; this.pluginsService = pluginsService; this.cultureService = cultureService; this.formsAuthentication = formsAuthentication; }
/// <summary> /// Initializes a new instance of the <see cref="PluginsController" /> class. /// </summary> /// <param name="fileSystem">The file system.</param> /// <param name="pluginsService">The plugins service.</param> /// <param name="nugetService">The nuget service.</param> /// <param name="visualStudioService">The visual studio service.</param> /// <param name="readMeService">The read me service.</param> /// <param name="settingsService">The settings service.</param> /// <param name="messageBoxService">The message box service.</param> /// <param name="dialogService">The dialog service.</param> /// <param name="formsService">The forms service.</param> /// <param name="translator">The translator.</param> public PluginsController( IFileSystem fileSystem, IPluginsService pluginsService, INugetService nugetService, IVisualStudioService visualStudioService, IReadMeService readMeService, ISettingsService settingsService, IMessageBoxService messageBoxService, IDialogService dialogService, IFormsService formsService, ITranslator<Tuple<DirectoryInfoBase, DirectoryInfoBase>, Plugins> translator) : base(visualStudioService, readMeService, settingsService, messageBoxService, dialogService, formsService) { TraceService.WriteLine("PluginsController::Constructor"); this.fileSystem = fileSystem; this.pluginsService = pluginsService; this.nugetService = nugetService; this.translator = translator; }
/// <summary> /// Initializes a new instance of the <see cref="PluginsController"/> class. /// </summary> /// <param name="pluginsService">The plugins service.</param> public PluginsController( IPluginsService pluginsService) : base( new VisualStudioService(), new ReadMeService(), new SettingsService()) { this.pluginsService = pluginsService; }
/// <summary> /// Initializes a new instance of the <see cref="PluginFactory" /> class. /// </summary> /// <param name="pluginsService">The plugins service.</param> /// <param name="pluginsTranslator">The pluginsTranslator.</param> public PluginFactory( IPluginsService pluginsService, ITranslator<string, Plugins> pluginsTranslator) { TraceService.WriteLine("PluginFactory::Constructor"); this.pluginsService = pluginsService; this.pluginsTranslator = pluginsTranslator; }
public override void SetUp() { base.SetUp(); pluginService = mockery.DynamicMock<IPluginsService>(); controller = new ContentController(pluginService); PrepareController(controller); }
/// <summary> /// Initializes a new instance of the <see cref="NugetPackagesBaseViewModel" /> class. /// </summary> /// <param name="settingsService">The settings service.</param> /// <param name="pluginsService">The plugins service.</param> /// <param name="projectFactory">The project factory.</param> /// <param name="pluginFactory">The plugin factory.</param> protected NugetPackagesBaseViewModel( ISettingsService settingsService, IPluginsService pluginsService, IProjectFactory projectFactory, IPluginFactory pluginFactory) { this.settingsService = settingsService; this.pluginsService = pluginsService; this.projectFactory = projectFactory; this.pluginFactory = pluginFactory; }
/// <summary> /// Initializes a new instance of the <see cref="MvvmCrossController" /> class. /// </summary> /// <param name="visualStudioService">The visual studio service.</param> /// <param name="settingsService">The settings service.</param> /// <param name="pluginsService">The plugins service.</param> /// <param name="configurationService">The configuration service.</param> public MvvmCrossController( IVisualStudioService visualStudioService, ISettingsService settingsService, IPluginsService pluginsService, IConfigurationService configurationService) { this.visualStudioService = visualStudioService; this.settingsService = settingsService; this.pluginsService = pluginsService; this.configurationService = configurationService; }
/// <summary> /// Initializes a new instance of the <see cref="PluginsViewModel" /> class. /// </summary> /// <param name="settingsService">The settings service.</param> /// <param name="pluginsService">The plugins service.</param> /// <param name="projectFactory">The project factory.</param> /// <param name="pluginFactory">The plugin factory.</param> public PluginsViewModel( ISettingsService settingsService, IPluginsService pluginsService, IProjectFactory projectFactory, IPluginFactory pluginFactory) : base(settingsService, pluginsService, projectFactory, pluginFactory) { this.settingsService = settingsService; }
/// <summary> /// Initializes a new instance of the <see cref="XamarinFormsLabsViewModel" /> class. /// </summary> /// <param name="settingsService">The settings service.</param> /// <param name="pluginsService">The plugins service.</param> /// <param name="pluginFactory">The plugin factory.</param> public XamarinFormsLabsViewModel( ISettingsService settingsService, IPluginsService pluginsService, IPluginFactory pluginFactory) { TraceService.WriteLine("XamarinFormsLabsViewModel::Constructor Start"); this.settingsService = settingsService; this.pluginsService = pluginsService; this.pluginFactory = pluginFactory; TraceService.WriteLine("XamarinFormsLabsViewModel::Constructor End"); }
/// <summary> /// Initializes a new instance of the <see cref="XamarinFormsLabsViewModel" /> class. /// </summary> /// <param name="settingsService">The settings service.</param> /// <param name="pluginsService">The plugins service.</param> /// <param name="projectFactory">The project factory.</param> /// <param name="pluginFactory">The plugin factory.</param> public XamarinFormsLabsViewModel( ISettingsService settingsService, IPluginsService pluginsService, IProjectFactory projectFactory, IPluginFactory pluginFactory) : base( settingsService, pluginsService, projectFactory, pluginFactory) { this.settingsService = settingsService; }
public override void SetUp() { base.SetUp(); authenticationService = mockery.DynamicMock<IAuthenticationService>(); pluginsService = mockery.DynamicMock<IPluginsService>(); formsAuthentication = mockery.Stub<IFormsAuthentication>(); cultureService = mockery.DynamicMock<ICultureService>(); controller = new LoginController(authenticationService, pluginsService, cultureService, formsAuthentication); ConfigurationManager.AppSettings["plugins.path"] = PLUGINPATH; PrepareController(controller); }
/// <summary> /// Initializes a new instance of the <see cref="ApplicationSamplesOptionsViewModel" /> class. /// </summary> /// <param name="settingsService">The settings service.</param> /// <param name="cachingService">The caching service.</param> /// <param name="pluginsService">The plugins service.</param> /// <param name="projectFactory">The project factory.</param> /// <param name="pluginFactory">The plugin factory.</param> public ApplicationSamplesOptionsViewModel( ISettingsService settingsService, ICachingService cachingService, IPluginsService pluginsService, IProjectFactory projectFactory, IPluginFactory pluginFactory) : base(settingsService, pluginsService, projectFactory, pluginFactory) { this.settingsService = settingsService; this.cachingService = cachingService; }
/// <summary> /// Initializes a new instance of the <see cref="NugetPackagesViewModel" /> class. /// </summary> /// <param name="applicationService">The application service.</param> /// <param name="settingsService">The settings service.</param> /// <param name="pluginsService">The plugins service.</param> /// <param name="pluginFactory">The plugin factory.</param> public NugetPackagesViewModel( IApplicationService applicationService, ISettingsService settingsService, IPluginsService pluginsService, IPluginFactory pluginFactory) { TraceService.WriteLine("NugetServicesViewModel::Constructor Start"); this.applicationService = applicationService; this.settingsService = settingsService; this.pluginsService = pluginsService; this.pluginFactory = pluginFactory; TraceService.WriteLine("NugetServicesViewModel::Constructor End"); }
/// <summary> /// Initializes a new instance of the <see cref="ApplicationOptionsViewModel" /> class. /// </summary> /// <param name="settingsService">The settings service.</param> /// <param name="pluginsService">The plugins service.</param> /// <param name="pluginFactory">The plugin factory.</param> /// <param name="cachingService">The caching service.</param> /// <param name="projectFactory">The project factory.</param> public ApplicationOptionsViewModel( ISettingsService settingsService, IPluginsService pluginsService, IPluginFactory pluginFactory, ICachingService cachingService, IProjectFactory projectFactory) : base( settingsService, pluginsService, projectFactory, pluginFactory) { this.settingsService = settingsService; this.cachingService = cachingService; }
/// <summary> /// Initializes a new instance of the <see cref="PluginFactory" /> class. /// </summary> /// <param name="pluginsService">The plugins service.</param> /// <param name="fileSystem">The file system.</param> /// <param name="settingsService">The settings service.</param> /// <param name="pluginsTranslator">The pluginsTranslator.</param> /// <param name="pluginTranslator">The plugin translator.</param> public PluginFactory( IPluginsService pluginsService, IFileSystem fileSystem, ISettingsService settingsService, ITranslator<Tuple<DirectoryInfoBase, DirectoryInfoBase>, Plugins> pluginsTranslator, ITranslator<FileInfoBase, Plugin> pluginTranslator) { TraceService.WriteLine("PluginFactory::Constructor"); this.pluginsService = pluginsService; this.fileSystem = fileSystem; this.settingsService = settingsService; this.pluginsTranslator = pluginsTranslator; this.pluginTranslator = pluginTranslator; }
/// <summary> /// Initializes a new instance of the <see cref="ServicesService" /> class. /// </summary> /// <param name="pluginTranslator">The plugin translator.</param> /// <param name="codeConfigTranslator">The code config translator.</param> /// <param name="fileSystem">The file system.</param> /// <param name="settingsService">The settings service.</param> /// <param name="snippetService">The snippet service.</param> /// <param name="pluginsService">The plugins service.</param> /// <param name="messageBoxService">The message box service.</param> public ServicesService( ITranslator<FileInfoBase, Plugin> pluginTranslator, ITranslator<string, CodeConfig> codeConfigTranslator, IFileSystem fileSystem, ISettingsService settingsService, ISnippetService snippetService, IPluginsService pluginsService, IMessageBoxService messageBoxService) : base(codeConfigTranslator, fileSystem, settingsService, snippetService) { TraceService.WriteLine("ServicesService::Constructor"); this.pluginTranslator = pluginTranslator; this.pluginsService = pluginsService; this.messageBoxService = messageBoxService; }
/// <summary> /// Initializes a new instance of the <see cref="NugetPackagesViewModel" /> class. /// </summary> /// <param name="applicationService">The application service.</param> /// <param name="settingsService">The settings service.</param> /// <param name="pluginsService">The plugins service.</param> /// <param name="projectFactory">The project factory.</param> /// <param name="pluginFactory">The plugin factory.</param> /// <param name="cachingService">The caching service.</param> public NugetPackagesViewModel( IApplicationService applicationService, ISettingsService settingsService, IPluginsService pluginsService, IProjectFactory projectFactory, IPluginFactory pluginFactory, ICachingService cachingService) : base(settingsService, pluginsService, projectFactory, pluginFactory) { this.applicationService = applicationService; this.settingsService = settingsService; this.pluginFactory = pluginFactory; this.cachingService = cachingService; }
/// <summary> /// Initializes a new instance of the <see cref="NugetPackagesViewModel" /> class. /// </summary> /// <param name="applicationService">The application service.</param> /// <param name="settingsService">The settings service.</param> /// <param name="pluginsService">The plugins service.</param> /// <param name="projectFactory">The project factory.</param> /// <param name="pluginFactory">The plugin factory.</param> /// <param name="cachingService">The caching service.</param> public NugetPackagesViewModel( IApplicationService applicationService, ISettingsService settingsService, IPluginsService pluginsService, IProjectFactory projectFactory, IPluginFactory pluginFactory, ICachingService cachingService) : base( settingsService, pluginsService, projectFactory, pluginFactory) { this.applicationService = applicationService; this.settingsService = settingsService; this.pluginFactory = pluginFactory; this.cachingService = cachingService; }
/// <summary> /// Initializes a new instance of the <see cref="PluginsController" /> class. /// </summary> /// <param name="pluginsService">The plugins service.</param> /// <param name="nugetService">The nuget service.</param> /// <param name="visualStudioService">The visual studio service.</param> /// <param name="settingsService">The settings service.</param> /// <param name="messageBoxService">The message box service.</param> /// <param name="resolverService">The resolver service.</param> /// <param name="readMeService">The read me service.</param> public PluginsController( IPluginsService pluginsService, INugetService nugetService, IVisualStudioService visualStudioService, ISettingsService settingsService, IMessageBoxService messageBoxService, IResolverService resolverService, IReadMeService readMeService) : base(visualStudioService, settingsService, messageBoxService, resolverService, readMeService) { TraceService.WriteLine("PluginsController::Constructor"); this.pluginsService = pluginsService; this.nugetService = nugetService; }
public override void SetUp() { base.SetUp(); Referrer = "Plugins/List"; service = mockery.DynamicMock<IPluginsService>(); controller = new PluginsController(service); ConfigurationManager.AppSettings["plugins.path"] = PLUGINPATH; PrepareController(controller, "Plugins"); }
internal AssemblyPluginsLoader(PluginsManager manager, IPluginsService service) { _manager = manager; _service = service; }
public PluginsController(IPluginsService service) { this.service = service; }
/// <summary> /// Inits this instance. /// </summary> public void Init() { TraceService.WriteLine("ServicesService::Init"); this.pluginsService = pluginFactory.GetPluginsService(); this.codeSnippetService = codeSnippetFactory.GetCodeSnippetService(); this.codeConfigService = codeConfigFactory.GetCodeConfigService(); }
/// <summary> /// Initializes a new instance of the <see cref="ServicesService" /> class. /// </summary> /// <param name="pluginTranslator">The plugin translator.</param> /// <param name="fileSystem">The file system.</param> /// <param name="codeConfigService">The code config service.</param> /// <param name="settingsService">The settings service.</param> /// <param name="snippetService">The snippet service.</param> /// <param name="pluginsService">The plugins service.</param> /// <param name="messageBoxService">The message box service.</param> /// <param name="nugetService">The nuget service.</param> public ServicesService( ITranslator<FileInfoBase, Plugin> pluginTranslator, IFileSystem fileSystem, ICodeConfigService codeConfigService, ISettingsService settingsService, ISnippetService snippetService, IPluginsService pluginsService, IMessageBoxService messageBoxService, INugetService nugetService) { TraceService.WriteLine("ServicesService::Constructor"); this.pluginTranslator = pluginTranslator; this.fileSystem = fileSystem; this.codeConfigService = codeConfigService; this.settingsService = settingsService; this.snippetService = snippetService; this.pluginsService = pluginsService; this.messageBoxService = messageBoxService; this.nugetService = nugetService; }
public PluginManagementController(IPluginsService service) { this.service = service; }
public ContentController(IPluginsService pluginsService) { this.pluginsService = pluginsService; }