Interface ILayoutStorage
Layout storage which must be implemented for all storages. The default storage is LayoutFileSystemSotrage
Namespace: Simplic.UI.Layout
Assembly: Simplic.UI.dll
Syntax
public interface ILayoutStorage
Methods
| Improve this Doc View SourceLoad(String)
Load configuration from the storage
Declaration
Stream Load(string context)
Parameters
Type | Name | Description |
---|---|---|
System.String | context | Context which should |
Returns
Type | Description |
---|---|
System.IO.Stream | Configuration content |
Reset(String)
Reset layout information
Declaration
void Reset(string context)
Parameters
Type | Name | Description |
---|---|---|
System.String | context | Context on which the layout will be used/resetted |
Save(Stream, String)
Save configuration in the storage
Declaration
void Save(Stream data, string context)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | data | Data to store |
System.String | context | Context on which the layout will be used |