示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CustomRendererViewModel" /> class.
 /// </summary>
 /// <param name="messageBoxService">The message box service.</param>
 /// <param name="settingsService">The settings service.</param>
 /// <param name="translator">The translator.</param>
 /// <param name="cachingService">The caching service.</param>
 /// <param name="customRendererFactory">The custom renderer factory.</param>
 public CustomRendererViewModel(
     IMessageBoxService messageBoxService,
     ISettingsService settingsService,
     ITranslator <string, CustomRenderers> translator,
     ICachingService cachingService,
     ICustomRendererFactory customRendererFactory)
 {
     this.messageBoxService     = messageBoxService;
     this.settingsService       = settingsService;
     this.translator            = translator;
     this.cachingService        = cachingService;
     this.customRendererFactory = customRendererFactory;
     this.Init();
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="CustomRendererController" /> class.
 /// </summary>
 /// <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>
 /// <param name="customRendererFactory">The custom renderer factory.</param>
 /// <param name="textTemplatingService">The text templating service.</param>
 public CustomRendererController(
     IVisualStudioService visualStudioService,
     ISettingsService settingsService,
     IMessageBoxService messageBoxService,
     IResolverService resolverService,
     IReadMeService readMeService,
     ICustomRendererFactory customRendererFactory,
     ITextTemplatingService textTemplatingService)
     : base(visualStudioService, 
         settingsService, 
         messageBoxService, 
         resolverService, 
         readMeService)
 {
     TraceService.WriteLine("CustomerRendererController::Constructor");
     this.customRendererFactory = customRendererFactory;
     this.textTemplatingService = textTemplatingService;
 }
示例#3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CustomRendererController" /> class.
 /// </summary>
 /// <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>
 /// <param name="customRendererFactory">The custome renderer factory.</param>
 /// <param name="textTemplatingService">The text templating service.</param>
 public CustomRendererController(
     IVisualStudioService visualStudioService,
     ISettingsService settingsService,
     IMessageBoxService messageBoxService,
     IResolverService resolverService,
     IReadMeService readMeService,
     ICustomRendererFactory customRendererFactory,
     ITextTemplatingService textTemplatingService)
     : base(
         visualStudioService,
         settingsService,
         messageBoxService,
         resolverService,
         readMeService)
 {
     TraceService.WriteLine("CustomerRendererController::Constructor");
     this.customRendererFactory = customRendererFactory;
     this.textTemplatingService = textTemplatingService;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="CustomRendererViewModel" /> class.
 /// </summary>
 /// <param name="messageBoxService">The message box service.</param>
 /// <param name="settingsService">The settings service.</param>
 /// <param name="translator">The translator.</param>
 /// <param name="cachingService">The caching service.</param>
 /// <param name="customRendererFactory">The custom renderer factory.</param>
 public CustomRendererViewModel(
     IMessageBoxService messageBoxService,
     ISettingsService settingsService,
     ITranslator<string, CustomRenderers> translator,
     ICachingService cachingService,
     ICustomRendererFactory customRendererFactory)
 {
     this.messageBoxService = messageBoxService;
     this.settingsService = settingsService;
     this.translator = translator;
     this.cachingService = cachingService;
     this.customRendererFactory = customRendererFactory;
     this.Init();
 }