Example #1
0
        void AddBinding(TreeNode endpointNode, System.ServiceModel.Channels.Binding binding)
        {
            string bindingName = ExtractTypeName(binding.GetType());

            TreeNode bindingNode = new BindingNode(this, binding, bindingName, BindingIndex, BindingIndex);

            endpointNode.Nodes.Add(bindingNode);
        }
Example #2
0
        void AddBinding(TreeNode endpointNode, System.ServiceModel.Channels.Binding binding)
        {
            string bindingName;

            if (IsServiceBusAddress(m_MexAddressTextBox.Text))
            {
                if (binding.GetType() == typeof(CustomBinding))
                {
                    bindingName = (binding.Name.Split('_'))[0];
                }
                else
                {
                    bindingName = ExtractTypeName(binding.GetType());
                }
            }
            else
            {
                bindingName = ExtractTypeName(binding.GetType());
            }

            TreeNode bindingNode = new BindingNode(this, binding, bindingName, BindingIndex, BindingIndex);

            endpointNode.Nodes.Add(bindingNode);
        }
Example #3
0
      void AddBinding(TreeNode endpointNode,System.ServiceModel.Channels.Binding binding)
      {
         string bindingName;

         if(IsServiceBusAddress(m_MexAddressTextBox.Text))
         {
            if(binding.GetType() == typeof(CustomBinding))
            {
               bindingName = (binding.Name.Split('_'))[0];
            }
            else
            {
               bindingName = ExtractTypeName(binding.GetType());
            }
         }
         else
         {
            bindingName = ExtractTypeName(binding.GetType());
         }

         TreeNode bindingNode = new BindingNode(this,binding,bindingName,BindingIndex,BindingIndex);
         endpointNode.Nodes.Add(bindingNode);
      }
Example #4
0
      void AddBinding(TreeNode endpointNode,System.ServiceModel.Channels.Binding binding)
      {
         string bindingName = ExtractTypeName(binding.GetType());

         TreeNode bindingNode = new BindingNode(this,binding,bindingName,BindingIndex,BindingIndex);
         endpointNode.Nodes.Add(bindingNode);
      }