Ejemplo n.º 1
0
        public void StartLogging()
        {
            SerializationDocument = CommandSerializer.CreateEmptySerializationDocument();

            LoggingStarted = true;
            InvokeStateChanged();
        }
Ejemplo n.º 2
0
        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");
        }