This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Avalonia.Logging; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using NLog; | |
using Splat; | |
using NLog.Fluent; | |
using DynamicData.Binding; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public partial class App : Application, IEnableLogger | |
{ | |
public override void OnFrameworkInitializationCompleted() | |
{ | |
//Locator.CurrentMutable.RegisterConstant<ILocalization>(new XmlLocalization()); | |
Locator.CurrentMutable.RegisterConstant<ILocalization>(new StaticLocalization()); | |
// ... | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.ComponentModel.DataAnnotations; | |
namespace Records | |
{ | |
/// <summary> | |
/// Interindustry data elements according to ISO/IEC 7816-6. | |
/// </summary> | |
public enum InterindustryDataElements : ushort | |
{ | |
/// <summary> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Serilog.Core; | |
using System.IO; | |
using System; | |
using Serilog.Formatting; | |
using Serilog.Events; | |
using System.Runtime.InteropServices.JavaScript; | |
public partial class BrowserLogSink : ILogEventSink | |
{ | |
readonly ITextFormatter _formatter; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Avalonia.Logging; | |
using System; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using Serilog; | |
public class SerilogSink : ILogSink |