Interface IScraperPersist
Namespace: Subsembly.Scraper
Assembly: Subsembly.Scraper.dll
Syntax
public interface IScraperPersist
Properties
IsDirty
Indicates whether the object state has changed since the last Save().
Declaration
bool IsDirty { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
Load(JsonObject)
Loads the object state into a newly created instance.
Declaration
void Load(JsonObject js)
Parameters
Type | Name | Description |
---|---|---|
JsonObject | js |
Remarks
After loading the flag IsDirty is implicitly false
.
Save()
Saves the object state as a JSON object.
Declaration
JsonObject Save()
Returns
Type | Description |
---|---|
JsonObject |
Remarks
After saving the object the flag IsDirty is set to false
.