using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
|
namespace RichCreator.Utilitys
|
{
|
public class ServiceMonitor
|
{
|
/// <summary>
|
/// 微信通知
|
/// </summary>
|
/// <param name="message"></param>
|
/// <returns></returns>
|
public bool NotificationWechat(string message)
|
{
|
return true;
|
}
|
|
#region singleton
|
private static ServiceMonitor instance = null;
|
private static object lockHelper = new object();
|
public static ServiceMonitor Instance
|
{
|
get
|
{
|
if (instance == null)
|
{
|
lock (lockHelper)
|
{
|
if (instance == null)
|
{
|
instance = new ServiceMonitor();
|
}
|
}
|
}
|
return instance;
|
}
|
}
|
#endregion
|
}
|
}
|