You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Having a TimeZone as an instance property of AtataContext is wrong, as time zone should be the same for all the contexts, thus it should not be configured within regular AtataContext configuration, which can be different for tests.
Such global properties starting v3 are now located in AtataContext.GlobalProperties.
AtataContext.GlobalProperties time zone related members:
/// <summary>/// Gets or sets the time zone./// The default value is <see cref="TimeZoneInfo.Local"/>./// </summary>publicTimeZoneInfoTimeZone{get;set;}/// <summary>/// Sets the UTC time zone./// </summary>/// <returns>The same <see cref="AtataContextGlobalProperties"/> instance.</returns>publicAtataContextGlobalPropertiesUseUtcTimeZone();/// <summary>/// Sets the time zone by identifier, which corresponds to the <see cref="TimeZoneInfo.Id"/> property./// </summary>/// <param name="timeZoneId">The time zone identifier.</param>/// <returns>The same <see cref="AtataContextGlobalProperties"/> instance.</returns>publicAtataContextGlobalPropertiesUseTimeZone(stringtimeZoneId);/// <summary>/// Sets the time zone./// </summary>/// <param name="timeZone">The time zone.</param>/// <returns>The same <see cref="AtataContextGlobalProperties"/> instance.</returns>publicAtataContextGlobalPropertiesUseTimeZone(TimeZoneInfotimeZone);
Old AtataContextBuilder time zone configurational methods are marked as obsolete.
The text was updated successfully, but these errors were encountered:
- #823 Move `TimeZone` instance property of `AtataContext` to `AtataContext.GlobalProperties`.
- #824 Move `BuildStart` and `BuildStartUtc` static properties of `AtataContext` to `AtataContext.GlobalProperties`.
- #825 Move `ModeOfCurrent` static property of `AtataContext` to `AtataContext.GlobalProperties`.
Having a
TimeZone
as an instance property ofAtataContext
is wrong, as time zone should be the same for all the contexts, thus it should not be configured within regularAtataContext
configuration, which can be different for tests.Such global properties starting v3 are now located in
AtataContext.GlobalProperties
.AtataContext.GlobalProperties
time zone related members:Old
AtataContextBuilder
time zone configurational methods are marked as obsolete.The text was updated successfully, but these errors were encountered: