mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-16 17:10:20 -10:00
28 lines
539 B
C#
28 lines
539 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using System.ServiceModel.Channels;
|
|
using System.ServiceModel;
|
|
|
|
namespace System.ServiceModel.Dispatcher
|
|
{
|
|
internal class ReplyHandler : BaseRequestProcessorHandler
|
|
{
|
|
IDuplexChannel duplex;
|
|
|
|
public ReplyHandler (IChannel channel)
|
|
{
|
|
duplex = channel as IDuplexChannel;
|
|
}
|
|
|
|
protected override bool ProcessRequest (MessageProcessingContext mrc)
|
|
{
|
|
if (duplex != null)
|
|
mrc.Reply (duplex, true);
|
|
else
|
|
mrc.Reply (true);
|
|
return false;
|
|
}
|
|
}
|
|
}
|