コード例 #1
0
 public RoslynSimanticsModule(RoslynSimanticsContext context, GameIffResource file)
 {
     Context = context;
     File    = file;
     if (file is GameGlobalResource)
     {
         if (file.MainIff.Filename == "global.iff")
         {
             IsGlobal = true;
         }
         else
         {
             IsSemiGlobal = true;
         }
     }
     Name     = CSTranslationContext.FormatName(File.MainIff.Filename.Replace(".iff", ""));
     FilePath = Path.Combine(Context.CacheDirectory, Name);
 }
コード例 #2
0
 public RoslynSimanticsJIT()
 {
     Context = new RoslynSimanticsContext(this);
     Context.Init();
 }