Table of Contents

Class RenderTreeFrameDictionary

Namespace
Bunit.Rendering
Assembly
Bunit.Core.dll

Represents a dictionary of ArrayRange<T> keyed by the owning component's component id.

public sealed class RenderTreeFrameDictionary : IReadOnlyDictionary<int, ArrayRange<RenderTreeFrame>>, IReadOnlyCollection<KeyValuePair<int, ArrayRange<RenderTreeFrame>>>, IEnumerable<KeyValuePair<int, ArrayRange<RenderTreeFrame>>>, IEnumerable
Inheritance
RenderTreeFrameDictionary
Implements
Inherited Members
Extension Methods

Properties

Count

public int Count { get; }

Property Value

int

this[int]

Gets the ArrayRange<T> associated with the componentId.

public ArrayRange<RenderTreeFrame> this[int componentId] { get; }

Parameters

componentId int

Id of the component whose RenderTreeFrame to get.

Property Value

ArrayRange<RenderTreeFrame>

The RenderTreeFrame for the component with componentId.

Keys

public IEnumerable<int> Keys { get; }

Property Value

IEnumerable<int>

Values

public IEnumerable<ArrayRange<RenderTreeFrame>> Values { get; }

Property Value

IEnumerable<ArrayRange<RenderTreeFrame>>

Methods

Contains(int)

Checks whether the collection contains a ArrayRange<T> for the componentId.

public bool Contains(int componentId)

Parameters

componentId int

Returns

bool

ContainsKey(int)

public bool ContainsKey(int key)

Parameters

key int

Returns

bool

GetEnumerator()

public IEnumerator<KeyValuePair<int, ArrayRange<RenderTreeFrame>>> GetEnumerator()

Returns

IEnumerator<KeyValuePair<int, ArrayRange<RenderTreeFrame>>>

TryGetValue(int, out ArrayRange<RenderTreeFrame>)

public bool TryGetValue(int key, out ArrayRange<RenderTreeFrame> value)

Parameters

key int
value ArrayRange<RenderTreeFrame>

Returns

bool
Progress Telerik

Premium sponsor: Progress Telerik.

Packt

Editorial support provided by Packt.

.NET Foundation

Supported by the .NET Foundation.