Implicit usings applied to Tomas.Interface

This commit is contained in:
Tony Bark 2023-01-06 20:45:27 -05:00
parent a029d8d4d9
commit e44f7e8f95
3 changed files with 17 additions and 19 deletions

View file

@ -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);
} }
}

View file

@ -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; }
} }
}

View file

@ -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>