RollingFlatFileSink.StreamWriterRollingHelper.DateTimeProvider Property
Applies to: Semantic Logging 2.0
Gets or sets current date time provider.
Namespace: Microsoft.Practices.EnterpriseLibrary.SemanticLogging.Sinks
Assembly: Microsoft.Practices.EnterpriseLibrary.SemanticLogging.TextFile (in Microsoft.Practices.EnterpriseLibrary.SemanticLogging.TextFile.dll) Version: 2.0.1406.1
Syntax
public RollingFlatFileSink..::..DateTimeProvider DateTimeProvider { get; set; }
'Declaration
Public Property DateTimeProvider As RollingFlatFileSink..::..DateTimeProvider
Get
Set
Property Value
Type: RollingFlatFileSink.DateTimeProvider
The provider for the current date. Necessary for unit testing.
See Also
RollingFlatFileSink.StreamWriterRollingHelper Class
RollingFlatFileSink.StreamWriterRollingHelper Members
Microsoft.Practices.EnterpriseLibrary.SemanticLogging.Sinks Namespace