// // OpenCover - S Wilde // // This source code is released under the MIT License; see the accompanying license file. // using System; using System.Collections.Generic; using System.Xml.Serialization; namespace OpenCover.Framework.Model { /// /// The details of a module /// public class Module : SummarySkippedEntity { /// /// simple constructor /// public Module() { Aliases = new List(); } /// /// The full path name to the module /// public string ModulePath { get; set; } /// /// GetlastWriteTimeUtc /// public DateTime ModuleTime { get; set; } /// /// A list of aliases /// [XmlIgnore] public IList Aliases { get; private set; } /// /// The name of the module /// public string ModuleName { get; set; } /// /// The files that make up the module /// public File[] Files { get; set; } /// /// The classes that make up the module /// public Class[] Classes { get; set; } /// /// Methods that are being tracked i.e. test methods /// public TrackedMethod[] TrackedMethods { get; set; } /// /// A hash of the file used to group them together (especially when running against mstest) /// [XmlAttribute("hash")] public string ModuleHash { get; set; } /// /// Mark an entity as skipped /// /// Provide a reason public override void MarkAsSkipped(SkippedMethod reason) { SkippedDueTo = reason; } } }