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

◆ Encapsulate< TInput, TOutput >()

static IPropagatorBlock< TInput, TOutput > System.Threading.Tasks.Dataflow.DataflowBlock.Encapsulate< TInput, TOutput > ( ITargetBlock< TInput > target,
ISourceBlock< TOutput > source )
inlinestatic

Definition at line 1497 of file DataflowBlock.cs.

1498 {
1499 if (target == null)
1500 {
1501 throw new ArgumentNullException("target");
1502 }
1503 if (source == null)
1504 {
1505 throw new ArgumentNullException("source");
1506 }
1508 }

References System.source.