示例#1
0
        public void StartLogging()
        {
            SerializationDocument = CommandSerializer.CreateEmptySerializationDocument();

            LoggingStarted = true;
            InvokeStateChanged();
        }
        public void TestSerialization()
        {
            Project sampleProject = TestUtils.CreateSampleProject();

            Controller.Controller c       = new Controller.Controller(sampleProject);
            cmdDeletePIMAttribute command = new cmdDeletePIMAttribute(c);

            command.Set(sampleProject.SingleVersion.PIMSchema.PIMAttributes[0]);

            XDocument document = CommandSerializer.CreateEmptySerializationDocument();

            //ser.Serialize(command, rootElement);
            //ser.Serialize(command, rootElement);
            //ser.Serialize(command, rootElement);
            Assert.Inconclusive();
            //document.Save("TestCommandSerialization.xml");
        }