C# Class CatEye.Core.ReceiptsManager

Mostrar archivo Open project: bigfatbrowncat/CatEye

Public Methods

Method Description
DetermineReceiptType ( string receiptFileName, string rawFileName ) : ReceiptType
ExtractReceiptName ( string receiptFileName, string rawFileName ) : string
FindClassReceiptsForRaw ( string rawFileName ) : string[]
FindCustomReceiptsForRaw ( string rawFileName ) : string[]
FindRawsForReceipt ( string receiptFileName ) : string[]
FindReceiptsForRaw ( string rawFileName ) : string[]
IsReceipt ( string fileName ) : bool
MakeClassReceiptFilename ( string path, string receiptName ) : string
MakeDefaultOrCustomReceiptFilename ( string rawFileName, string receiptName ) : string

Private Methods

Method Description
OtherRawsSameDirectory ( string rawFileName ) : string[]

Method Details

DetermineReceiptType() public static method

public static DetermineReceiptType ( string receiptFileName, string rawFileName ) : ReceiptType
receiptFileName string
rawFileName string
return ReceiptType

ExtractReceiptName() public static method

public static ExtractReceiptName ( string receiptFileName, string rawFileName ) : string
receiptFileName string
rawFileName string
return string

FindClassReceiptsForRaw() public static method

public static FindClassReceiptsForRaw ( string rawFileName ) : string[]
rawFileName string
return string[]

FindCustomReceiptsForRaw() public static method

public static FindCustomReceiptsForRaw ( string rawFileName ) : string[]
rawFileName string
return string[]

FindRawsForReceipt() public static method

public static FindRawsForReceipt ( string receiptFileName ) : string[]
receiptFileName string
return string[]

FindReceiptsForRaw() public static method

public static FindReceiptsForRaw ( string rawFileName ) : string[]
rawFileName string
return string[]

IsReceipt() public static method

public static IsReceipt ( string fileName ) : bool
fileName string
return bool

MakeClassReceiptFilename() public static method

public static MakeClassReceiptFilename ( string path, string receiptName ) : string
path string
receiptName string
return string

MakeDefaultOrCustomReceiptFilename() public static method

public static MakeDefaultOrCustomReceiptFilename ( string rawFileName, string receiptName ) : string
rawFileName string
receiptName string
return string