Class DynamicJacketBase<T>
Base class for DynamicJackets. You won't use this, just included in the docs.
To check if something is an array or an object, use "IsArray"
[InternalApi_DoNotUse_MayChangeWithoutNotice("just use the objects from AsDynamic, don't use this directly")]
public abstract class DynamicJacketBase<T> : DynamicJacketBase, IDynamicMetaObjectProvider, IReadOnlyList<object>, IReadOnlyCollection<object>, IEnumerable<object>, IEnumerable
Type Parameters
T
The underlying type, either a JObject or a JToken
- Inheritance
-
DynamicJacketBase<T>
- Implements
- Derived
- Inherited Members
Methods
GetContents()
The underlying, original object. Helpful for external objects which need the real, underlying item.
Avoid using this property for use inside the real object, but create another property for this, so it's easier to spot dependencies.
public T GetContents()
Returns
- T
ToString()
If the object is just output, it should show the underlying json string
public override string ToString()
Returns
- string
the inner json string