Ejemplo n.º 1
0
 static void CovertFeatureFile(string featureFile, string mmFile)
 {
     FeatureSet featureSet = new FeatureSet();
     featureSet.Load(featureFile);
     XmlDocument xmlDoc = featureSet.ToXmlDocument();
     xmlDoc.Save(mmFile);
 }
Ejemplo n.º 2
0
 static void ConvertFeatureFolder(string featuresFolder, string mmFile)
 {
     string[] files = Directory.GetFiles(featuresFolder, "*.feature", SearchOption.AllDirectories);
     FeatureSet featureSet = new FeatureSet();
     foreach (string file in files)
     {
         FeatureSet temp = new FeatureSet();
         temp.Load(file);
         featureSet.Merge(temp);
     }
     XmlDocument xmlDoc = featureSet.ToXmlDocument();
     xmlDoc.Save(mmFile);
 }