A commande line interface

This commit is contained in:
Paul Schneider 2018-04-12 13:27:49 +02:00
commit f8774add61
12 changed files with 14401 additions and 633 deletions

View file

@ -0,0 +1,57 @@
using System;
using System.Runtime.Versioning;
using Microsoft.Extensions.PlatformAbstractions;
namespace cli_2
{
public class ApplicationEnvironment : IApplicationEnvironment
{
internal ApplicationEnvironment( FrameworkName targetFramework, string appRootDir )
{
this.RuntimeFramework = targetFramework;
ApplicationBasePath = appRootDir;
}
public string ApplicationBasePath
{
get; set;
}
public string ApplicationName
{
get; set;
}
public string ApplicationVersion
{
get; set;
}
public string Configuration
{
get; set;
}
public FrameworkName RuntimeFramework
{
get; set;
}
public string Version
{
get
{
throw new NotImplementedException();
}
}
public object GetData(string name)
{
throw new NotImplementedException();
}
public void SetData(string name, object value)
{
throw new NotImplementedException();
}
}
}