Class RenderTreeFrameDictionary
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
this[int]
Gets the ArrayRange<T> associated with the componentId.
public ArrayRange<RenderTreeFrame> this[int componentId] { get; }Parameters
- componentIdint
- 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
Values
public IEnumerable<ArrayRange<RenderTreeFrame>> Values { get; }Property Value
Methods
Contains(int)
Checks whether the collection contains a ArrayRange<T> for the componentId.
public bool Contains(int componentId)Parameters
- componentIdint
Returns
ContainsKey(int)
public bool ContainsKey(int key)Parameters
- keyint
Returns
GetEnumerator()
public IEnumerator<KeyValuePair<int, ArrayRange<RenderTreeFrame>>> GetEnumerator()Returns
TryGetValue(int, out ArrayRange<RenderTreeFrame>)
public bool TryGetValue(int key, out ArrayRange<RenderTreeFrame> value)Parameters
- keyint
- valueArrayRange<RenderTreeFrame>