Constructor FileIdGenerator
FileIdGenerator()
Initializes a new instance of the FileIdGenerator class that reads the time from System.
Declaration
public FileIdGenerator()
FileIdGenerator(TimeProvider)
Initializes a new instance of the FileIdGenerator class that reads the time from the specified time provider.
Declaration
public FileIdGenerator(TimeProvider timeProvider)
Parameters
| Type | Name | Description |
|---|---|---|
| TimeProvider | timeProvider | The time provider whose GetUtcNow() supplies the timestamps embedded in the generated IDs. |