예제 #1
0
        void AddContract(TreeNode endpointNode, ContractDescription contract)
        {
            TreeNode contractNode = new ContractNode(this, contract, contract.Name, ContractIndex, ContractIndex);

            endpointNode.Nodes.Add(contractNode);

            foreach (OperationDescription operation in contract.Operations)
            {
                AddOperation(contractNode, operation);
            }
        }
예제 #2
0
       void AddContract(TreeNode endpointNode,ContractDescription contract)
      {
         TreeNode contractNode = new ContractNode(this,contract,contract.Name,ContractIndex,ContractIndex);
         endpointNode.Nodes.Add(contractNode);

         foreach(OperationDescription operation in contract.Operations)
         {
            AddOperation(contractNode,operation);
         }
      }