C# Class Microsoft.PowerBI.AspNet.WebForms.UI.WebControls.Embed

Base class for all Power BI embed controls
Inheritance: System.Web.UI.WebControls.WebControl
ファイルを表示 Open project: Microsoft/PowerBI-CSharp

Protected Methods

Method Description
AddAttributesToRender ( System.Web.UI.HtmlTextWriter writer ) : void

CanRender ( ) : bool

Specifies whether this component can render

Embed ( ) : System

Creates a new instance of the embed control

GetAccessToken ( ) : string

Gets the access token for this component

GetEmbedUrl ( ) : string

Gets the embed url for this component

OnPreRender ( EventArgs e ) : void

Raises the E:System.Web.UI.Control.PreRender event.

Render ( System.Web.UI.HtmlTextWriter writer ) : void

Renders the control to the specified HTML writer.

RenderContents ( System.Web.UI.HtmlTextWriter writer ) : void

Renders the contents of the control to the specified writer. This method is used primarily by control developers.

Private Methods

Method Description
RegisterScripts ( ) : void

Method Details

AddAttributesToRender() protected method

protected AddAttributesToRender ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter
return void

CanRender() protected method

Specifies whether this component can render
protected CanRender ( ) : bool
return bool

Embed() protected method

Creates a new instance of the embed control
protected Embed ( ) : System
return System

GetAccessToken() protected method

Gets the access token for this component
protected GetAccessToken ( ) : string
return string

GetEmbedUrl() protected abstract method

Gets the embed url for this component
protected abstract GetEmbedUrl ( ) : string
return string

OnPreRender() protected method

Raises the E:System.Web.UI.Control.PreRender event.
protected OnPreRender ( EventArgs e ) : void
e System.EventArgs An object that contains the event data.
return void

Render() protected method

Renders the control to the specified HTML writer.
protected Render ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter The object that receives the control content.
return void

RenderContents() protected method

Renders the contents of the control to the specified writer. This method is used primarily by control developers.
protected RenderContents ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter A that represents the output stream to render HTML content on the client.
return void