Пример #1
0
        public virtual void Start(Report Report)
        {
            InitializeRazor();

            _report = Report;

            _filePath = Report.FilePath;
            _displayOrder = Report.DisplayOrder;
            _networkMode = Report.NetworkMode;

            Thread.CurrentThread.CurrentUICulture = Report.Culture;

            bool replaceExisting = Report.ReplaceExisting;

            if (!File.Exists(_filePath))
            {
                replaceExisting = true;
            }

            if (replaceExisting)
            {
                _extentSource = Extent.Source;
            }
            else
            {
                _extentSource = File.ReadAllText(_filePath);
            }

            _extentSource = _extentSource.Replace("<!--%SuiteStartedTime%-->", _report.StartTime.ToString());
        }
Пример #2
0
 public void Start(Report report)
 {
     throw new NotImplementedException();
 }