Class CloudStorageClient
Inheritance
Namespace: FastReport.Olap.Cloud.StorageClient
Assembly: FastReport.Olap.dll
Syntax
public abstract class CloudStorageClient
Constructors
CloudStorageClient()
Initializes a new instance of the CloudStorageClient class.
Declaration
public CloudStorageClient()
Properties
Filename
Gets or sets the filename.
Declaration
protected string Filename { get; set; }
Property Value
Type | Description |
---|---|
System.String |
IsUserAuthorized
Gets or set the information is user authorized or not.
Declaration
public bool IsUserAuthorized { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ProxySettings
Gets or sets the proxy settings of a client.
Declaration
public CloudProxySettings ProxySettings { get; set; }
Property Value
Type | Description |
---|---|
CloudProxySettings |
Methods
CreateMemoryStream(Stream)
Creates a MemoryStream instance using a Stream instance.
Declaration
protected MemoryStream CreateMemoryStream(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream | The Stream instance that should be converted. |
Returns
Type | Description |
---|---|
System.IO.MemoryStream | The MemoryStream instance. |
PrepareToSave(Cube, Slice, ExportBase)
Prepares report before it will be saved to cloud storage.
Declaration
protected MemoryStream PrepareToSave(Cube cube, Slice slice, ExportBase export)
Parameters
Type | Name | Description |
---|---|---|
Cube | cube | The cube reference. |
Slice | slice | The slice reference. |
ExportBase | export | The export filter. |
Returns
Type | Description |
---|---|
System.IO.MemoryStream | Memory stream that contains prepared report. |
SaveCube(Cube, ExportBase)
Saves the slice to cloud storage.
Declaration
public void SaveCube(Cube cube, ExportBase export)
Parameters
Type | Name | Description |
---|---|---|
Cube | cube | The slice reference that should be saved. |
ExportBase | export | The export filter that should export template before. |
SaveMemoryStream(MemoryStream)
Saves a memory stream to cloud.
Declaration
protected abstract void SaveMemoryStream(MemoryStream ms)
Parameters
Type | Name | Description |
---|---|---|
System.IO.MemoryStream | ms | The memory stream that should be saved. |
SaveSlice(Slice, ExportBase)
Saves the slice to cloud storage.
Declaration
public void SaveSlice(Slice slice, ExportBase export)
Parameters
Type | Name | Description |
---|---|---|
Slice | slice | The slice reference that should be saved. |
ExportBase | export | The export filter that should export template before. |
SaveStream(Stream, String)
Saves the stream to cloud storage.
Declaration
public void SaveStream(Stream stream, string filename)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream | The stream that contains slice. |
System.String | filename | The filename in which stream will be saved in cloud. |