File tree Expand file tree Collapse file tree 2 files changed +216
-211
lines changed
src/ServiceControl/Recoverability/Retrying/Infrastructure Expand file tree Collapse file tree 2 files changed +216
-211
lines changed Original file line number Diff line number Diff line change 1- namespace ServiceControl . Recoverability
1+ namespace ServiceControl . Recoverability ;
2+
3+ using System ;
4+
5+ class ErrorQueueNameCache
26{
3- using System ;
7+ string resolvedErrorAddress ;
48
5- class ErrorQueueNameCache
9+ public string ResolvedErrorAddress
610 {
7- string resolvedErrorAddress ;
8-
9- public string ResolvedErrorAddress
11+ get
1012 {
11- get
13+ if ( string . IsNullOrEmpty ( resolvedErrorAddress ) )
1214 {
13- if ( string . IsNullOrEmpty ( resolvedErrorAddress ) )
14- {
15- throw new InvalidOperationException ( $ "{ nameof ( ResolvedErrorAddress ) } is not set. Please set it before accessing.") ;
16- }
17-
18- return resolvedErrorAddress ;
15+ throw new InvalidOperationException ( $ "{ nameof ( ResolvedErrorAddress ) } is not set. Please set it before accessing.") ;
1916 }
20- set => resolvedErrorAddress = value ;
17+
18+ return resolvedErrorAddress ;
2119 }
20+ set => resolvedErrorAddress = value ;
2221 }
2322}
You can’t perform that action at this time.
0 commit comments