using Adaptation.Shared.Properties;
using System;
using System.IO;

namespace Adaptation.Shared.Deposition;

public class ScopeInfo : IScopeInfo
{

    public Enum Enum { get; private set; }
    public Test Test { get; private set; }
    public string HTML { get; private set; }
    public string Title { get; private set; }
    public int TestValue { get; private set; }
    public string Header { get; private set; }
    public string FileName { get; private set; }
    public string QueryFilter { get; private set; }
    public string FileNameWithoutExtension { get; private set; }

    public ScopeInfo(IFileRead fileRead, Test test, string extra)
    {
        Enum = test;
        Test = test;
        HTML = string.Empty;
        Title = string.Empty;
        TestValue = (int)test;
        Header = string.Empty;
        QueryFilter = string.Empty;
        FileName = Path.GetFileName(fileRead.ReportFullPath);
        FileNameWithoutExtension = extra;
    }

}