added docs, and sample library

This commit is contained in:
Matteo Cominetti
2020-07-30 19:05:05 +01:00
parent c918c0cd50
commit fcd284e52a
10 changed files with 494 additions and 3 deletions
+24
View File
@@ -0,0 +1,24 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SampleLibrary
{
public static class Utils
{
/// <summary>
/// Utility method to get models from local folder rather than an absolute path
/// </summary>
/// <param name="filename"></param>
/// <returns></returns>
public static string GetTestModel(string filename)
{
var path = Path.Combine(Directory.GetCurrentDirectory(), "..", "..", "TestModels", filename);
return path;
}
}
}