ClassTestElementImageStore
Store test element images.
Definition
Namespace:ArtOfTest.WebAii.Design.ProjectModel
Assembly:ArtOfTest.WebAii.Design.dll
Syntax:
public class TestElementImageStore
Inheritance: objectTestElementImageStore
Constructors
Properties
Methods
AddImage(Image)
Add image to store.
AddImage(byte[])
Add image to store.
CalculateImageKey(byte[])
Calculate key of particular image.
DiscardChanges(string)
Discards changes for specific key.
Declaration
public void DiscardChanges(string key)
Parameters
key
The image key.
GetAllKeys()
Get all images keys.
GetFilePath()
Get the store file.
GetImage(string)
Get an image from store.
GetImageBytes(string)
Get an image from store.
GetKeysWaitingToBeAdded()
Returns all image keys that are added and not yet saved
Init()
Initializes the current store using currnet test project root path and element image store file path.
Declaration
public void Init()
Init(string)
Initializes the current store.
IsDirty()
Get whether current store has unsaved changes.
Declaration
public bool IsDirty()
Returns
True if current store has unsaved changes, otherwise false.
IsDirty(string)
Check if store item has been modified.
RemoveImage(string)
Remove image from store.
Declaration
public void RemoveImage(string key)
Parameters
key
The image key.
SaveChanges(string)
Persist changes.