Ejemplo n.º 1
0
 public void Dispose()
 {
     Cache = null;
     CacheFactory.Dispose();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// The game service stop.
 /// </summary>
 public static void Stop()
 {
     CacheFactory.UpdateNotify(true);
     CacheFactory.Dispose();
     Interlocked.Exchange(ref _isRunning, 0);
 }
Ejemplo n.º 3
0
        //private static void LoadGameEntitySchema()
        //{
        //    SchemaTable schema;
        //    if (EntitySchemaSet.TryGet<SensitiveWord>(out schema))
        //    {
        //        schema.ConnectionProviderType = ConfigManger.Provider.ConnectionSetting.ProviderTypeName;
        //        schema.ConnectionString = ConfigManger.Provider.ConnectionString;
        //    }
        //}

        /// <summary>
        /// The game service stop.
        /// </summary>
        public static void Stop()
        {
            CacheFactory.UpdateNotify(true);
            CacheFactory.Dispose();
            IsRunning = false;
        }