mirror of
https://github.com/tonytins/tomas.git
synced 2025-03-21 23:22:19 +00:00
Implicit usings applied to Tomas.Interface
This commit is contained in:
parent
a029d8d4d9
commit
e44f7e8f95
3 changed files with 17 additions and 19 deletions
|
@ -1,7 +1,7 @@
|
||||||
// I license this project under the BSD 3-Clause license.
|
// I license this project under the BSD 3-Clause license.
|
||||||
// See the LICENSE file in the project root for more information.
|
// See the LICENSE file in the project root for more information.
|
||||||
namespace Tomas.Interface
|
namespace Tomas.Interface;
|
||||||
{
|
|
||||||
public interface IProgram
|
public interface IProgram
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -12,4 +12,3 @@ namespace Tomas.Interface
|
||||||
/// <returns>Exit back to shell.</returns>
|
/// <returns>Exit back to shell.</returns>
|
||||||
bool Run(IShell shell);
|
bool Run(IShell shell);
|
||||||
}
|
}
|
||||||
}
|
|
|
@ -1,13 +1,11 @@
|
||||||
// I license this project under the BSD 3-Clause license.
|
// I license this project under the BSD 3-Clause license.
|
||||||
// See the LICENSE file in the project root for more information.
|
// See the LICENSE file in the project root for more information.
|
||||||
using System.Collections.Generic;
|
|
||||||
|
|
||||||
namespace Tomas.Interface
|
namespace Tomas.Interface;
|
||||||
{
|
|
||||||
public interface IShell
|
public interface IShell
|
||||||
{
|
{
|
||||||
string ReadLine { get; }
|
string ReadLine { get; }
|
||||||
|
|
||||||
Dictionary<string, IProgram> Programs { get; }
|
Dictionary<string, IProgram> Programs { get; }
|
||||||
}
|
}
|
||||||
}
|
|
|
@ -1,7 +1,8 @@
|
||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>netstandard2.0</TargetFramework>
|
<TargetFramework>net6.0</TargetFramework>
|
||||||
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|
Loading…
Add table
Reference in a new issue