File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
test/WorkflowCore.IntegrationTests/Scenarios Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -37,14 +37,14 @@ public class DiData
37
37
38
38
public class Dependency1
39
39
{
40
- public static int InstanceCounter = 0 ;
40
+ private static int InstanceCounter = 0 ;
41
41
42
42
public int Instance { get ; set ; } = ++ InstanceCounter ;
43
43
}
44
44
45
45
public class Dependency2
46
46
{
47
- public readonly Dependency1 dependency1 ;
47
+ public Dependency1 dependency1 { get ; private set ; }
48
48
49
49
public Dependency2 ( Dependency1 dependency1 )
50
50
{
@@ -54,8 +54,8 @@ public Dependency2(Dependency1 dependency1)
54
54
55
55
public class DiStep1 : StepBody
56
56
{
57
- public readonly Dependency1 dependency1 ;
58
- public readonly Dependency2 dependency2 ;
57
+ public Dependency1 dependency1 { get ; private set ; }
58
+ public Dependency2 dependency2 { get ; private set ; }
59
59
60
60
public DiStep1 ( Dependency1 dependency1 , Dependency2 dependency2 )
61
61
{
You can’t perform that action at this time.
0 commit comments