C# Class BudgetAnalyser.Engine.Matching.XamlOnDiskMatchingRuleRepository

Inheritance: IMatchingRuleRepository
Afficher le fichier Open project: Benrnz/BudgetAnalyser

Méthodes publiques

Méthode Description
CreateNew ( ) : IEnumerable
CreateNewAndSaveAsync ( string storageKey ) : System.Threading.Tasks.Task
SaveAsync ( IEnumerable rules, string storageKey, bool isEncrypted ) : System.Threading.Tasks.Task
XamlOnDiskMatchingRuleRepository ( MatchingRule>.[ mapper, [ logger, [ readerWriterSelector ) : System

Méthodes protégées

Méthode Description
Deserialise ( string xaml ) : object
SaveToDiskAsync ( string fileName, IEnumerable dataEntities, bool isEncrypted ) : System.Threading.Tasks.Task
Serialise ( IEnumerable dataEntity ) : string

Private Methods

Méthode Description
LoadAsync ( string storageKey, bool isEncrypted ) : Task>
LoadFromDiskAsync ( string fileName, bool isEncrypted ) : Task>
Validate ( IList model ) : IList

Method Details

CreateNew() public méthode

public CreateNew ( ) : IEnumerable
Résultat IEnumerable

CreateNewAndSaveAsync() public méthode

public CreateNewAndSaveAsync ( string storageKey ) : System.Threading.Tasks.Task
storageKey string
Résultat System.Threading.Tasks.Task

Deserialise() protected méthode

protected Deserialise ( string xaml ) : object
xaml string
Résultat object

SaveAsync() public méthode

public SaveAsync ( IEnumerable rules, string storageKey, bool isEncrypted ) : System.Threading.Tasks.Task
rules IEnumerable
storageKey string
isEncrypted bool
Résultat System.Threading.Tasks.Task

SaveToDiskAsync() protected méthode

protected SaveToDiskAsync ( string fileName, IEnumerable dataEntities, bool isEncrypted ) : System.Threading.Tasks.Task
fileName string
dataEntities IEnumerable
isEncrypted bool
Résultat System.Threading.Tasks.Task

Serialise() protected méthode

protected Serialise ( IEnumerable dataEntity ) : string
dataEntity IEnumerable
Résultat string

XamlOnDiskMatchingRuleRepository() public méthode

public XamlOnDiskMatchingRuleRepository ( MatchingRule>.[ mapper, [ logger, [ readerWriterSelector ) : System
mapper MatchingRule>.[
logger [
readerWriterSelector [
Résultat System