SenseNet.ContentRepository.DistributedApplication.GetChannelProviderType C# (CSharp) 메소드

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

private static GetChannelProviderType ( ) : Type
리턴 System.Type
        private static Type GetChannelProviderType()
        {
            string channelProviderTypeName = ConfigurationManager.AppSettings["ClusterChannelProvider"];
            //TODO localize error message
            if (string.IsNullOrEmpty(channelProviderTypeName))
                return typeof(VoidChannel);

            Type channelAdapterType = SenseNet.ContentRepository.Storage.TypeHandler.GetType(channelProviderTypeName);
            if (channelAdapterType == null)
                throw new ArgumentException("ClusterChannelProvider is not correctly configured.");
            return channelAdapterType;
        }