コード例 #1
0
ファイル: CompileCache.cs プロジェクト: silky/KOS
 public static CompileCache GetInstance()
 {
     if (_instance == null)
     {
         _instance = new CompileCache();
     }
     return(_instance);
 }
コード例 #2
0
ファイル: Script.cs プロジェクト: kevin-ye/KOS
 public Script()
 {
     Cache = CompileCache.GetInstance();
 }
コード例 #3
0
ファイル: CompileCache.cs プロジェクト: kevin-ye/KOS
 public static CompileCache GetInstance()
 {
     return instance ?? (instance = new CompileCache());
 }
コード例 #4
0
ファイル: Script.cs プロジェクト: ElasticRaven/KOS
 public Script()
 {
     _cache = CompileCache.GetInstance();
 }
コード例 #5
0
ファイル: CompileCache.cs プロジェクト: WazWaz/KOS
 public static CompileCache GetInstance()
 {
     if (_instance == null) _instance = new CompileCache();
     return _instance;
 }
コード例 #6
0
 protected Script()
 {
     Cache = CompileCache.GetInstance();
 }
コード例 #7
0
 public static CompileCache GetInstance()
 {
     return(instance ?? (instance = new CompileCache()));
 }