class RenderTreeBuilder
in global :: Microsoft . AspNetCore . Components . Rendering
This is a tree renderer for panels. If we ever use razor on other ui we'll want to make a copy of this class and do the specific things to that.
public void AddLocation( string filename, int line, int column )
Add the current source location. Used to record in which file the element was created.
public void OpenElement( int sequence, string elementName, object key = null )
Start working on this element
public void AddAttribute( int sequence, string attrName, object value )
Handles "style" and "class" attributes..
public void AddStyleDefinitions( int sequence, string styles )
Styles from a style block
public void AddAttribute( int sequence, string attrName, Action value )
Handles @onclick=@( () => DoSomething( "boobies" ) )
public void AddMarkupContent( int sequence, string markupContent )
Add markup to the current element
public string ToString( )
😔 No documentation found.
public Type GetType( )
😔 No documentation found.
public void AddBind( int sequence, string propertyName, Func<T> get, Action<T> set )
😔 No documentation found.
public void AddAttribute( int sequence, object value, Action<T> setter )
😔 No documentation found.
public void OpenElement( int sequence, object key )
😔 No documentation found.
public void OpenElement( int sequence )
😔 No documentation found.
public void AddAttribute( int sequence, string attrName, Action<PanelEvent> value )
😔 No documentation found.
public void AddAttribute( int sequence, string attrName, Func<Task> value )
😔 No documentation found.
public int GetHashCode( )
😔 No documentation found.
public bool Equals( object obj )
😔 No documentation found.
public void CloseComponent( )
😔 No documentation found.
public void OpenComponent( int sequence )
😔 No documentation found.
public void SetRenderFragmentWithContext( Func<T,RenderFragment<U>> getter, Action<T,RenderFragment<U>> setter, RenderFragment<U> builder )
😔 No documentation found.
public void SetRenderFragment( Action<T,RenderFragment> setter, RenderFragment builder )
😔 No documentation found.
public void AddReferenceCapture( int sequence, T current, Action<T> value )
😔 No documentation found.
public void AddContent( int sequence, T content )
😔 No documentation found.
public void CloseElement( )
😔 No documentation found.
public void AddAttribute( int sequence, Action<T> value )
😔 No documentation found.
public void OpenElement( int sequence, string elementName )
😔 No documentation found.
public void AddAttribute( int sequence, string name, EventCallback<TArgument> value )
😔 No documentation found.
public void AddComponentParameter( int sequence, string parameterName, object value )
😔 No documentation found.