C# 클래스 Whitelog.Core.File.FileStreamProvider

상속: IStreamProvider
파일 보기 프로젝트 열기: ronenbarak/Whitelog 1 사용 예제들

공개 메소드들

메소드 설명
Archive ( ) : void
FileStreamProvider ( FileConfiguration configuration ) : System
GetNextArchiveTime ( FileConfiguration configuration, System.DateTime now ) : DateTime?
GetStream ( ) : Stream
ShouldArchive ( long currSize, int bytesToAdd, System.DateTime now ) : bool

비공개 메소드들

메소드 설명
ArchiveFile ( FileConfiguration configuration, string filePath ) : void
CreateFile ( string filePath ) : FileStream
GetArchiveFileName ( FileConfiguration configuration, string originalPath ) : string
GetFileName ( FileConfiguration configuration ) : string

메소드 상세

Archive() 공개 메소드

public Archive ( ) : void
리턴 void

FileStreamProvider() 공개 메소드

public FileStreamProvider ( FileConfiguration configuration ) : System
configuration FileConfiguration
리턴 System

GetNextArchiveTime() 공개 정적인 메소드

public static GetNextArchiveTime ( FileConfiguration configuration, System.DateTime now ) : DateTime?
configuration FileConfiguration
now System.DateTime
리턴 DateTime?

GetStream() 공개 메소드

public GetStream ( ) : Stream
리턴 Stream

ShouldArchive() 공개 메소드

public ShouldArchive ( long currSize, int bytesToAdd, System.DateTime now ) : bool
currSize long
bytesToAdd int
now System.DateTime
리턴 bool