mvvm to mssql

This commit is contained in:
2023-07-19 16:37:21 +09:00
parent 3d9f030ebb
commit 2c793d21af
12 changed files with 531 additions and 1 deletions

View File

@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MSSQL_MVVM_Sample.Structure
{
public class Singleton<T> where T : class, new()
{
private static readonly Lazy<T> _instnace = new Lazy<T>(() => new T());
public delegate void ExceptionEventHandler(string id, Exception ex);
public static T Instance { get { return _instnace.Value; } }
}
}