Table of Contents

Interface IRenderedFragmentBase

Namespace
Bunit
Assembly
Bunit.Core.dll

Represents a rendered RenderFragment.

public interface IRenderedFragmentBase : IDisposable
Inherited Members
Extension Methods

Properties

ComponentId

Gets the id of the rendered component or fragment.

int ComponentId { get; }

Property Value

int

IsDisposed

Gets a value indicating whether the rendered component or fragment has been disposed by the ITestRenderer.

bool IsDisposed { get; }

Property Value

bool

RenderCount

Gets the total number times the fragment has been through its render life-cycle.

int RenderCount { get; }

Property Value

int

Services

Gets the IServiceProvider used when rendering the component.

IServiceProvider Services { get; }

Property Value

IServiceProvider

Methods

OnRender(RenderEvent)

Called by the owning ITestRenderer when it finishes a render.

void OnRender(RenderEvent renderEvent)

Parameters

renderEvent RenderEvent

A RenderEvent that represents a render.

Events

OnAfterRender

Adds or removes an event handler that will be triggered after each render of this IRenderedFragmentBase.

event EventHandler OnAfterRender

Event Type

EventHandler
Progress Telerik

Premium sponsor: Progress Telerik.

Packt

Editorial support provided by Packt.

.NET Foundation

Supported by the .NET Foundation.