@@ -133,44 +133,44 @@ public class BatchProcessorAttribute : UniversalWrapperAttribute
133
133
/// <summary>
134
134
/// Type of batch processor.
135
135
/// </summary>
136
- public Type BatchProcessor ;
136
+ public Type BatchProcessor { get ; set ; }
137
137
138
138
/// <summary>
139
139
/// Type of batch processor provider.
140
140
/// </summary>
141
- public Type BatchProcessorProvider ;
141
+ public Type BatchProcessorProvider { get ; set ; }
142
142
143
143
/// <summary>
144
144
/// Type of record handler.
145
145
/// </summary>
146
- public Type RecordHandler ;
146
+ public Type RecordHandler { get ; set ; }
147
147
148
148
/// <summary>
149
149
/// Type of record handler provider.
150
150
/// </summary>
151
- public Type RecordHandlerProvider ;
151
+ public Type RecordHandlerProvider { get ; set ; }
152
152
153
153
/// <summary>
154
154
/// Error handling policy.
155
155
/// </summary>
156
- public BatchProcessorErrorHandlingPolicy ErrorHandlingPolicy ;
156
+ public BatchProcessorErrorHandlingPolicy ErrorHandlingPolicy { get ; set ; }
157
157
158
158
/// <summary>
159
159
/// Batch processing enabled (default false)
160
160
/// </summary>
161
- public bool BatchParallelProcessingEnabled = PowertoolsConfigurations . Instance . BatchParallelProcessingEnabled ;
161
+ public bool BatchParallelProcessingEnabled { get ; set ; } = PowertoolsConfigurations . Instance . BatchParallelProcessingEnabled ;
162
162
163
163
/// <summary>
164
164
/// The maximum degree of parallelism to apply during batch processing.
165
165
/// Must enable BatchParallelProcessingEnabled
166
166
/// </summary>
167
- public int MaxDegreeOfParallelism = PowertoolsConfigurations . Instance . BatchProcessingMaxDegreeOfParallelism ;
167
+ public int MaxDegreeOfParallelism { get ; set ; } = PowertoolsConfigurations . Instance . BatchProcessingMaxDegreeOfParallelism ;
168
168
169
- /// <summary>
169
+ /// <summary>
170
170
/// By default, the Batch processor throws a <see cref="BatchProcessingException"/> on full batch failure.
171
- /// This behaviour can be disabled by setting this value to false.
171
+ /// This behaviour can be disabled by setting this value to false.
172
172
/// </summary>
173
- public bool ThrowOnFullBatchFailure = PowertoolsConfigurations . Instance . BatchThrowOnFullBatchFailureEnabled ;
173
+ public bool ThrowOnFullBatchFailure { get ; set ; } = PowertoolsConfigurations . Instance . BatchThrowOnFullBatchFailureEnabled ;
174
174
175
175
private static readonly Dictionary < Type , BatchEventType > EventTypes = new ( )
176
176
{
0 commit comments