Esempio n. 1
0
 /// <summary>
 /// Init.
 /// </summary>
 /// <param name="src">the source of the image (file path or uri)</param>
 /// <param name="attributes">collection of all the attributes that are defined on the image element</param>
 /// <param name="callback">Callback used to allow setting image externally and async.</param>
 internal HtmlImageLoadEventArgs(string src, Dictionary <string, string> attributes,
                                 HtmlImageLoadCallback callback)
 {
     _src        = src;
     _attributes = attributes;
     _callback   = callback;
 }
 /// <summary>
 /// Init.
 /// </summary>
 /// <param name="src">the source of the image (file path or Uri)</param>
 /// <param name="attributes">collection of all the attributes that are defined on the image element</param>
 /// <param name="callback">Callback used to allow setting image externally and async.</param>
 internal HtmlImageLoadEventArgs(string src, Dictionary<string, string> attributes, HtmlImageLoadCallback callback)
 {
     _src = src;
     _attributes = attributes;
     _callback = callback;
 }