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

◆ DefaultOrClone()

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

Definition at line 54 of file GroupingDataflowBlockOptions.cs.

55 {
56 if (this != Default)
57 {
58 return new GroupingDataflowBlockOptions
59 {
62 MaxMessagesPerTask = base.MaxMessagesPerTask,
63 BoundedCapacity = base.BoundedCapacity,
64 NameFormat = base.NameFormat,
65 EnsureOrdered = base.EnsureOrdered,
66 Greedy = Greedy,
68 };
69 }
70 return this;
71 }
CancellationToken(CancellationTokenSource source)

References System.Threading.CancellationToken.CancellationToken(), System.Threading.Tasks.TaskScheduler.TaskScheduler(), System.Threading.Tasks.Dataflow.DataflowBlockOptions.BoundedCapacity, System.Threading.Tasks.Dataflow.GroupingDataflowBlockOptions.Default, System.Threading.Tasks.Dataflow.DataflowBlockOptions.EnsureOrdered, System.Threading.Tasks.Dataflow.GroupingDataflowBlockOptions.Greedy, System.Threading.Tasks.Dataflow.DataflowBlockOptions.MaxMessagesPerTask, System.Threading.Tasks.Dataflow.GroupingDataflowBlockOptions.MaxNumberOfGroups, and System.Threading.Tasks.Dataflow.DataflowBlockOptions.NameFormat.