Exemplo n.º 1
0
 /// <summary>
 /// Helper to deal with casting
 /// </summary>
 /// <param name="element"></param>
 /// <returns></returns>
 public FrameworkElement Render(TypedElement element)
 {
     return(this.ElementRenderers.Get(element.GetType())(element, this));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Helper to deal with casting
 /// </summary>
 /// <param name="element"></param>
 /// <returns></returns>
 public HtmlTag Render(TypedElement element)
 {
     return(this.ElementRenderers.Get(element.GetType())(element, this));
 }