示例#1
0
        public void AddTest()
        {
            Assert.Inconclusive("TBA");
            Dictionary <string, AssemblyName> me = null; // TODO: Initialize to an appropriate value
            AssemblyName assemblyname            = null; // TODO: Initialize to an appropriate value

            DictionaryExtensions.Add(me, assemblyname);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }
示例#2
0
    /// <summary>
    /// Returns a dictionary of tree nodes by node name.
    /// </summary>
    /// <param name="nodes"></param>
    /// <returns></returns>
    static Dictionary <string, List <TreeNode> > ToNodeDictionary(TreeNodeCollection nodes)
    {
        Dictionary <string, List <TreeNode> > dict = new Dictionary <string, List <TreeNode> >();

        foreach (TreeNode node in nodes)
        {
            DictionaryExtensions.Add(dict, node.Name, node);
        }
        return(dict);
    }