Class FileTool
Inherited Members
Namespace: PayrollEngine.IO
Assembly: PayrollEngine.Core.dll
Syntax
public static class FileTool
Methods
CurrentTimeStamp()
Declaration
public static string CurrentTimeStamp()
Returns
| Type | Description |
|---|---|
| string |
TimeStamp(DateTime)
Declaration
public static string TimeStamp(DateTime moment)
Parameters
| Type | Name | Description |
|---|---|---|
| DateTime | moment |
Returns
| Type | Description |
|---|---|
| string |
ToValidFileName(string, char)
Declaration
public static string ToValidFileName(string fileName, char replacement = '_')
Parameters
| Type | Name | Description |
|---|---|---|
| string | fileName | |
| char | replacement |
Returns
| Type | Description |
|---|---|
| string |