C# Class BenefitsAllocationUpload.Services.FileService

Inheritance: IFileService
Afficher le fichier Open project: ucdavis/BenefitsAllocationUpload

Méthodes publiques

Méthode Description
FileService ( ISftpService sftpService, IBlobStorageService blobStorageService ) : System.Collections.Generic

GetFile ( string fileName ) : byte[]

Get a file from blob storage

ReadFile ( Stream stream ) : IList
ReadFile ( byte bytes ) : IList
WriteFile ( string fileName, string devarOrgCode, FeederSystemFixedLengthRecord transactionsArray ) : bool

Method Details

FileService() public méthode

public FileService ( ISftpService sftpService, IBlobStorageService blobStorageService ) : System.Collections.Generic
sftpService ISftpService
blobStorageService IBlobStorageService
Résultat System.Collections.Generic

GetFile() public méthode

Get a file from blob storage
public GetFile ( string fileName ) : byte[]
fileName string
Résultat byte[]

ReadFile() public méthode

public ReadFile ( Stream stream ) : IList
stream System.IO.Stream
Résultat IList

ReadFile() public méthode

public ReadFile ( byte bytes ) : IList
bytes byte
Résultat IList

WriteFile() public méthode

public WriteFile ( string fileName, string devarOrgCode, FeederSystemFixedLengthRecord transactionsArray ) : bool
fileName string
devarOrgCode string
transactionsArray BenefitsAllocationUpload.Models.FeederSystemFixedLengthRecord
Résultat bool