-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathStartup.cs
More file actions
31 lines (27 loc) · 737 Bytes
/
Copy pathStartup.cs
File metadata and controls
31 lines (27 loc) · 737 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
namespace SyncPro.UI
{
using System;
using System.Collections.Generic;
using SyncPro.Tracing;
using SyncPro.Utility;
public class Startup
{
[STAThread]
internal static void Main(string[] arguments)
{
Dictionary<string, string> args = CommandLineHelper.ParseCommandLineArgs(arguments);
App.Start(args);
}
}
public static class LoggerExtensions
{
public static bool LogPropertyValidation { get; set; }
public static void LogPropertyValidationInfo(string message, params object[] args)
{
if (LogPropertyValidation)
{
Logger.Debug(message, args);
}
}
}
}