Class DashboardSaveEventArgs
Argument object passed to Save
Inheritance
Inherited Members
Namespace: Reveal.Sdk
Assembly: Reveal.UI.Sdk.dll
Syntax
public class DashboardSaveEventArgs : EventArgs
csharp
Properties
IsSaveAs
Declaration
public bool IsSaveAs { get; }
csharp
Property Value
Type | Description |
---|---|
System. |
Name
The name of the dashboard being saved.
Declaration
public string Name { get; }
csharp
Property Value
Type | Description |
---|---|
System. |
Methods
SaveFinished()
Notifies the Reveal SDK the save operation has finished and it should switch to view mode.
Declaration
public void SaveFinished()
csharp
Serialize()
Serializes the current dashboard to a byte array
Declaration
public Task<byte[]> Serialize()
csharp
Returns
Type | Description |
---|---|
System. |
a byte array with the contents of the dashboard in rdash format |
SerializeAsJson()
Serializes the current dashboard to JSON string
Declaration
public Task<string> SerializeAsJson()
csharp
Returns
Type | Description |
---|---|
System. |
a byte array with the contents of the dashboard in rdash format |
SerializeWithNewName(String)
Serializes the current dashboard in '.rdash' format to a byte array, the title of the dashboard is changed to match the specified name.
Declaration
public Task<byte[]> SerializeWithNewName(string newName)
csharp
Parameters
Type | Name | Description |
---|---|---|
System. |
newName | The new name of the dashboard, it changes the title attribute of the dashboard object |
Returns
Type | Description |
---|---|
System. |
SerializeWithNewNameAsJson(String)
Serializes the current dashboard to JSON string, the title of the dashboard is changed to match the specified name.
Declaration
public Task<string> SerializeWithNewNameAsJson(string newName)
csharp
Parameters
Type | Name | Description |
---|---|---|
System. |
newName | The new name of the dashboard, it changes the title attribute of the dashboard object |
Returns
Type | Description |
---|---|
System. |