C# Class BudgetAnalyser.Engine.Mobile.MobileDataExporter

Inheritance: IMobileDataExporter
Show file Open project: Benrnz/BudgetAnalyser

Public Methods

Method Description
CreateExportObject ( [ transactions, [ currentBudget, [ ledger, [ filter ) : SummarisedLedgerMobileData

Create the export object

MobileDataExporter ( [ calculator, IReaderWriterSelector readerWriterSelector, IEnvironmentFolders environmentFolders ) : System

Initialises an instance of the MobileDataExporter class.

SaveCopyAsync ( SummarisedLedgerMobileData dataObject ) : System.Threading.Tasks.Task

Save a copy of the data export file locally.

Serialise ( SummarisedLedgerMobileData dataExport ) : string

Private Methods

Method Description
GetFileName ( ) : Task

Method Details

CreateExportObject() public method

Create the export object
public CreateExportObject ( [ transactions, [ currentBudget, [ ledger, [ filter ) : SummarisedLedgerMobileData
transactions [
currentBudget [
ledger [
filter [
return SummarisedLedgerMobileData

MobileDataExporter() public method

Initialises an instance of the MobileDataExporter class.
public MobileDataExporter ( [ calculator, IReaderWriterSelector readerWriterSelector, IEnvironmentFolders environmentFolders ) : System
calculator [
readerWriterSelector IReaderWriterSelector
environmentFolders IEnvironmentFolders
return System

SaveCopyAsync() public method

Save a copy of the data export file locally.
public SaveCopyAsync ( SummarisedLedgerMobileData dataObject ) : System.Threading.Tasks.Task
dataObject SummarisedLedgerMobileData
return System.Threading.Tasks.Task

Serialise() public method

public Serialise ( SummarisedLedgerMobileData dataExport ) : string
dataExport SummarisedLedgerMobileData
return string