19 lines
476 B
C#
19 lines
476 B
C#
using System;
|
|
using Newtonsoft.Json;
|
|
using Newtonsoft.Json.Serialization;
|
|
|
|
namespace UpsilonLanguageServer
|
|
{
|
|
public static class Utility
|
|
{
|
|
public static readonly JsonSerializer CamelCaseJsonSerializer = new JsonSerializer
|
|
{
|
|
ContractResolver = new CamelCasePropertyNamesContractResolver()
|
|
};
|
|
|
|
public static string GetTimeStamp()
|
|
{
|
|
return DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.fff");
|
|
}
|
|
}
|
|
} |