AbstractStructure Class
Assembly: Qlik.Engine.dll
A wrapper that can provide a typed interface for a JToken.
Inheritance
-
System.Object
- AbstractStructure
Syntax
public class AbstractStructure : IDisposable, IAbstractStructureConstructors
| Name | Description |
|---|---|
| AbstractStructure() |
Creates an empty abstract structure. |
| AbstractStructure(JObject) |
Creates an AbstractStructure wrapper for a JObject instance. |
Properties
| Name | Description |
|---|---|
| Session |
The session from which this structure was created. |
Methods
| Name | Description |
|---|---|
| As<T>() |
Interprets abstract structure as a different type. |
| CloneAs<T>() |
Clones object to another AbstractStructure type. |
| CloneSubstructureAs<T>(String) |
Clones a substructure of the abstract structure and interprets it as type T. |
| Delete(String) |
Deletes a property of the abstract structure. |
| Diff(AbstractStructure, AbstractStructure) |
Compute the difference between two AbstractStructure instances. |
| Dispose() |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
| Get<T>(String) |
Retrieves a property of the abstract structure and interprets it as an object of type T. |
| Get<T>(String, T) |
Retrieves an element of the abstract structure and interprets it as an object of type T. |
| GetAllProperties(Boolean) |
Gets all the property names in the structure |
| GetAllPropertyPaths(Boolean) |
Gets the path to all properties names in the structure |
| GetJObject() |
Get the JObject instance wrapped by this abstract structure. |
| IsSet(String) |
Checks if a property is set |
| PrintStructure(Formatting) |
Creates a string representation of the underlying json structure.
Equivalent to |
| ReadJson(JsonReader, QlikConnection) |
Reads the structure of the object from the argument reader. |
| Set<T>(String, T) |
Sets a property in the abstract structure |
| ToString() |
Creates a string representation of the underlying json structure.
Equivalent to |
| ToString(Formatting) |
Creates a string representation of the underlying json structure. |
| WriteJson(JsonWriter) |
Writes the full json structure of the object to the argument writer. |