using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ClsRgFunciones;
using Serilog;

namespace app_datafono_difare.Services
{
    public class RgService
    {
        private static readonly Lazy<RgService> _instance =
            new Lazy<RgService>(() => new RgService());

        public static RgService Instance => _instance.Value;

        public RgFunciones Rg { get; }

        private RgService()
        {
            Log.Information("Inicializando RgFunciones...");
            Rg = RgFunciones.Instancia;
        }
    }
}
