Serializable |
This is preliminary documentation and is subject to change.
The SerializableEntity type exposes the following members.
| Name | Description | |
|---|---|---|
| SerializableEntity | Initializes a new instance of the SerializableEntity class |
| Name | Description | |
|---|---|---|
| Aliases | Gets the aliases of the entity. | |
| Claims | Gets the claims of the entity. | |
| DataType | For property entity, gets the data type of the property. | |
| Descriptions | Gets the descriptions of the entity. | |
| Id | Id of the entity. | |
| Labels | Gets the labels (aka. names) of the entity. | |
| SiteLinks | Gets the sitelinks of the entity. | |
| Type | Wikibase entity type. |
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| Load(IEntity) | Creates a new instance of SerializableEntity from an existing IEntity instance. | |
| Load(JsonObject) | Creates a new instance of SerializableEntity from JsonObject. | |
| Load(Stream) | Loads exactly 1 SerializableEntity from the Stream. | |
| Load(String) | Loads exactly 1 SerializableEntity from the specified file. | |
| LoadAll(Stream) | Synchronously enumerates a JSON array of the serialized Wikibase entities contained in the specified stream. | |
| LoadAll(String) | Synchronously enumerates a JSON array of the serialized Wikibase entities contained in the specified stream. | |
| LoadAllAsync | Asynchronously enumerates a JSON array of the serialized Wikibase entities contained in the specified stream. | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| Parse | Creates a new instance of SerializableEntity from JSON string. | |
| ParseAll | Enumerates all the entities from JSON array of serialized entities contained in the string. | |
| ToJsonObject | Serializes the entity into JSON. | |
| ToJsonString | Serializes the entity into compact JSON string. | |
| ToString | Returns a string that represents the current object. (Inherited from Object) | |
| WriteTo | Writes the serialized entity into Stream. |