@@ -980,13 +980,17 @@ public OneBoundedSetup(ActorSystem system, params IGraphStageWithMaterializedVal
980
980
}
981
981
}
982
982
983
+ #pragma warning disable CS0618 // Type or member is obsolete
983
984
public PushPullGraphStage < TIn , TOut > ToGraphStage < TIn , TOut > ( IStage < TIn , TOut > stage )
985
+ #pragma warning restore CS0618 // Type or member is obsolete
984
986
{
985
987
var s = stage ;
986
988
return new PushPullGraphStage < TIn , TOut > ( _ => s , Attributes . None ) ;
987
989
}
988
990
991
+ #pragma warning disable CS0618 // Type or member is obsolete
989
992
public IGraphStageWithMaterializedValue < Shape , object > [ ] ToGraphStage < TIn , TOut > ( IStage < TIn , TOut > [ ] stages )
993
+ #pragma warning restore CS0618 // Type or member is obsolete
990
994
{
991
995
return stages . Select ( ToGraphStage ) . Cast < IGraphStageWithMaterializedValue < Shape , object > > ( ) . ToArray ( ) ;
992
996
}
@@ -1015,15 +1019,19 @@ public void WithTestSetup(
1015
1019
spec ( setup , setup . Builder , setup . LastEvents ) ;
1016
1020
}
1017
1021
1022
+ #pragma warning disable CS0618 // Type or member is obsolete
1018
1023
public void WithOneBoundedSetup < T > ( IStage < T , T > op ,
1024
+ #pragma warning restore CS0618 // Type or member is obsolete
1019
1025
Action
1020
1026
< Func < ISet < OneBoundedSetup . ITestEvent > > , OneBoundedSetup . UpstreamOneBoundedProbe < T > ,
1021
1027
OneBoundedSetup . DownstreamOneBoundedPortProbe < T > > spec )
1022
1028
{
1023
1029
WithOneBoundedSetup < T > ( ToGraphStage ( op ) , spec ) ;
1024
1030
}
1025
1031
1032
+ #pragma warning disable CS0618 // Type or member is obsolete
1026
1033
public void WithOneBoundedSetup < T > ( IStage < T , T > [ ] ops ,
1034
+ #pragma warning restore CS0618 // Type or member is obsolete
1027
1035
Action
1028
1036
< Func < ISet < OneBoundedSetup . ITestEvent > > , OneBoundedSetup . UpstreamOneBoundedProbe < T > ,
1029
1037
OneBoundedSetup . DownstreamOneBoundedPortProbe < T > > spec )
0 commit comments