Class JContainer
- Namespace
- Dynamicweb.Core.Json
- Assembly
- Dynamicweb.Core.dll
Wrapper for Newtonsoft.Json.Linq.JContainer: Only use to fix legacy issues. Never use in new code!
public class JContainer : JToken, ICloneable, IList<JToken>, ICollection<JToken>, IEnumerable<JToken>, IList, ICollection, IEnumerable
- Inheritance
-
JContainer
- Implements
- Inherited Members
- Extension Methods
Properties
Count
public int Count { get; }
Property Value
First
public override JToken First { get; }
Property Value
HasValues
public override bool HasValues { get; }
Property Value
IsFixedSize
public bool IsFixedSize { get; }
Property Value
IsReadOnly
public bool IsReadOnly { get; }
Property Value
IsSynchronized
public bool IsSynchronized { get; }
Property Value
this[int]
public JToken this[int index] { get; set; }
Parameters
index
int
Property Value
Last
public override JToken Last { get; }
Property Value
SyncRoot
public object SyncRoot { get; }
Property Value
Methods
Add(JToken)
public virtual void Add(JToken item)
Parameters
item
JToken
Add(object)
public virtual void Add(object content)
Parameters
content
object
AddFirst(object)
public void AddFirst(object content)
Parameters
content
object
Children()
public override IEnumerable<JToken> Children()
Returns
Clear()
public virtual void Clear()
Contains(JToken)
public virtual bool Contains(JToken item)
Parameters
item
JToken
Returns
Contains(object)
public virtual bool Contains(object value)
Parameters
value
object
Returns
CopyTo(JToken[], int)
public virtual void CopyTo(JToken[] array, int arrayIndex)
Parameters
CopyTo(Array, int)
public void CopyTo(Array array, int index)
Parameters
Descendants()
public IEnumerable<JToken> Descendants()
Returns
DescendantsAndSelf()
public IEnumerable<JToken> DescendantsAndSelf()
Returns
IndexOf(JToken)
public virtual int IndexOf(JToken item)
Parameters
item
JToken
Returns
IndexOf(object)
public virtual int IndexOf(object value)
Parameters
value
object
Returns
Insert(int, JToken)
public virtual void Insert(int index, JToken item)
Parameters
Insert(int, object)
public virtual void Insert(int index, object value)
Parameters
Merge(object)
public void Merge(object content)
Parameters
content
object
Remove(JToken)
public virtual bool Remove(JToken item)
Parameters
item
JToken
Returns
Remove(object)
public virtual void Remove(object value)
Parameters
value
object
RemoveAll()
public void RemoveAll()
RemoveAt(int)
public virtual void RemoveAt(int index)
Parameters
index
int
ReplaceAll(object)
public void ReplaceAll(object content)
Parameters
content
object
ToObject<T>()
public override T ToObject<T>()
Returns
- T
Type Parameters
T
Values<T>()
public override IEnumerable<T> Values<T>()
Returns
- IEnumerable<T>
Type Parameters
T