AW.Webapi.Sample.Areas.HelpPage.ImageSample.ImageSample C# (CSharp) Method

ImageSample() public method

Initializes a new instance of the ImageSample class.
public ImageSample ( string src ) : System
src string The URL of an image.
return System
        public ImageSample(string src)
        {
            if (src == null)
            {
                throw new ArgumentNullException("src");
            }
            Src = src;
        }