예제 #1
0
파일: VccPlugin.cs 프로젝트: tupipa/vcc
        private void Init(TransHelper.TransEnv env, string filename)
        {
            RegisterStopwatches();
            foreach (var s in env.Stopwatches)
            {
                this.RegisterStopwatch(s);
            }

            Transformers.init(env);
            Transformers.processPipeOptions(env);
            options = ((VccOptionWrapper)env.Options).VccOptions;
            this.BvdModelFileName = options.SaveModelForBvd ? AddOutputDirIfRequested(Path.ChangeExtension(filename, "model")) : null;
        }