Removed Methods Namespace
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
using System.Text.Json;
|
||||
using System.Text.Json.Serialization;
|
||||
using View_by_Distance.Shared.Models.Stateless.Methods;
|
||||
using View_by_Distance.Shared.Models.Stateless;
|
||||
|
||||
namespace View_by_Distance.Shared.Models;
|
||||
|
||||
|
@ -42,7 +42,7 @@ public class Location(int bottom, double confidence, int left, int right, int to
|
||||
public static Location Get(int bottom, double confidence, int height, int left, int right, int top, int width, int zCount)
|
||||
{
|
||||
Location result = new(bottom, confidence, left, right, top);
|
||||
_ = Stateless.Methods.Location.Check(bottom, height, left, right, top, width, zCount, throwException: true);
|
||||
_ = Stateless.Location.Check(bottom, height, left, right, top, width, zCount, throwException: true);
|
||||
return result;
|
||||
}
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
using System.Collections.ObjectModel;
|
||||
using System.Text.Json;
|
||||
using System.Text.Json.Serialization;
|
||||
using View_by_Distance.Shared.Models.Stateless;
|
||||
|
||||
namespace View_by_Distance.Shared.Models;
|
||||
|
||||
@ -22,7 +23,7 @@ public record PersonContainer(int? ApproximateYears,
|
||||
new(approximateYears, birthdays, displayDirectoryAllFilePaths, displayDirectoryName, key, personDirectory);
|
||||
|
||||
public static PersonContainer Get(char[] personCharacters, PersonBirthday birthday, string displayDirectoryName, PersonDirectory personDirectory) =>
|
||||
new(Stateless.Methods.IAge.GetApproximateYears(personCharacters, displayDirectoryName), [birthday], new([]), displayDirectoryName, birthday.Value.Ticks, personDirectory);
|
||||
new(IAge.GetApproximateYears(personCharacters, displayDirectoryName), [birthday], new([]), displayDirectoryName, birthday.Value.Ticks, personDirectory);
|
||||
|
||||
public static PersonContainer Get(int? approximateYears, PersonBirthday birthdays, string displayDirectoryName, long key) =>
|
||||
new(approximateYears, [birthdays], new([]), displayDirectoryName, key, null);
|
||||
|
@ -1,4 +1,4 @@
|
||||
namespace View_by_Distance.Shared.Models.Stateless.Methods;
|
||||
namespace View_by_Distance.Shared.Models.Stateless;
|
||||
|
||||
internal abstract class Age
|
||||
{
|
@ -1,4 +1,4 @@
|
||||
using View_by_Distance.Shared.Models.Stateless.Methods;
|
||||
using View_by_Distance.Shared.Models.Stateless;
|
||||
|
||||
namespace View_by_Distance.Shared.Models;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
namespace View_by_Distance.Shared.Models.Stateless.Methods;
|
||||
namespace View_by_Distance.Shared.Models.Stateless;
|
||||
|
||||
public interface IAge
|
||||
{ // ...
|
@ -1,4 +1,4 @@
|
||||
namespace View_by_Distance.Shared.Models.Stateless.Methods;
|
||||
namespace View_by_Distance.Shared.Models.Stateless;
|
||||
|
||||
public interface ICompare
|
||||
{
|
@ -1,4 +1,4 @@
|
||||
namespace View_by_Distance.Shared.Models.Stateless.Methods;
|
||||
namespace View_by_Distance.Shared.Models.Stateless;
|
||||
|
||||
public interface IConsole
|
||||
{
|
@ -1,4 +1,4 @@
|
||||
namespace View_by_Distance.Shared.Models.Stateless.Methods;
|
||||
namespace View_by_Distance.Shared.Models.Stateless;
|
||||
|
||||
public interface IDate
|
||||
{
|
@ -1,4 +1,4 @@
|
||||
namespace View_by_Distance.Shared.Models.Stateless.Methods;
|
||||
namespace View_by_Distance.Shared.Models.Stateless;
|
||||
|
||||
public interface IId
|
||||
{
|
@ -1,6 +1,6 @@
|
||||
using System.Drawing;
|
||||
|
||||
namespace View_by_Distance.Shared.Models.Stateless.Methods;
|
||||
namespace View_by_Distance.Shared.Models.Stateless;
|
||||
|
||||
public interface ILocation
|
||||
{
|
@ -1,6 +1,6 @@
|
||||
using View_by_Distance.Shared.Models.Properties;
|
||||
|
||||
namespace View_by_Distance.Shared.Models.Stateless.Methods;
|
||||
namespace View_by_Distance.Shared.Models.Stateless;
|
||||
|
||||
public interface IMapping
|
||||
{ // ...
|
@ -1,6 +1,6 @@
|
||||
using System.Collections.ObjectModel;
|
||||
|
||||
namespace View_by_Distance.Shared.Models.Stateless.Methods;
|
||||
namespace View_by_Distance.Shared.Models.Stateless;
|
||||
|
||||
public interface IPath
|
||||
{ // ...
|
@ -1,4 +1,4 @@
|
||||
namespace View_by_Distance.Shared.Models.Stateless.Methods;
|
||||
namespace View_by_Distance.Shared.Models.Stateless;
|
||||
|
||||
public interface IPerson
|
||||
{
|
@ -1,6 +1,6 @@
|
||||
using System.Globalization;
|
||||
|
||||
namespace View_by_Distance.Shared.Models.Stateless.Methods;
|
||||
namespace View_by_Distance.Shared.Models.Stateless;
|
||||
|
||||
public interface IPersonBirthday
|
||||
{
|
@ -1,7 +1,7 @@
|
||||
using System.Collections.ObjectModel;
|
||||
using View_by_Distance.Shared.Models.Properties;
|
||||
|
||||
namespace View_by_Distance.Shared.Models.Stateless.Methods;
|
||||
namespace View_by_Distance.Shared.Models.Stateless;
|
||||
|
||||
public interface IRename
|
||||
{
|
@ -1,4 +1,4 @@
|
||||
namespace View_by_Distance.Shared.Models.Stateless.Methods;
|
||||
namespace View_by_Distance.Shared.Models.Stateless;
|
||||
|
||||
public interface IResult
|
||||
{
|
@ -1,5 +1,5 @@
|
||||
using System.Text;
|
||||
using View_by_Distance.Shared.Models.Stateless.Methods;
|
||||
using View_by_Distance.Shared.Models.Stateless;
|
||||
|
||||
namespace View_by_Distance.Shared.Models.Stateless;
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
using System.Drawing;
|
||||
|
||||
namespace View_by_Distance.Shared.Models.Stateless.Methods;
|
||||
namespace View_by_Distance.Shared.Models.Stateless;
|
||||
|
||||
internal abstract class Location
|
||||
{
|
@ -1,6 +1,6 @@
|
||||
using View_by_Distance.Shared.Models.Properties;
|
||||
|
||||
namespace View_by_Distance.Shared.Models.Stateless.Methods;
|
||||
namespace View_by_Distance.Shared.Models.Stateless;
|
||||
|
||||
internal abstract class Mapping
|
||||
{
|
@ -1,6 +1,6 @@
|
||||
using System.Globalization;
|
||||
|
||||
namespace View_by_Distance.Shared.Models.Stateless.Methods;
|
||||
namespace View_by_Distance.Shared.Models.Stateless;
|
||||
|
||||
internal abstract class PersonBirthday
|
||||
{
|
@ -21,7 +21,7 @@ internal abstract class XResult
|
||||
|
||||
internal static string GetRelativePath(ResultSettings resultSettings, string path)
|
||||
{
|
||||
string result = Methods.IPath.GetRelativePath(path, resultSettings.RootDirectory.Length);
|
||||
string result = IPath.GetRelativePath(path, resultSettings.RootDirectory.Length);
|
||||
return result;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user