Class DateTimeProviderBase
Represents a provider of DateTime instances.
public abstract class DateTimeProviderBase : IDateTimeProvider, IGenerator<DateTime>, IGenerator- Inheritance
- 
      
      DateTimeProviderBase
- Implements
- Derived
- Inherited Members
Constructors
DateTimeProviderBase(DateTimeKind)
Creates a new DateTimeProviderBase instance.
protected DateTimeProviderBase(DateTimeKind kind)Parameters
- kindDateTimeKind
- Specifies the resulting DateTimeKind of created instances. 
Properties
Kind
Specifies the resulting DateTimeKind of created instances.
public DateTimeKind Kind { get; }Property Value
Methods
GetNow()
Returns the current DateTime.
public abstract DateTime GetNow()