forked from LEGO/AsyncAPI.NET
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAsyncApiSettings.cs
More file actions
31 lines (27 loc) · 922 Bytes
/
AsyncApiSettings.cs
File metadata and controls
31 lines (27 loc) · 922 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Copyright (c) The LEGO Group. All rights reserved.
namespace LEGO.AsyncAPI
{
using System.Globalization;
/// <summary>
/// Base class for setting common acorss the various projects in the solution.
/// </summary>
public abstract class AsyncApiSettings
{
/// <summary>
/// Initializes a new instance of the <see cref="AsyncApiSettings"/> class.
/// </summary>
protected AsyncApiSettings()
{
this.DateTimeFormat = "yyyy-MM-ddTHH:mm:ss.fffzzz";
this.CultureInfo = CultureInfo.InvariantCulture;
}
/// <summary>
/// Gets the format used for reading and writing date time structures.
/// </summary>
public string DateTimeFormat { get; }
/// <summary>
/// Gets the culture info used for strings.
/// </summary>
public CultureInfo CultureInfo { get; }
}
}