Table of Contents

Class RenderEvent

Namespace
Bunit.Rendering
Assembly
Bunit.Core.dll

Represents an render event from a ITestRenderer.

public sealed class RenderEvent
Inheritance
RenderEvent
Inherited Members
Extension Methods

Constructors

RenderEvent()

public RenderEvent()

Properties

Frames

Gets a collection of ArrayRange<T>, accessible via the ID of the component they are created by.

public RenderTreeFrameDictionary Frames { get; }

Property Value

RenderTreeFrameDictionary

Methods

GetRenderStatus(IRenderedFragmentBase)

Gets the render status for a renderedComponent.

public (bool Rendered, bool Changed, bool Disposed) GetRenderStatus(IRenderedFragmentBase renderedComponent)

Parameters

renderedComponent IRenderedFragmentBase

The renderedComponent to get the status for.

Returns

(bool Rendered, bool Changed, bool Disposed)

A tuple of statuses indicating whether the rendered component rendered during the render cycle, if it changed or if it was disposed.

.NET Foundation

Supported by the .NET Foundation.