public void CreateTransformer()
        {
            XmlSerializerTransformer xmlTransformer = new XmlSerializerTransformer();
            // just a fake out to test the transformer
            RuntimeConfigurationView configurationView = new RuntimeConfigurationView(Context);

            xmlTransformer.CurrentSectionName = "ApplConfig1";
            xmlTransformer.Initialize(configurationView);
            transformer = xmlTransformer;
        }
 public void CreateTypedTest()
 {
     using (ConfigurationContext configurationContext = CreateConfigurationContext(typedXmlString))
     {
         TransformerFactory factory     = new TransformerFactory(configurationContext);
         ITransformer       transformer = factory.Create("TypedConfig");
         Assert.IsNotNull(transformer);
         XmlSerializerTransformer xmlTransformer = transformer as XmlSerializerTransformer;
         Assert.IsNotNull(xmlTransformer);
         Assert.AreEqual(1, xmlTransformer.GetTypes().Length);
     }
 }
 public void CreateTransformer()
 {
     XmlSerializerTransformer xmlTransformer = new XmlSerializerTransformer();
     // just a fake out to test the transformer
     RuntimeConfigurationView configurationView = new RuntimeConfigurationView(Context);
     xmlTransformer.CurrentSectionName = "ApplConfig1";
     xmlTransformer.Initialize(configurationView);
     transformer = xmlTransformer;
 }