Class TestElementImageStore
Inheritance
System.Object
TestElementImageStore
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ArtOfTest.WebAii.Design.ProjectModel
Assembly: ArtOfTest.WebAii.Design.dll
Syntax
public class TestElementImageStore
Constructors
TestElementImageStore(Test)
Properties
FilePath
Declaration
public string FilePath { get; set; }
Property Value
System.String
|
Methods
AddImage(Byte[])
Declaration
public string AddImage(byte[] image)
Parameters
System.Byte[]
image
|
Returns
System.String
|
AddImage(Image)
Declaration
public string AddImage(Image image)
Parameters
System.Drawing.Image
image
|
Returns
System.String
|
CalculateImageKey(Byte[])
Declaration
public static string CalculateImageKey(byte[] image)
Parameters
System.Byte[]
image
|
Returns
System.String
|
DiscardChanges()
Declaration
public void DiscardChanges()
DiscardChanges(String)
Declaration
public void DiscardChanges(string key)
Parameters
System.String
key
|
GetAllKeys()
Declaration
public List<string> GetAllKeys()
Returns
System.Collections.Generic.List<System.String>
|
GetFilePath()
Declaration
public string GetFilePath()
Returns
System.String
|
GetImage(String)
Declaration
public Image GetImage(string key)
Parameters
System.String
key
|
Returns
System.Drawing.Image
|
GetImageBytes(String)
Declaration
public byte[] GetImageBytes(string key)
Parameters
System.String
key
|
Returns
System.Byte[]
|
GetKeysWaitingToBeAdded()
Declaration
public string[] GetKeysWaitingToBeAdded()
Returns
System.String[]
|
Init()
Declaration
public void Init()
Init(String)
Declaration
public void Init(string filePath)
Parameters
System.String
filePath
|
IsDirty()
Declaration
public bool IsDirty()
Returns
System.Boolean
|
IsDirty(String)
Declaration
public bool IsDirty(string key)
Parameters
System.String
key
|
Returns
System.Boolean
|
RemoveImage(String)
Declaration
public void RemoveImage(string key)
Parameters
System.String
key
|
SaveChanges()
Declaration
public void SaveChanges()
SaveChanges(String)
Declaration
public void SaveChanges(string key)
Parameters
System.String
key
|