source code checkin

This commit is contained in:
Brett Hewitson 2021-01-07 16:23:23 +10:00
parent 5f8fb2c825
commit 7e57b72e35
675 changed files with 168433 additions and 0 deletions

View file

@ -0,0 +1,9 @@
using System.Threading.Tasks;
namespace ServerManagerTool.Common.Interfaces
{
public interface IAsyncDisposable
{
Task DisposeAsync();
}
}

View file

@ -0,0 +1,11 @@
namespace ServerManagerTool.Common.Interfaces
{
public interface IIniSectionCollection
{
IIniValuesCollection[] Sections { get; }
void Add(string sectionName, string[] values);
void Update();
}
}

View file

@ -0,0 +1,14 @@
using System.Collections.Generic;
namespace ServerManagerTool.Common.Interfaces
{
public interface IIniValuesCollection
{
string IniCollectionKey { get; }
bool IsArray { get; }
bool IsEnabled { get; set; }
void FromIniValues(IEnumerable<string> values);
IEnumerable<string> ToIniValues();
}
}

View file

@ -0,0 +1,9 @@
using System.Collections.Generic;
namespace ServerManagerTool.Common.Interfaces
{
public interface IIniValuesList
{
IEnumerable<string> ToIniValues(object excludeIfValue);
}
}

View file

@ -0,0 +1,11 @@
namespace ServerManagerTool.Common.Interfaces
{
public interface INullableValue
{
bool HasValue { get; }
INullableValue Clone();
void SetValue(object value);
}
}