/// <summary>
 /// Init with optional document and stylesheet.
 /// </summary>
 /// <param name="htmlSource">the html to init with, init empty if not given</param>
 /// <param name="baseCssData">optional: the stylesheet to init with, init default if not given</param>
 public void SetResourceServer(IResourceServer resourceServer)
 {
     _htmlContainerInt.SetResoureServer(resourceServer);
 }
 /// <summary>
 /// Init with optional document and stylesheet.
 /// </summary>
 /// <param name="htmlSource">the html to init with, init empty if not given</param>
 /// <param name="baseCssData">optional: the stylesheet to init with, init default if not given</param>
 public Task SetResourceServerAsync(IResourceServer resourceServer)
 {
     return(_htmlContainerInt.SetResoureServer(resourceServer));
 }