Ejemplo n.º 1
0
        public static SnapManager GetInstance()
        {
            lock (typeof(SnapManager))
            {
                if (instance == null)
                {
                    instance = new SnapManager();

                    try
                    {
                        instance.Init();
                    }
                    catch (Exception ex)
                    {
                        throw ex;
                    }
                }
            }

            return(instance);
        }
Ejemplo n.º 2
0
        public static SnapManager GetInstance()
        {
            lock (typeof(SnapManager))
            {
                if (instance == null)
                {
                    instance = new SnapManager();

                    try
                    {
                        instance.Init();
                    }
                    catch (Exception ex)
                    {
                        throw ex;
                    }
                }
            }

            return instance;
        }
Ejemplo n.º 3
0
 public void Dispose()
 {
     instance	= null;
 }
Ejemplo n.º 4
0
 public void Dispose()
 {
     instance = null;
 }