Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ DefaultOrClone()

new ExecutionDataflowBlockOptions System.Threading.Tasks.Dataflow.ExecutionDataflowBlockOptions.DefaultOrClone ( )
inlinepackage

Definition at line 66 of file ExecutionDataflowBlockOptions.cs.

67 {
68 if (this != Default)
69 {
70 return new ExecutionDataflowBlockOptions
71 {
74 MaxMessagesPerTask = base.MaxMessagesPerTask,
75 BoundedCapacity = base.BoundedCapacity,
76 NameFormat = base.NameFormat,
77 EnsureOrdered = base.EnsureOrdered,
80 };
81 }
82 return this;
83 }
CancellationToken(CancellationTokenSource source)

References System.Threading.CancellationToken.CancellationToken(), System.Threading.Tasks.TaskScheduler.TaskScheduler(), System.Threading.Tasks.Dataflow.DataflowBlockOptions.BoundedCapacity, System.Threading.Tasks.Dataflow.ExecutionDataflowBlockOptions.Default, System.Threading.Tasks.Dataflow.DataflowBlockOptions.EnsureOrdered, System.Threading.Tasks.Dataflow.ExecutionDataflowBlockOptions.MaxDegreeOfParallelism, System.Threading.Tasks.Dataflow.DataflowBlockOptions.MaxMessagesPerTask, System.Threading.Tasks.Dataflow.DataflowBlockOptions.NameFormat, and System.Threading.Tasks.Dataflow.ExecutionDataflowBlockOptions.SingleProducerConstrained.