File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed
Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ public static bool IsEventType(this Type type)
2222 return false ;
2323 }
2424
25- return type . GetCustomAttribute < EventTypeAttribute > ( ) != null ;
25+ return Attribute . IsDefined ( type , typeof ( EventTypeAttribute ) ) ;
2626 }
2727
2828 /// <summary>
Original file line number Diff line number Diff line change @@ -39,14 +39,11 @@ public Task StartAsync(CancellationToken cancellationToken)
3939
4040 builder . Host
4141 . AddCratisArc (
42- builder =>
42+ options =>
4343 {
44- builder . ConfigureOptions = options =>
45- {
46- options . CorrelationId = workbenchOptions . Value . ArcOptions . CorrelationId ;
47- options . Tenancy = workbenchOptions . Value . ArcOptions . Tenancy ;
48- options . IdentityDetailsProvider = workbenchOptions . Value . ArcOptions . IdentityDetailsProvider ;
49- } ;
44+ options . CorrelationId = workbenchOptions . Value . ArcOptions . CorrelationId ;
45+ options . Tenancy = workbenchOptions . Value . ArcOptions . Tenancy ;
46+ options . IdentityDetailsProvider = workbenchOptions . Value . ArcOptions . IdentityDetailsProvider ;
5047 } ) ;
5148
5249 builder . Services . AddCratisChronicleApi ( ) ;
You can’t perform that action at this time.
0 commit comments