using System.Xml.Serialization;
namespace Soundfingerprinting.SoundTools.Misc
{
[XmlRoot("Results")]
public class DumpResults
{
public DumpResults()
{
Results = new Results();
Info = new Info();
}
[XmlElement("Information")]
public Info Info { get; set; }
[XmlElement("Results")]
public Results Results { get; set; }
public bool ComparisonDone { get; set; }
public double SumJaqFingerprintSimilarityBetweenDiffertSongs { get; set; }
public double AverageJaqFingerprin
tsSimilarityBetweenDifferentSongs { get; set; }
public double MaxJaqFingerprintsSimilarityBetweenDifferentSongs { get; set; }
}
public class Info
{
[XmlAttribute("File")]
public string Filename { get; set; }
public int MinFrequency { get; set; }
public int TopWavelets { get; set; }
public int StrideSize { get; set; }
public bool RandomStride { get; set; }
}
public class Results
{
public double SumJaqFingerprintsSimilarity { get; set; }
public double AverageJaqFingerprintSimilarity { get; set; }
public double MaxJaqFingerprintSimilarity { get; set; }
public double SumIdenticalMinHash { get; set; }
public double AverageIdenticalMinHash { get; set; }
public double SumJaqLSHBucketSimilarity { get; set; }
public double AverageJaqLSHBucketSimilarity { get; set; }
public int TotalIdenticalLSHBuckets { get; set; }
}
}
this above file is saved as dumpresults.cs. there is another windows form .cs class in which this code given below is written:- DumpResults resultObj = new DumpResults(); what will happen on making the instance of DumpResults???
sakshi mittal