예제 #1
0
        public void ReadOnlyErrorOnNodeDelete()
        {
            var conf = new Azos.Conf.XMLConfiguration();

            conf.Create();
            conf.Root.AddChildNode("A", null);
            conf.SetReadOnly(true);
            conf.Root["A"].Delete();
        }
예제 #2
0
        public void ReadOnlyErrorOnNodeRename()
        {
            var conf = new Azos.Conf.XMLConfiguration();

            conf.Create();
            conf.Root.AddChildNode("A", null);
            conf.SetReadOnly(true);
            conf.Root.Name = "changed-name";
        }