コード例 #1
0
        private string GetProtocolTransportName(TProtocol proto)
        {
            var name = Transport.GetType().Name;

            if (name.Equals(MemBuffer.GetType().Name))
            {
                name = string.Empty;
            }
            else
            {
                name = " + " + name;
            }

            name = proto.GetType().Name + name;
            return(name);
        }