コード例 #1
0
ファイル: OrionContext.cs プロジェクト: sp0x/donut
        public string GetExperimentAsset(string path)
        {
            var isAbsolute = false;
            var expPath    = OrionSink.GetExperimentsPath(_configuration, out isAbsolute, ref path);

            Trace.WriteLine(expPath);
            Console.WriteLine(expPath);
            var assetPath = System.IO.Path.Combine(expPath, path);

            if (!System.IO.File.Exists(assetPath))
            {
                return(null);
            }
            else
            {
                return(assetPath);
            }
        }