public OldEventLogAutoResubmitter([NotNull] IMessageBus messageBus, // Dependency on EventLogger is necessary to make sure it has already been // created and is subscribed to the message bus. // ReSharper disable once UnusedParameter.Local [NotNull] EventLogger eventLogger, [NotNull] ILogger logger, [NotNull] FeedBaGVersionUtil versionUtil) { var pathInRoaming = Path.Combine( IDEEventLogFileManager.AppDataPath, IDEEventLogFileManager.ProjectName, "KaVE.VS.FeedbackGenerator", versionUtil.GetVariant().ToString()); var pathWithDefaultVariant = Path.Combine( IDEEventLogFileManager.LocalAppDataPath, IDEEventLogFileManager.ProjectName, "KaVE.VS.FeedbackGenerator", "Default"); var paths = new List <string> { pathInRoaming }; if (versionUtil.GetVariant() == Variant.Release) { paths.Add(pathWithDefaultVariant); } Task.Factory.StartNew(() => Execute(paths, messageBus, logger)); }
public RSEnv(IIDESession ideSession, FeedBaGVersionUtil versionUtil) { IDESession = ideSession; _versionUtil = versionUtil; }
public void SetUp() { _sut = new FeedBaGVersionUtil(); }
public IDEEventLogFileManager(FeedBaGVersionUtil versionUtil) : base(Path.Combine(EventLogsPath, versionUtil.GetVariant().ToString())) { }