System.Runtime.Remoting.RemotingConfigHandler.CreateClientChannelSinkProviderChain C# (CSharp) 메소드

CreateClientChannelSinkProviderChain() 개인적인 정적인 메소드

private static CreateClientChannelSinkProviderChain ( ArrayList entries ) : IClientChannelSinkProvider
entries System.Collections.ArrayList
리턴 IClientChannelSinkProvider
        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