business logic
This commit is contained in:
parent
2dc557f04b
commit
2c7cbe6ddc
.vs/SportCompetitions
FileContentIndex
52af9ce4-5fa4-4890-860d-56a20772a8da.vsidx9219c9c4-40ee-4395-87df-d143f4184252.vsidxac5f3f92-813a-4dbb-a9c6-e7a72439e83b.vsidxb70ffb8c-7c41-4056-8923-d77766724c49.vsidxb977c4cb-4875-4a15-ad83-1c3a323fe306.vsidxda2bac0f-0d5f-4791-80f4-b791ec86af9c.vsidxdd5d731d-ab21-435a-8178-51a6290f54be.vsidxea355f35-0870-4aeb-967a-d35d7c194bef.vsidx
v17
SportCompetitionsBusinessLogic
BusinessLogics
SportCompetitionsBusinessLogic.csprojobj
Debug/net7.0
.NETCoreApp,Version=v7.0.AssemblyAttributes.csSportCompetitionsBusinessLogic.AssemblyInfo.csSportCompetitionsBusinessLogic.AssemblyInfoInputs.cacheSportCompetitionsBusinessLogic.GeneratedMSBuildEditorConfig.editorconfigSportCompetitionsBusinessLogic.GlobalUsings.g.csSportCompetitionsBusinessLogic.assets.cache
SportCompetitionsBusinessLogic.csproj.nuget.dgspec.jsonSportCompetitionsBusinessLogic.csproj.nuget.g.propsSportCompetitionsBusinessLogic.csproj.nuget.g.targetsproject.assets.jsonproject.nuget.cache
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -7,6 +7,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SportCompetitionsDataModels
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SportCompetitionsContracts", "SportCompetitionsContracts\SportCompetitionsContracts.csproj", "{608BDB59-034B-4FDE-A888-C3155B9AA0F6}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SportCompetitionsBusinessLogic", "SportCompetitionsBusinessLogic\SportCompetitionsBusinessLogic.csproj", "{3AA9ADED-CAE9-4719-B01A-D24152C76294}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
@ -21,6 +23,10 @@ Global
|
||||
{608BDB59-034B-4FDE-A888-C3155B9AA0F6}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{608BDB59-034B-4FDE-A888-C3155B9AA0F6}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{608BDB59-034B-4FDE-A888-C3155B9AA0F6}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{3AA9ADED-CAE9-4719-B01A-D24152C76294}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{3AA9ADED-CAE9-4719-B01A-D24152C76294}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{3AA9ADED-CAE9-4719-B01A-D24152C76294}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{3AA9ADED-CAE9-4719-B01A-D24152C76294}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
@ -0,0 +1,93 @@
|
||||
using SportCompetitionsContracts.BindingModels;
|
||||
using SportCompetitionsContracts.BusinessLogicsContracts;
|
||||
using SportCompetitionsContracts.SearchModels;
|
||||
using SportCompetitionsContracts.StoragesContracts;
|
||||
using SportCompetitionsContracts.ViewModels;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SportCompetitionsBusinessLogic.BusinessLogics
|
||||
{
|
||||
public class CompetitionLogic : ICompetitionLogic
|
||||
{
|
||||
private readonly ICompetitionStorage _competitionStorage;
|
||||
|
||||
public CompetitionLogic(ICompetitionStorage competitionStorage)
|
||||
{
|
||||
_competitionStorage = competitionStorage;
|
||||
}
|
||||
public CompetitionViewModel? ReadElement(CompetitionSearchModel model)
|
||||
{
|
||||
if (model == null)
|
||||
{
|
||||
throw new ArgumentNullException(nameof(model));
|
||||
}
|
||||
|
||||
var element = _competitionStorage.GetElement(model);
|
||||
if (element == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
return element;
|
||||
}
|
||||
|
||||
public List<CompetitionViewModel>? ReadList(CompetitionSearchModel? model)
|
||||
{
|
||||
var list = model == null ? _competitionStorage.GetFullList() : _competitionStorage.GetFilteredList(model);
|
||||
if (list == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
return list;
|
||||
}
|
||||
|
||||
public bool Create(CompetitionBindingModel model)
|
||||
{
|
||||
CheckModel(model);
|
||||
if (_competitionStorage.Insert(model) == null)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
public bool Delete(CompetitionBindingModel model)
|
||||
{
|
||||
CheckModel(model, false);
|
||||
if (_competitionStorage.Delete(model) == null)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
public bool Update(CompetitionBindingModel model)
|
||||
{
|
||||
CheckModel(model);
|
||||
if (_competitionStorage.Update(model) == null)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
private void CheckModel(CompetitionBindingModel model, bool withParams = true)
|
||||
{
|
||||
if (model == null)
|
||||
{
|
||||
throw new ArgumentNullException(nameof(model));
|
||||
}
|
||||
if (!withParams)
|
||||
{
|
||||
return;
|
||||
}
|
||||
if (string.IsNullOrEmpty(model.CompetitionName))
|
||||
{
|
||||
throw new ArgumentNullException("Нет названия", nameof(model.CompetitionName));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
93
SportCompetitionsBusinessLogic/BusinessLogics/MemberLogic.cs
Normal file
93
SportCompetitionsBusinessLogic/BusinessLogics/MemberLogic.cs
Normal file
@ -0,0 +1,93 @@
|
||||
using SportCompetitionsContracts.BindingModels;
|
||||
using SportCompetitionsContracts.BusinessLogicsContracts;
|
||||
using SportCompetitionsContracts.SearchModels;
|
||||
using SportCompetitionsContracts.StoragesContracts;
|
||||
using SportCompetitionsContracts.ViewModels;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SportCompetitionsBusinessLogic.BusinessLogics
|
||||
{
|
||||
public class MemberLogic : IMemberLogic
|
||||
{
|
||||
private readonly IMemberStorage _MemberStorage;
|
||||
|
||||
public MemberLogic(IMemberStorage MemberStorage)
|
||||
{
|
||||
_MemberStorage = MemberStorage;
|
||||
}
|
||||
public MemberViewModel? ReadElement(MemberSearchModel model)
|
||||
{
|
||||
if (model == null)
|
||||
{
|
||||
throw new ArgumentNullException(nameof(model));
|
||||
}
|
||||
|
||||
var element = _MemberStorage.GetElement(model);
|
||||
if (element == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
return element;
|
||||
}
|
||||
|
||||
public List<MemberViewModel>? ReadList(MemberSearchModel? model)
|
||||
{
|
||||
var list = model == null ? _MemberStorage.GetFullList() : _MemberStorage.GetFilteredList(model);
|
||||
if (list == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
return list;
|
||||
}
|
||||
|
||||
public bool Create(MemberBindingModel model)
|
||||
{
|
||||
CheckModel(model);
|
||||
if (_MemberStorage.Insert(model) == null)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
public bool Delete(MemberBindingModel model)
|
||||
{
|
||||
CheckModel(model, false);
|
||||
if (_MemberStorage.Delete(model) == null)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
public bool Update(MemberBindingModel model)
|
||||
{
|
||||
CheckModel(model);
|
||||
if (_MemberStorage.Update(model) == null)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
private void CheckModel(MemberBindingModel model, bool withParams = true)
|
||||
{
|
||||
if (model == null)
|
||||
{
|
||||
throw new ArgumentNullException(nameof(model));
|
||||
}
|
||||
if (!withParams)
|
||||
{
|
||||
return;
|
||||
}
|
||||
if (string.IsNullOrEmpty(model.MemberFCs))
|
||||
{
|
||||
throw new ArgumentNullException("Нет фио", nameof(model.MemberFCs));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
93
SportCompetitionsBusinessLogic/BusinessLogics/RecordLogic.cs
Normal file
93
SportCompetitionsBusinessLogic/BusinessLogics/RecordLogic.cs
Normal file
@ -0,0 +1,93 @@
|
||||
using SportCompetitionsContracts.BindingModels;
|
||||
using SportCompetitionsContracts.BusinessLogicsContracts;
|
||||
using SportCompetitionsContracts.SearchModels;
|
||||
using SportCompetitionsContracts.StoragesContracts;
|
||||
using SportCompetitionsContracts.ViewModels;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SportCompetitionsBusinessLogic.BusinessLogics
|
||||
{
|
||||
public class RecordLogic : IRecordLogic
|
||||
{
|
||||
private readonly IRecordStorage _RecordStorage;
|
||||
|
||||
public RecordLogic(IRecordStorage RecordStorage)
|
||||
{
|
||||
_RecordStorage = RecordStorage;
|
||||
}
|
||||
public RecordViewModel? ReadElement(RecordSearchModel model)
|
||||
{
|
||||
if (model == null)
|
||||
{
|
||||
throw new ArgumentNullException(nameof(model));
|
||||
}
|
||||
|
||||
var element = _RecordStorage.GetElement(model);
|
||||
if (element == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
return element;
|
||||
}
|
||||
|
||||
public List<RecordViewModel>? ReadList(RecordSearchModel? model)
|
||||
{
|
||||
var list = model == null ? _RecordStorage.GetFullList() : _RecordStorage.GetFilteredList(model);
|
||||
if (list == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
return list;
|
||||
}
|
||||
|
||||
public bool Create(RecordBindingModel model)
|
||||
{
|
||||
CheckModel(model);
|
||||
if (_RecordStorage.Insert(model) == null)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
public bool Delete(RecordBindingModel model)
|
||||
{
|
||||
CheckModel(model, false);
|
||||
if (_RecordStorage.Delete(model) == null)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
public bool Update(RecordBindingModel model)
|
||||
{
|
||||
CheckModel(model);
|
||||
if (_RecordStorage.Update(model) == null)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
private void CheckModel(RecordBindingModel model, bool withParams = true)
|
||||
{
|
||||
if (model == null)
|
||||
{
|
||||
throw new ArgumentNullException(nameof(model));
|
||||
}
|
||||
if (!withParams)
|
||||
{
|
||||
return;
|
||||
}
|
||||
if (string.IsNullOrEmpty(model.RecordName))
|
||||
{
|
||||
throw new ArgumentNullException("Нет названия", nameof(model.RecordName));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
89
SportCompetitionsBusinessLogic/BusinessLogics/ResultLogic.cs
Normal file
89
SportCompetitionsBusinessLogic/BusinessLogics/ResultLogic.cs
Normal file
@ -0,0 +1,89 @@
|
||||
using SportCompetitionsContracts.BindingModels;
|
||||
using SportCompetitionsContracts.BusinessLogicsContracts;
|
||||
using SportCompetitionsContracts.SearchModels;
|
||||
using SportCompetitionsContracts.StoragesContracts;
|
||||
using SportCompetitionsContracts.ViewModels;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SportCompetitionsBusinessLogic.BusinessLogics
|
||||
{
|
||||
public class ResultLogic : IResultLogic
|
||||
{
|
||||
private readonly IResultStorage _ResultStorage;
|
||||
|
||||
public ResultLogic(IResultStorage ResultStorage)
|
||||
{
|
||||
_ResultStorage = ResultStorage;
|
||||
}
|
||||
public ResultViewModel? ReadElement(ResultSearchModel model)
|
||||
{
|
||||
if (model == null)
|
||||
{
|
||||
throw new ArgumentNullException(nameof(model));
|
||||
}
|
||||
|
||||
var element = _ResultStorage.GetElement(model);
|
||||
if (element == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
return element;
|
||||
}
|
||||
|
||||
public List<ResultViewModel>? ReadList(ResultSearchModel? model)
|
||||
{
|
||||
var list = model == null ? _ResultStorage.GetFullList() : _ResultStorage.GetFilteredList(model);
|
||||
if (list == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
return list;
|
||||
}
|
||||
|
||||
public bool Create(ResultBindingModel model)
|
||||
{
|
||||
CheckModel(model);
|
||||
if (_ResultStorage.Insert(model) == null)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
public bool Delete(ResultBindingModel model)
|
||||
{
|
||||
CheckModel(model, false);
|
||||
if (_ResultStorage.Delete(model) == null)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
public bool Update(ResultBindingModel model)
|
||||
{
|
||||
CheckModel(model);
|
||||
if (_ResultStorage.Update(model) == null)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
private void CheckModel(ResultBindingModel model, bool withParams = true)
|
||||
{
|
||||
if (model == null)
|
||||
{
|
||||
throw new ArgumentNullException(nameof(model));
|
||||
}
|
||||
if (!withParams)
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
93
SportCompetitionsBusinessLogic/BusinessLogics/TeamLogic.cs
Normal file
93
SportCompetitionsBusinessLogic/BusinessLogics/TeamLogic.cs
Normal file
@ -0,0 +1,93 @@
|
||||
using SportCompetitionsContracts.BindingModels;
|
||||
using SportCompetitionsContracts.BusinessLogicsContracts;
|
||||
using SportCompetitionsContracts.SearchModels;
|
||||
using SportCompetitionsContracts.StoragesContracts;
|
||||
using SportCompetitionsContracts.ViewModels;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SportCompetitionsBusinessLogic.BusinessLogics
|
||||
{
|
||||
public class TeamLogic : ITeamLogic
|
||||
{
|
||||
private readonly ITeamStorage _TeamStorage;
|
||||
|
||||
public TeamLogic(ITeamStorage TeamStorage)
|
||||
{
|
||||
_TeamStorage = TeamStorage;
|
||||
}
|
||||
public TeamViewModel? ReadElement(TeamSearchModel model)
|
||||
{
|
||||
if (model == null)
|
||||
{
|
||||
throw new ArgumentNullException(nameof(model));
|
||||
}
|
||||
|
||||
var element = _TeamStorage.GetElement(model);
|
||||
if (element == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
return element;
|
||||
}
|
||||
|
||||
public List<TeamViewModel>? ReadList(TeamSearchModel? model)
|
||||
{
|
||||
var list = model == null ? _TeamStorage.GetFullList() : _TeamStorage.GetFilteredList(model);
|
||||
if (list == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
return list;
|
||||
}
|
||||
|
||||
public bool Create(TeamBindingModel model)
|
||||
{
|
||||
CheckModel(model);
|
||||
if (_TeamStorage.Insert(model) == null)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
public bool Delete(TeamBindingModel model)
|
||||
{
|
||||
CheckModel(model, false);
|
||||
if (_TeamStorage.Delete(model) == null)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
public bool Update(TeamBindingModel model)
|
||||
{
|
||||
CheckModel(model);
|
||||
if (_TeamStorage.Update(model) == null)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
private void CheckModel(TeamBindingModel model, bool withParams = true)
|
||||
{
|
||||
if (model == null)
|
||||
{
|
||||
throw new ArgumentNullException(nameof(model));
|
||||
}
|
||||
if (!withParams)
|
||||
{
|
||||
return;
|
||||
}
|
||||
if (string.IsNullOrEmpty(model.TeamName))
|
||||
{
|
||||
throw new ArgumentNullException("Нет названия", nameof(model.TeamName));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net7.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\SportCompetitionsContracts\SportCompetitionsContracts.csproj" />
|
||||
<ProjectReference Include="..\SportCompetitionsDataModels\SportCompetitionsDataModels.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
4
SportCompetitionsBusinessLogic/obj/Debug/net7.0/.NETCoreApp,Version=v7.0.AssemblyAttributes.cs
Normal file
4
SportCompetitionsBusinessLogic/obj/Debug/net7.0/.NETCoreApp,Version=v7.0.AssemblyAttributes.cs
Normal file
@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v7.0", FrameworkDisplayName = ".NET 7.0")]
|
23
SportCompetitionsBusinessLogic/obj/Debug/net7.0/SportCompetitionsBusinessLogic.AssemblyInfo.cs
Normal file
23
SportCompetitionsBusinessLogic/obj/Debug/net7.0/SportCompetitionsBusinessLogic.AssemblyInfo.cs
Normal file
@ -0,0 +1,23 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Этот код создан программой.
|
||||
// Исполняемая версия:4.0.30319.42000
|
||||
//
|
||||
// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
|
||||
// повторной генерации кода.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("SportCompetitionsBusinessLogic")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("SportCompetitionsBusinessLogic")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("SportCompetitionsBusinessLogic")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
// Создано классом WriteCodeFragment MSBuild.
|
||||
|
1
SportCompetitionsBusinessLogic/obj/Debug/net7.0/SportCompetitionsBusinessLogic.AssemblyInfoInputs.cache
Normal file
1
SportCompetitionsBusinessLogic/obj/Debug/net7.0/SportCompetitionsBusinessLogic.AssemblyInfoInputs.cache
Normal file
@ -0,0 +1 @@
|
||||
4d041275e58ecdb4c347a6cc4d0a215d665e4279
|
11
SportCompetitionsBusinessLogic/obj/Debug/net7.0/SportCompetitionsBusinessLogic.GeneratedMSBuildEditorConfig.editorconfig
Normal file
11
SportCompetitionsBusinessLogic/obj/Debug/net7.0/SportCompetitionsBusinessLogic.GeneratedMSBuildEditorConfig.editorconfig
Normal file
@ -0,0 +1,11 @@
|
||||
is_global = true
|
||||
build_property.TargetFramework = net7.0
|
||||
build_property.TargetPlatformMinVersion =
|
||||
build_property.UsingMicrosoftNETSdkWeb =
|
||||
build_property.ProjectTypeGuids =
|
||||
build_property.InvariantGlobalization =
|
||||
build_property.PlatformNeutralAssembly =
|
||||
build_property.EnforceExtendedAnalyzerRules =
|
||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||
build_property.RootNamespace = SportCompetitionsBusinessLogic
|
||||
build_property.ProjectDir = F:\SUBD\lab4\SportCompetitions\SportCompetitionsBusinessLogic\
|
8
SportCompetitionsBusinessLogic/obj/Debug/net7.0/SportCompetitionsBusinessLogic.GlobalUsings.g.cs
Normal file
8
SportCompetitionsBusinessLogic/obj/Debug/net7.0/SportCompetitionsBusinessLogic.GlobalUsings.g.cs
Normal file
@ -0,0 +1,8 @@
|
||||
// <auto-generated/>
|
||||
global using global::System;
|
||||
global using global::System.Collections.Generic;
|
||||
global using global::System.IO;
|
||||
global using global::System.Linq;
|
||||
global using global::System.Net.Http;
|
||||
global using global::System.Threading;
|
||||
global using global::System.Threading.Tasks;
|
BIN
SportCompetitionsBusinessLogic/obj/Debug/net7.0/SportCompetitionsBusinessLogic.assets.cache
Normal file
BIN
SportCompetitionsBusinessLogic/obj/Debug/net7.0/SportCompetitionsBusinessLogic.assets.cache
Normal file
Binary file not shown.
184
SportCompetitionsBusinessLogic/obj/SportCompetitionsBusinessLogic.csproj.nuget.dgspec.json
Normal file
184
SportCompetitionsBusinessLogic/obj/SportCompetitionsBusinessLogic.csproj.nuget.dgspec.json
Normal file
@ -0,0 +1,184 @@
|
||||
{
|
||||
"format": 1,
|
||||
"restore": {
|
||||
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj": {}
|
||||
},
|
||||
"projects": {
|
||||
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj",
|
||||
"projectName": "SportCompetitionsBusinessLogic",
|
||||
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj",
|
||||
"packagesPath": "C:\\Users\\Леонид\\.nuget\\packages\\",
|
||||
"outputPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\Леонид\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"net7.0"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net7.0": {
|
||||
"targetAlias": "net7.0",
|
||||
"projectReferences": {
|
||||
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj": {
|
||||
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj"
|
||||
},
|
||||
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
|
||||
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
}
|
||||
},
|
||||
"frameworks": {
|
||||
"net7.0": {
|
||||
"targetAlias": "net7.0",
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48",
|
||||
"net481"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.400\\RuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
},
|
||||
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj",
|
||||
"projectName": "SportCompetitionsContracts",
|
||||
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj",
|
||||
"packagesPath": "C:\\Users\\Леонид\\.nuget\\packages\\",
|
||||
"outputPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\Леонид\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"net7.0"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net7.0": {
|
||||
"targetAlias": "net7.0",
|
||||
"projectReferences": {
|
||||
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
|
||||
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
}
|
||||
},
|
||||
"frameworks": {
|
||||
"net7.0": {
|
||||
"targetAlias": "net7.0",
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48",
|
||||
"net481"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.400\\RuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
},
|
||||
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj",
|
||||
"projectName": "SportCompetitionsDataModels",
|
||||
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj",
|
||||
"packagesPath": "C:\\Users\\Леонид\\.nuget\\packages\\",
|
||||
"outputPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\Леонид\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"net7.0"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net7.0": {
|
||||
"targetAlias": "net7.0",
|
||||
"projectReferences": {}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
}
|
||||
},
|
||||
"frameworks": {
|
||||
"net7.0": {
|
||||
"targetAlias": "net7.0",
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48",
|
||||
"net481"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.400\\RuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
15
SportCompetitionsBusinessLogic/obj/SportCompetitionsBusinessLogic.csproj.nuget.g.props
Normal file
15
SportCompetitionsBusinessLogic/obj/SportCompetitionsBusinessLogic.csproj.nuget.g.props
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
|
||||
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
||||
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
||||
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
|
||||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\Леонид\.nuget\packages\</NuGetPackageFolders>
|
||||
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.7.0</NuGetToolVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<SourceRoot Include="C:\Users\Леонид\.nuget\packages\" />
|
||||
</ItemGroup>
|
||||
</Project>
|
2
SportCompetitionsBusinessLogic/obj/SportCompetitionsBusinessLogic.csproj.nuget.g.targets
Normal file
2
SportCompetitionsBusinessLogic/obj/SportCompetitionsBusinessLogic.csproj.nuget.g.targets
Normal file
@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />
|
113
SportCompetitionsBusinessLogic/obj/project.assets.json
Normal file
113
SportCompetitionsBusinessLogic/obj/project.assets.json
Normal file
@ -0,0 +1,113 @@
|
||||
{
|
||||
"version": 3,
|
||||
"targets": {
|
||||
"net7.0": {
|
||||
"SportCompetitionsContracts/1.0.0": {
|
||||
"type": "project",
|
||||
"framework": ".NETCoreApp,Version=v7.0",
|
||||
"dependencies": {
|
||||
"SportCompetitionsDataModels": "1.0.0"
|
||||
},
|
||||
"compile": {
|
||||
"bin/placeholder/SportCompetitionsContracts.dll": {}
|
||||
},
|
||||
"runtime": {
|
||||
"bin/placeholder/SportCompetitionsContracts.dll": {}
|
||||
}
|
||||
},
|
||||
"SportCompetitionsDataModels/1.0.0": {
|
||||
"type": "project",
|
||||
"framework": ".NETCoreApp,Version=v7.0",
|
||||
"compile": {
|
||||
"bin/placeholder/SportCompetitionsDataModels.dll": {}
|
||||
},
|
||||
"runtime": {
|
||||
"bin/placeholder/SportCompetitionsDataModels.dll": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"libraries": {
|
||||
"SportCompetitionsContracts/1.0.0": {
|
||||
"type": "project",
|
||||
"path": "../SportCompetitionsContracts/SportCompetitionsContracts.csproj",
|
||||
"msbuildProject": "../SportCompetitionsContracts/SportCompetitionsContracts.csproj"
|
||||
},
|
||||
"SportCompetitionsDataModels/1.0.0": {
|
||||
"type": "project",
|
||||
"path": "../SportCompetitionsDataModels/SportCompetitionsDataModels.csproj",
|
||||
"msbuildProject": "../SportCompetitionsDataModels/SportCompetitionsDataModels.csproj"
|
||||
}
|
||||
},
|
||||
"projectFileDependencyGroups": {
|
||||
"net7.0": [
|
||||
"SportCompetitionsContracts >= 1.0.0",
|
||||
"SportCompetitionsDataModels >= 1.0.0"
|
||||
]
|
||||
},
|
||||
"packageFolders": {
|
||||
"C:\\Users\\Леонид\\.nuget\\packages\\": {}
|
||||
},
|
||||
"project": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj",
|
||||
"projectName": "SportCompetitionsBusinessLogic",
|
||||
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj",
|
||||
"packagesPath": "C:\\Users\\Леонид\\.nuget\\packages\\",
|
||||
"outputPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\Леонид\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"net7.0"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net7.0": {
|
||||
"targetAlias": "net7.0",
|
||||
"projectReferences": {
|
||||
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj": {
|
||||
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsContracts\\SportCompetitionsContracts.csproj"
|
||||
},
|
||||
"F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj": {
|
||||
"projectPath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsDataModels\\SportCompetitionsDataModels.csproj"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
}
|
||||
},
|
||||
"frameworks": {
|
||||
"net7.0": {
|
||||
"targetAlias": "net7.0",
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48",
|
||||
"net481"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.400\\RuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
8
SportCompetitionsBusinessLogic/obj/project.nuget.cache
Normal file
8
SportCompetitionsBusinessLogic/obj/project.nuget.cache
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"version": 2,
|
||||
"dgSpecHash": "EeSMBrv15H+BpdJAnB7z7LT5OlHKMR3tdaQ8Dj/XUyGJlqAoEAArRVHN5JUCdPthkct2OoBxVYhfPg2zqwIisg==",
|
||||
"success": true,
|
||||
"projectFilePath": "F:\\SUBD\\lab4\\SportCompetitions\\SportCompetitionsBusinessLogic\\SportCompetitionsBusinessLogic.csproj",
|
||||
"expectedPackageFiles": [],
|
||||
"logs": []
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user