A commande line interface
This commit is contained in:
parent
2f1249c2c3
commit
f8774add61
12 changed files with 14401 additions and 633 deletions
57
cli/ApplicationEnvironment.cs
Normal file
57
cli/ApplicationEnvironment.cs
Normal 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue