using System; namespace Service.MeterProcessState.Areas.HelpPage { /// /// This represents an image sample on the help page. There's a display template named ImageSample associated with this class. /// public class ImageSample { /// /// Initializes a new instance of the class. /// /// The URL of an image. public ImageSample(String src) { if (src == null) { throw new ArgumentNullException("src"); } Src = src; } public String Src { get; private set; } public override Boolean Equals(Object obj) { ImageSample other = obj as ImageSample; return other != null && Src == other.Src; } public override Int32 GetHashCode() { return Src.GetHashCode(); } public override String ToString() { return Src; } } }