2 implementations of ILogger
dotnet-svcutil-lib (2)
DebugLogger.cs (1)
10
internal class DebugLogger :
ILogger
, NuGet.Common.ILogger
Shared\Utilities\SafeLogger.cs (1)
11
internal class SafeLogger : IDisposable,
ILogger
43 references to ILogger
dotnet-svcutil-lib (43)
Bootstrapper\SvcutilBootstrapper.cs (5)
52
internal async Task<ProcessRunner.ProcessResult> BoostrapSvcutilAsync(bool keepBootstrapperDir,
ILogger
logger, CancellationToken cancellationToken)
95
internal async Task GenerateProjectAsync(bool keepBootstrapperDir,
ILogger
logger, CancellationToken cancellationToken)
166
internal async Task GenerateProgramFileAsync(
ILogger
logger, CancellationToken cancellationToken)
175
internal async Task<string> GenerateParamsFileAsync(
ILogger
logger, CancellationToken cancellationToken)
185
internal async Task BuildBootstrapProjectAsync(
ILogger
logger, CancellationToken cancellationToken)
CommandProcessorOptions.cs (4)
44
public
ILogger
Logger { get; private set; }
135
internal static async Task<CommandProcessorOptions> ParseArgumentsAsync(string[] args,
ILogger
logger, CancellationToken cancellationToken)
248
internal async Task ProcessBasicOptionsAsync(
ILogger
logger, CancellationToken cancellation)
990
internal async Task SetupBootstrappingDirectoryAsync(
ILogger
logger, CancellationToken cancellationToken)
Shared\MSBuildProj.cs (14)
154
public static async Task<MSBuildProj> FromPathAsync(string filePath,
ILogger
logger, CancellationToken cancellationToken)
161
internal static async Task<MSBuildProj> FromPathAsync(string filePath,
ILogger
logger, string tfMoniker, CancellationToken cancellationToken)
168
public static async Task<MSBuildProj> ParseAsync(string projectText, string projectFullPath,
ILogger
logger, CancellationToken cancellationToken, string tfMoniker = "")
377
public static async Task<MSBuildProj> DotNetNewAsync(string fullPath,
ILogger
logger, CancellationToken cancellationToken, string optional = "")
696
public async Task SaveAsync(bool force,
ILogger
logger, CancellationToken cancellationToken)
702
public async Task SaveAsync(
ILogger
logger, CancellationToken cancellationToken)
728
public async Task<ProcessRunner.ProcessResult> RestoreAsync(
ILogger
logger, CancellationToken cancellationToken)
748
public async Task<ProcessRunner.ProcessResult> BuildAsync(bool restore,
ILogger
logger, CancellationToken cancellationToken)
757
public async Task<ProcessRunner.ProcessResult> BuildAsync(
ILogger
logger, CancellationToken cancellationToken)
767
public async Task<IEnumerable<ProjectDependency>> ResolveProjectReferencesAsync(IEnumerable<ProjectDependency> excludeDependencies,
ILogger
logger, CancellationToken cancellationToken)
800
private async Task<List<ProjectDependency>> ResolvePackageReferencesAsync(
ILogger
logger, CancellationToken cancellationToken)
878
private async Task<List<ProjectDependency>> ResolveAssemblyReferencesAsync(
ILogger
logger, CancellationToken cancellationToken)
966
public async Task<IEnumerable<KeyValuePair<string, string>>> ResolveProperyValuesAsync(IEnumerable<string> propertyNames,
ILogger
logger, CancellationToken cancellationToken)
1005
private async Task<string> ResolveDepsFilePathFromBuildConfigAsync(string outputPath,
ILogger
logger, CancellationToken cancellationToken)
Shared\ProjectPropertyResolver.cs (4)
23
public async Task<Dictionary<string, string>> EvaluateProjectPropertiesAsync(string projectPath, string targetFramework, IEnumerable<string> propertyNames, IDictionary<string, string> globalProperties,
ILogger
logger, CancellationToken cancellationToken)
117
public static async Task<string> GetSdkVersionAsync(string workingDirectory,
ILogger
logger, CancellationToken cancellationToken)
137
public static async Task<string> GetSdkPathAsync(string workingDirectory,
ILogger
logger, CancellationToken cancellationToken)
171
private async Task<Assembly> LoadMSBuildAssembliesAsync(string sdkPath,
ILogger
logger, CancellationToken cancellationToken)
Shared\Utilities\PathHelper.cs (4)
203
public static async Task<string> TryCopyFileIfFoundAsync(string fileName, string workingDirectory, string destinationDir,
ILogger
logger, CancellationToken cancellationToken)
228
public static async Task<string> TryFindFileAsync(string fileName, string workingDir,
ILogger
logger, CancellationToken cancellationToken)
233
public static async Task<string> TryFindFolderAsync(string folderName, string workingDir,
ILogger
logger, CancellationToken cancellationToken)
238
private static async Task<string> TryFindItemAsync(Func<string, IEnumerable<string>> EnumerateItems, string itemName, string workingDir,
ILogger
logger, CancellationToken cancellationToken)
Shared\Utilities\ProcessRunner.cs (5)
33
public static async Task<ProcessResult> RunAsync(string processName, string processArgs, string currentDir,
ILogger
logger, CancellationToken cancellationToken)
38
public static async Task<ProcessResult> RunAsync(string processName, string processArgs, string currentDir, bool redirectOutput,
ILogger
logger, CancellationToken cancellationToken)
43
public static async Task<ProcessResult> TryRunAsync(string processName, string processArgs, string currentDir,
ILogger
logger, CancellationToken cancellationToken)
47
public static async Task<ProcessResult> RunAsync(string processName, string processArgs, string currentDir, bool redirectOutput, bool throwOnError,
ILogger
logger, CancellationToken cancellationToken)
53
public static async Task<ProcessResult> RunAsync(string processName, string processArgs, string currentDir, bool redirectOutput, bool throwOnError, IDictionary<string, string> environmentVariables,
ILogger
logger, CancellationToken cancellationToken)
Shared\Utilities\RuntimeEnvironmentHelper.cs (2)
45
public static async Task TryCopyingConfigFiles(string workingDirectory, string destinationDirectory,
ILogger
logger, CancellationToken cancellationToken)
69
public static async Task<bool> TryAddSvcutilNuGetFeedAsync(string nugetConfigPath, string packageFeed,
ILogger
logger, CancellationToken cancellationToken)
Shared\Utilities\SafeLogger.cs (3)
15
public
ILogger
logger { get; private set; }
17
public SafeLogger(
ILogger
logger)
34
public static async Task<SafeLogger> WriteStartOperationAsync(
ILogger
logger, string message, bool logToUI = false)
Tool.cs (2)
76
internal static async Task<int> MainAsync(string[] args,
ILogger
logger, CancellationToken cancellationToken)
313
private static async Task GenerateParamsFileAsync(CommandProcessorOptions options,
ILogger
logger, CancellationToken cancellationToken)