@@ -19,7 +19,7 @@ public static InjectOutcomePolicy InjectException(Action<InjectFaultOptions<Exce
19
19
var options = new InjectFaultOptions < Exception > ( ) ;
20
20
configureOptions ( options ) ;
21
21
22
- if ( options . Outcome == null ) throw new ArgumentNullException ( nameof ( options . Outcome ) ) ;
22
+ if ( options . OutcomeInternal == null ) throw new ArgumentNullException ( nameof ( options . OutcomeInternal ) ) ;
23
23
if ( options . InjectionRate == null ) throw new ArgumentNullException ( nameof ( options . InjectionRate ) ) ;
24
24
if ( options . Enabled == null ) throw new ArgumentNullException ( nameof ( options . Enabled ) ) ;
25
25
@@ -37,7 +37,7 @@ public static InjectOutcomePolicy<TResult> InjectResult<TResult>(Action<InjectFa
37
37
var options = new InjectFaultOptions < TResult > ( ) ;
38
38
configureOptions ( options ) ;
39
39
40
- if ( options . Outcome == null ) throw new ArgumentNullException ( nameof ( options . Outcome ) ) ;
40
+ if ( options . OutcomeInternal == null ) throw new ArgumentNullException ( nameof ( options . OutcomeInternal ) ) ;
41
41
if ( options . InjectionRate == null ) throw new ArgumentNullException ( nameof ( options . InjectionRate ) ) ;
42
42
if ( options . Enabled == null ) throw new ArgumentNullException ( nameof ( options . Enabled ) ) ;
43
43
@@ -55,7 +55,7 @@ public static InjectOutcomePolicy<TResult> InjectResult<TResult>(Action<InjectFa
55
55
var options = new InjectFaultOptions < Exception > ( ) ;
56
56
configureOptions ( options ) ;
57
57
58
- if ( options . Outcome == null ) throw new ArgumentNullException ( nameof ( options . Outcome ) ) ;
58
+ if ( options . OutcomeInternal == null ) throw new ArgumentNullException ( nameof ( options . OutcomeInternal ) ) ;
59
59
if ( options . InjectionRate == null ) throw new ArgumentNullException ( nameof ( options . InjectionRate ) ) ;
60
60
if ( options . Enabled == null ) throw new ArgumentNullException ( nameof ( options . Enabled ) ) ;
61
61
0 commit comments