You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Basically, it's a good idea to start with predefined values (e.g. `EnvMode.RyuJitX64` and `RunMode.Dry` passed as constructor args) and modify rest of the properties using property setters or with help of object initializer syntax.
125
+
Basically, it's a good idea to start with predefined values (e.g. `EnvironmentMode.RyuJitX64` and `RunMode.Dry` passed as constructor args) and modify rest of the properties using property setters or with help of object initializer syntax.
126
126
127
127
Note that the job cannot be modified after it's added into config. Trying to set a value on property of the frozen job will throw an `InvalidOperationException`. Use the `Job.Frozen` property to determine if the code properties can be altered.
128
128
129
129
If you do want to create a new job based on frozen one (all predefined job values are frozen) you can use the `.With()` extension method
130
130
131
131
```cs
132
-
varnewJob=Job.Dry.With(Platform.X64);
132
+
varnewJob=Job.Dry.WithPlatform(Platform.X64);
133
133
```
134
134
135
135
or pass the frozen value as a constructor argument
0 commit comments