Skip to content

Commit 81e4dbb

Browse files
committed
- resource string
1 parent 8dd23fa commit 81e4dbb

3 files changed

Lines changed: 13 additions & 13 deletions

File tree

Shuttle.Recall/EventProcessing/EventProcessor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ private async Task<Projection> AddProjectionAsync(string name, bool sync)
169169

170170
if (Started)
171171
{
172-
throw new EventProcessingException(Resources.ExceptionEventProcessorStarted);
172+
throw new EventProcessingException(Resources.AddProjectionEventProcessorStartedException);
173173
}
174174

175175
if (_projections.ContainsKey(name))

Shuttle.Recall/Resources.Designer.cs

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Shuttle.Recall/Resources.resx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,9 @@
117117
<resheader name="writer">
118118
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
119119
</resheader>
120+
<data name="AddProjectionEventProcessorStartedException" xml:space="preserve">
121+
<value>Cannot add projections after the event processor has been started.</value>
122+
</data>
120123
<data name="AggregateConstructorException" xml:space="preserve">
121124
<value>Could not create an aggregate of type '{0}'. Ensure that there is a constructor that takes only the `Guid` identifier as a parameter.</value>
122125
<comment>{0} = type of the aggregate</comment>
@@ -157,9 +160,6 @@
157160
<value>The event stream for id '{0}' already at version '{1}' and cannot insert the new event. The event will be ignored and be added to the event stream again as a newer version.</value>
158161
<comment>{0} = event stream id, {1} = existing version</comment>
159162
</data>
160-
<data name="ExceptionEventProcessorStarted" xml:space="preserve">
161-
<value>The event processor has already been started.</value>
162-
</data>
163163
<data name="ExceptionInvalidProjectionRelease" xml:space="preserve">
164164
<value>Cannot release the projection since it either has not been assigned for processing or it has been assigned using another queue identifier.</value>
165165
</data>

0 commit comments

Comments
 (0)