C# Class XG.Business.Helper.FileActions

Datei anzeigen Open project: lformella/xdcc-grabscher

Public Methods

Method Description
FinishFile ( XG aFile ) : void
FireNotificationAdded ( Notification aType, AObject aObject ) : void
GetFileOrCreateNew ( string aName, System.Int64 aSize ) : File
TryGetFile ( string aName, System.Int64 aSize ) : File

Private Methods

Method Description
HandleFile ( string aFile ) : void
OnRemoveFile ( object aSender, AObject>.EventArgs aEventArgs ) : void
RunFileHandlerProcess ( FileHandlerProcess aHandler, string aPath, string aFolder, string aFile, string aFileName, string aFileExtension ) : void

Method Details

FinishFile() public static method

public static FinishFile ( XG aFile ) : void
aFile XG
return void

FireNotificationAdded() public static method

public static FireNotificationAdded ( Notification aType, AObject aObject ) : void
aType XG.Model.Domain.Notification
aObject AObject
return void

GetFileOrCreateNew() public static method

public static GetFileOrCreateNew ( string aName, System.Int64 aSize ) : File
aName string
aSize System.Int64
return XG.Model.Domain.File

TryGetFile() public static method

public static TryGetFile ( string aName, System.Int64 aSize ) : File
aName string
aSize System.Int64
return XG.Model.Domain.File