[This is preliminary documentation and is subject to change.]
The DefaultTimeSource type exposes the following members.Methods
| Name | Description | |
|---|---|---|
| __setComponentDirector | (Inherited from ApplicationComponent.) | |
| Configure | ||
| Destructor | (Inherited from ApplicationComponent.) | |
| Dispose |
Deterministically disposes object. DO NOT OVERRIDE this method, override Destructor() instead
(Inherited from DisposableObject.) | |
| EnsureObjectNotDisposed |
Checks to see whether object dispose started or has already been disposed and throws an exception if Dispose() was called
(Inherited from DisposableObject.) | |
Determines whether the specified object is equal to the current object. (Inherited from | ||
| Finalize | (Inherited from DisposableObject.) | |
Serves as the default hash function. (Inherited from | ||
Gets the (Inherited from | ||
| LocalizedTimeToUniversalTime |
Converts localized time to UTC time as of TimeLocation property
| |
Creates a shallow copy of the current (Inherited from | ||
Returns a string that represents the current object. (Inherited from | ||
| UniversalTimeToLocalizedTime |
Converts universal time to local time as of TimeLocation property
|
Extension Methods
Properties
| Name | Description | |
|---|---|---|
| ComponentCommonName |
Returns the common name used to identify the component, for example "Glue" for various IGlue implementations.
This name is searched-by some management tools that allow to find component by this name that does not change between
application restarts like ComponentSID does. Subordinate (non-root) components return null
(Inherited from ApplicationComponent.) | |
| ComponentDirector |
Returns a reference to an object that this app component services/operates under, or null
(Inherited from ApplicationComponent.) | |
| ComponentSID |
Returns process/instance unique app component system id
(Inherited from ApplicationComponent.) | |
| ComponentStartTime |
Returns local computer time of component start (not from application container time)
(Inherited from ApplicationComponent.) | |
| Disposed |
Indicates whether this object was already disposed - the Dispose() has finished
(Inherited from DisposableObject.) | |
| DisposeStarted |
Indicates whether this object Dispose() has been called and dispose started but not finished yet
(Inherited from DisposableObject.) | |
| Instance |
Returns a singleton DefaultTimeSource instance
| |
| LocalizedTime |
Returns current time localized per TimeLocation
| |
| Now | ||
| TimeLocation | ||
| UTCNow |
See Also