Skip to content

Commit

Permalink
Update code.
Browse files Browse the repository at this point in the history
  • Loading branch information
ms-teli committed Aug 21, 2023
1 parent 27ca886 commit 7e65960
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Fhir.Liquid.Converter.sln
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30413.136
# Visual Studio Version 17
VisualStudioVersion = 17.7.34009.444
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Health.Fhir.Liquid.Converter.Tool", "src\Microsoft.Health.Fhir.Liquid.Converter.Tool\Microsoft.Health.Fhir.Liquid.Converter.Tool.csproj", "{A9FCA2DD-E891-407D-BC34-048459D9CF74}"
EndProject
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,17 @@ namespace Microsoft.Health.Fhir.Liquid.Converter.Processors
{
public abstract class BaseProcessor : IFhirConverter
{
private readonly ITelemetryLogger _telemetryLogger;

protected BaseProcessor(ProcessorSettings processorSettings, ITelemetryLogger telemetryLogger)
{
Settings = EnsureArg.IsNotNull(processorSettings, nameof(processorSettings));
TelemetryLogger = EnsureArg.IsNotNull(telemetryLogger, nameof(telemetryLogger));
_telemetryLogger = EnsureArg.IsNotNull(telemetryLogger, nameof(telemetryLogger));
}

public ProcessorSettings Settings { get; }

protected readonly ITelemetryLogger TelemetryLogger;
protected ITelemetryLogger TelemetryLogger { get => _telemetryLogger; }

protected virtual string DataKey { get; set; } = "msg";

Expand Down

0 comments on commit 7e65960

Please sign in to comment.