Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
LinkTo< TOutput >()
[2/3]
static
IDisposable
System.Threading.Tasks.Dataflow.DataflowBlock.LinkTo< TOutput >
(
this
ISourceBlock
< TOutput >
source
,
ITargetBlock
< TOutput >
target
,
DataflowLinkOptions
linkOptions
,
Predicate< TOutput >
predicate
)
inline
static
Definition at line
1249
of file
DataflowBlock.cs
.
1250
{
1251
if
(
source
==
null
)
1252
{
1253
throw
new
ArgumentNullException(
"source"
);
1254
}
1255
if
(target ==
null
)
1256
{
1257
throw
new
ArgumentNullException(
"target"
);
1258
}
1259
if
(
linkOptions
==
null
)
1260
{
1261
throw
new
ArgumentNullException(
"linkOptions"
);
1262
}
1263
if
(predicate ==
null
)
1264
{
1265
throw
new
ArgumentNullException(
"predicate"
);
1266
}
1267
FilteredLinkPropagator<TOutput>
target2
=
new
FilteredLinkPropagator<TOutput>
(
source
, target, predicate);
1268
return
source
.LinkTo(
target2
,
linkOptions
);
1269
}
System.Collections.Generic.Dictionary
Definition
Dictionary.cs:14
System.ExceptionArgument.source
@ source
References
System.source
.
System
Threading
Tasks
Dataflow
DataflowBlock
Generated by
1.10.0