Exemple #1
0
        public static string GetCodeFullPath(StubberOption config, string outputName)
        {
            var path = $"{outputName}.txt";

            if (!string.IsNullOrEmpty(config.CodeFilePathPrefix))
            {
                path = Path.Combine(config.CodeFilePathPrefix, path);
            }
            return(path);
        }
Exemple #2
0
 public DefaultOutputter(IOptions <StubberOption> options)
 {
     _config = options.Value;
 }
Exemple #3
0
 public DefaultProcessor(IMemoryCache cache, IOptions <StubberOption> options)
 {
     _cache  = cache;
     _config = options.Value;
 }