C# 클래스 BenefitsAllocationUpload.Services.FileService

상속: IFileService
파일 보기 프로젝트 열기: ucdavis/BenefitsAllocationUpload

공개 메소드들

메소드 설명
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

메소드 상세

FileService() 공개 메소드

public FileService ( ISftpService sftpService, IBlobStorageService blobStorageService ) : System.Collections.Generic
sftpService ISftpService
blobStorageService IBlobStorageService
리턴 System.Collections.Generic

GetFile() 공개 메소드

Get a file from blob storage
public GetFile ( string fileName ) : byte[]
fileName string
리턴 byte[]

ReadFile() 공개 메소드

public ReadFile ( Stream stream ) : IList
stream System.IO.Stream
리턴 IList

ReadFile() 공개 메소드

public ReadFile ( byte bytes ) : IList
bytes byte
리턴 IList

WriteFile() 공개 메소드

public WriteFile ( string fileName, string devarOrgCode, FeederSystemFixedLengthRecord transactionsArray ) : bool
fileName string
devarOrgCode string
transactionsArray BenefitsAllocationUpload.Models.FeederSystemFixedLengthRecord
리턴 bool