Table of Contents

Class DynamicJacketList

Namespace
ToSic.Sxc.Data
Assembly
ToSic.Sxc.dll

This is a DynamicJacket for JSON arrays. You can enumerate through it.

[InternalApi_DoNotUse_MayChangeWithoutNotice("just use the objects from AsDynamic, don't use this directly")]
public class DynamicJacketList : DynamicJacketBase<JsonArray>, IDynamicMetaObjectProvider, IReadOnlyList<object>, IReadOnlyCollection<object>, IEnumerable<object>, IEnumerable
Inheritance
DynamicJacketList
Implements
Inherited Members

Properties

Count

Count array items or object properties

public override int Count { get; }

Property Value

int

IsList

Check if it's an array.

public override bool IsList { get; }

Property Value

bool

True if an array/list, false if an object.

this[int]

Access the items in this object - but only if the underlying object is an array.

public override object this[int index] { get; }

Parameters

index int

array index

Property Value

object

the item or an error if not found