Class FileNameGenerator
Inheritance
System.Object
FileNameGenerator
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: NBench.Util
Assembly: NBench.dll
Syntax
public class FileNameGenerator
Methods
GenerateFileName(String, String)
Declaration
public static string GenerateFileName(string benchmarkName, string fileExtension)
Parameters
Type | Name | Description |
---|---|---|
System.String | benchmarkName | |
System.String | fileExtension |
Returns
Type | Description |
---|---|
System.String |
GenerateFileName(String, String, DateTime)
Declaration
public static string GenerateFileName(string benchmarkName, string fileExtension, DateTime utcNow)
Parameters
Type | Name | Description |
---|---|---|
System.String | benchmarkName | |
System.String | fileExtension | |
System.DateTime | utcNow |
Returns
Type | Description |
---|---|
System.String |
GenerateFileName(String, String, String, DateTime)
Declaration
public static string GenerateFileName(string folderPath, string benchmarkName, string fileExtension, DateTime utcNow)
Parameters
Type | Name | Description |
---|---|---|
System.String | folderPath | |
System.String | benchmarkName | |
System.String | fileExtension | |
System.DateTime | utcNow |
Returns
Type | Description |
---|---|
System.String |