private static IClientChannelSinkProvider CreateClientChannelSinkProviderChain(ArrayList entries)
{
IClientChannelSinkProvider chain = null;
IClientChannelSinkProvider current = null;
foreach (RemotingXmlConfigFileData.SinkProviderEntry entry in entries)
{
if (chain == null)
{
chain = (IClientChannelSinkProvider)CreateChannelSinkProvider(entry, false);
current = chain;
}
else
{
current.Next = (IClientChannelSinkProvider)CreateChannelSinkProvider(entry, false);
current = current.Next;
}
}
return chain;
} // CreateClientChannelSinkProviderChain