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); }
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); }
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); }
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); }