aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.SQLExaminer/ExtensionMethods.cs
blob: 09a830ab3afadfe1e696dfd28bdb94868b844d83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.SQLExaminer;

public static class ExtensionMethods
{
    public static String GetFilePath(this ExaminerConfigurationType type)
    {
        return Path.Combine(Helper.SQL_EXAMINER_CONFIG_FOLDER, type.ToString() + ".xml");
    }

    public static String GetFileName(this ExaminerConfigurationType type)
    {
        return type.ToString() + ".xml";
    }
}