two left
This commit is contained in:
77
labs/lab7_done/MyClass/Book.cs
Normal file
77
labs/lab7_done/MyClass/Book.cs
Normal file
@@ -0,0 +1,77 @@
|
||||
using System;
|
||||
|
||||
class Book : Item
|
||||
{
|
||||
private String author;
|
||||
private String title;
|
||||
private String publisher;
|
||||
private int pages;
|
||||
private int year;
|
||||
private bool returnSrok;
|
||||
|
||||
private static double price = 9;
|
||||
|
||||
static Book()
|
||||
{
|
||||
price = 10;
|
||||
}
|
||||
|
||||
public Book()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
public Book(String author, String title, String publisher, int pages, int year, long invNumber, bool taken) : base (invNumber, taken)
|
||||
{
|
||||
this.author = author;
|
||||
this.title = title;
|
||||
this.publisher = publisher;
|
||||
this.pages = pages;
|
||||
this.year = year;
|
||||
}
|
||||
|
||||
public Book(String author, String title)
|
||||
{
|
||||
this.author = author;
|
||||
this.title = title;
|
||||
}
|
||||
|
||||
public void SetBook(String author, String title, String publisher, int pages, int year)
|
||||
{
|
||||
this.author = author;
|
||||
this.title = title;
|
||||
this.publisher = publisher;
|
||||
this.pages = pages;
|
||||
this.year = year;
|
||||
}
|
||||
|
||||
public static void SetPrice(double price)
|
||||
{
|
||||
Book.price = price;
|
||||
}
|
||||
|
||||
|
||||
public override void Show()
|
||||
{
|
||||
Console.WriteLine("\nКнига:\n Автор: {0}\n Название: {1}\n Год издания: {2}\n {3} стр.\n Стоимость аренды: {4}", author, title, year, pages, Book.price);
|
||||
base.Show();
|
||||
}
|
||||
|
||||
|
||||
public double PriceBook(int s)
|
||||
{
|
||||
double cost = s * price;
|
||||
return cost;
|
||||
}
|
||||
|
||||
public void ReturnSrok()
|
||||
{
|
||||
returnSrok = true;
|
||||
}
|
||||
|
||||
public override void Return()
|
||||
{
|
||||
taken = returnSrok;
|
||||
}
|
||||
}
|
||||
47
labs/lab7_done/MyClass/Item.cs
Normal file
47
labs/lab7_done/MyClass/Item.cs
Normal file
@@ -0,0 +1,47 @@
|
||||
using System;
|
||||
|
||||
abstract class Item
|
||||
{
|
||||
protected long invNumber;
|
||||
protected bool taken;
|
||||
|
||||
public Item(long invNumber, bool taken)
|
||||
{
|
||||
this.invNumber = invNumber;
|
||||
this.taken = taken;
|
||||
}
|
||||
|
||||
public Item()
|
||||
{
|
||||
this.taken = true;
|
||||
}
|
||||
|
||||
public bool IsAvailable()
|
||||
{
|
||||
return taken;
|
||||
}
|
||||
|
||||
public long GetInvNumber()
|
||||
{
|
||||
return invNumber;
|
||||
}
|
||||
|
||||
private void Take()
|
||||
{
|
||||
taken = false;
|
||||
}
|
||||
|
||||
public void TakeItem()
|
||||
{
|
||||
if (this.IsAvailable())
|
||||
this.Take();
|
||||
}
|
||||
|
||||
|
||||
abstract public void Return();
|
||||
|
||||
public virtual void Show()
|
||||
{
|
||||
Console.WriteLine("Состояние единицы хранения:\n Инвентарный номер: {0}\n Наличие: {1}", invNumber, taken);
|
||||
}
|
||||
}
|
||||
33
labs/lab7_done/MyClass/Magazine.cs
Normal file
33
labs/lab7_done/MyClass/Magazine.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
using System;
|
||||
|
||||
class Magazine : Item
|
||||
{
|
||||
private String volume;
|
||||
private int number;
|
||||
private String title;
|
||||
private int year;
|
||||
|
||||
public Magazine(String volume, int number, String title, int year, long invNumber, bool taken) : base(invNumber, taken)
|
||||
{
|
||||
this.volume = volume;
|
||||
this.number = number;
|
||||
this.title = title;
|
||||
this.year = year;
|
||||
}
|
||||
|
||||
public Magazine()
|
||||
{}
|
||||
|
||||
public override void Show()
|
||||
{
|
||||
Console.WriteLine("\nЖурнал:\n Том: {0}\n Номер: {1}\n Название: {2}\n Год выпуска: {3}", volume, number, title, year);
|
||||
base.Show();
|
||||
}
|
||||
|
||||
|
||||
public override void Return()
|
||||
{
|
||||
taken = true;
|
||||
}
|
||||
|
||||
}
|
||||
10
labs/lab7_done/MyClass/MyClass.csproj
Normal file
10
labs/lab7_done/MyClass/MyClass.csproj
Normal file
@@ -0,0 +1,10 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net9.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
||||
59
labs/lab7_done/MyClass/Program.cs
Normal file
59
labs/lab7_done/MyClass/Program.cs
Normal file
@@ -0,0 +1,59 @@
|
||||
using System;
|
||||
|
||||
public class Program
|
||||
{
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
/*
|
||||
Book b1 = new Book();
|
||||
b1.SetBook("Пушкин А.С.", "Капитанская дочка", "Вильямс", 123, 2012);
|
||||
Book.SetPrice(12);
|
||||
b1.Show();
|
||||
Console.WriteLine("\n Итоговая стоимость аренды: {0} р.", b1.PriceBook(3));
|
||||
|
||||
Book b2 = new Book("Толстой Л.Н.", "Война и мир", "Наука и жизнь", 1234, 2013);
|
||||
b2.Show();
|
||||
|
||||
Book b3 = new Book("Лермонтов М.Ю.", "Мцыри");
|
||||
b3.Show();
|
||||
|
||||
|
||||
Triangle t1 = new Triangle(3, 4, 5);
|
||||
t1.Show();
|
||||
Console.WriteLine("perimeter = {0}", t1.Perimeter());
|
||||
Console.WriteLine("area = {0}", t1.Area());
|
||||
Console.WriteLine("does this triangle exist? {0}", t1.Exists());
|
||||
|
||||
Triangle t2 = new Triangle(3, 4, 7);
|
||||
t2.Show();
|
||||
Console.WriteLine("does this triangle exist? {0}", t2.Exists());
|
||||
*/
|
||||
|
||||
// Item item1 = new Item();
|
||||
// item1.Show();
|
||||
|
||||
Book b2 = new Book("Толстой Л. Н.", "Война и мир", "Наука и жизнь", 1234, 2013, 101, true);
|
||||
|
||||
b2.Show();
|
||||
b2.TakeItem();
|
||||
b2.Show();
|
||||
|
||||
|
||||
Magazine mag1 = new Magazine("О природе", 5, "Земля и мы", 2014, 1235, true);
|
||||
mag1.Show();
|
||||
|
||||
Console.WriteLine("\n Тестирование полиформизма");
|
||||
Item it;
|
||||
|
||||
it = b2;
|
||||
it.TakeItem();
|
||||
it.Return();
|
||||
it.Show();
|
||||
|
||||
it = mag1;
|
||||
it.TakeItem();
|
||||
it.Return();
|
||||
it.Show();
|
||||
|
||||
}
|
||||
}
|
||||
42
labs/lab7_done/MyClass/Triangle.cs
Normal file
42
labs/lab7_done/MyClass/Triangle.cs
Normal file
@@ -0,0 +1,42 @@
|
||||
using System;
|
||||
|
||||
class Triangle
|
||||
{
|
||||
private int a;
|
||||
private int b;
|
||||
private int c;
|
||||
|
||||
public Triangle(int a, int b, int c)
|
||||
{
|
||||
this.a = a;
|
||||
this.b = b;
|
||||
this.c = c;
|
||||
}
|
||||
|
||||
public void Show()
|
||||
{
|
||||
Console.WriteLine("a: {0}\nb: {1}\nc: {2}", a, b, c);
|
||||
}
|
||||
|
||||
public int Perimeter()
|
||||
{
|
||||
return a + b + c;
|
||||
}
|
||||
|
||||
public double Area()
|
||||
{
|
||||
double p = Perimeter() / 2;
|
||||
return Math.Sqrt(p * (p - a) * (p - b) * (p - c));
|
||||
}
|
||||
|
||||
public bool Exists()
|
||||
{
|
||||
if (a <= 0 || b <= 0 || c <= 0) return false;
|
||||
|
||||
double maxSide = Math.Max(Math.Max(a, b), Math.Max(b, c));
|
||||
|
||||
if (maxSide >= a + b + c - maxSide) return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
BIN
labs/lab7_done/MyClass/bin/Debug/net9.0/MyClass
Executable file
BIN
labs/lab7_done/MyClass/bin/Debug/net9.0/MyClass
Executable file
Binary file not shown.
23
labs/lab7_done/MyClass/bin/Debug/net9.0/MyClass.deps.json
Normal file
23
labs/lab7_done/MyClass/bin/Debug/net9.0/MyClass.deps.json
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"runtimeTarget": {
|
||||
"name": ".NETCoreApp,Version=v9.0",
|
||||
"signature": ""
|
||||
},
|
||||
"compilationOptions": {},
|
||||
"targets": {
|
||||
".NETCoreApp,Version=v9.0": {
|
||||
"MyClass/1.0.0": {
|
||||
"runtime": {
|
||||
"MyClass.dll": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"libraries": {
|
||||
"MyClass/1.0.0": {
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
labs/lab7_done/MyClass/bin/Debug/net9.0/MyClass.dll
Normal file
BIN
labs/lab7_done/MyClass/bin/Debug/net9.0/MyClass.dll
Normal file
Binary file not shown.
BIN
labs/lab7_done/MyClass/bin/Debug/net9.0/MyClass.pdb
Normal file
BIN
labs/lab7_done/MyClass/bin/Debug/net9.0/MyClass.pdb
Normal file
Binary file not shown.
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"runtimeOptions": {
|
||||
"tfm": "net9.0",
|
||||
"framework": {
|
||||
"name": "Microsoft.NETCore.App",
|
||||
"version": "9.0.0"
|
||||
},
|
||||
"configProperties": {
|
||||
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v9.0", FrameworkDisplayName = ".NET 9.0")]
|
||||
@@ -0,0 +1,22 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("MyClass")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+8c63118e20b76593817b5efc05943736b1cf730a")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("MyClass")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("MyClass")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
// Generated by the MSBuild WriteCodeFragment class.
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
3c58198e9da904dcc7f71dfdc0c33c0196589953894183afdc08d515002a274c
|
||||
@@ -0,0 +1,15 @@
|
||||
is_global = true
|
||||
build_property.TargetFramework = net9.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 = MyClass
|
||||
build_property.ProjectDir = /home/nik/oop/labs/lab7/MyClass/
|
||||
build_property.EnableComHosting =
|
||||
build_property.EnableGeneratedComInterfaceComImportInterop =
|
||||
build_property.EffectiveAnalysisLevelStyle = 9.0
|
||||
build_property.EnableCodeStyleSeverity =
|
||||
@@ -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
labs/lab7_done/MyClass/obj/Debug/net9.0/MyClass.assets.cache
Normal file
BIN
labs/lab7_done/MyClass/obj/Debug/net9.0/MyClass.assets.cache
Normal file
Binary file not shown.
@@ -0,0 +1 @@
|
||||
a9016e4d6a465816afe7a161ced41d1e99d5343896d13f2f5f5d854dc6c5fd2d
|
||||
@@ -0,0 +1,14 @@
|
||||
/home/nik/oop/labs/lab7/MyClass/bin/Debug/net9.0/MyClass
|
||||
/home/nik/oop/labs/lab7/MyClass/bin/Debug/net9.0/MyClass.deps.json
|
||||
/home/nik/oop/labs/lab7/MyClass/bin/Debug/net9.0/MyClass.runtimeconfig.json
|
||||
/home/nik/oop/labs/lab7/MyClass/bin/Debug/net9.0/MyClass.dll
|
||||
/home/nik/oop/labs/lab7/MyClass/bin/Debug/net9.0/MyClass.pdb
|
||||
/home/nik/oop/labs/lab7/MyClass/obj/Debug/net9.0/MyClass.GeneratedMSBuildEditorConfig.editorconfig
|
||||
/home/nik/oop/labs/lab7/MyClass/obj/Debug/net9.0/MyClass.AssemblyInfoInputs.cache
|
||||
/home/nik/oop/labs/lab7/MyClass/obj/Debug/net9.0/MyClass.AssemblyInfo.cs
|
||||
/home/nik/oop/labs/lab7/MyClass/obj/Debug/net9.0/MyClass.csproj.CoreCompileInputs.cache
|
||||
/home/nik/oop/labs/lab7/MyClass/obj/Debug/net9.0/MyClass.dll
|
||||
/home/nik/oop/labs/lab7/MyClass/obj/Debug/net9.0/refint/MyClass.dll
|
||||
/home/nik/oop/labs/lab7/MyClass/obj/Debug/net9.0/MyClass.pdb
|
||||
/home/nik/oop/labs/lab7/MyClass/obj/Debug/net9.0/MyClass.genruntimeconfig.cache
|
||||
/home/nik/oop/labs/lab7/MyClass/obj/Debug/net9.0/ref/MyClass.dll
|
||||
BIN
labs/lab7_done/MyClass/obj/Debug/net9.0/MyClass.dll
Normal file
BIN
labs/lab7_done/MyClass/obj/Debug/net9.0/MyClass.dll
Normal file
Binary file not shown.
@@ -0,0 +1 @@
|
||||
cf9b031d6181c3e3db59efe4db6ebc6737086e3359187410580364e3ae497f75
|
||||
BIN
labs/lab7_done/MyClass/obj/Debug/net9.0/MyClass.pdb
Normal file
BIN
labs/lab7_done/MyClass/obj/Debug/net9.0/MyClass.pdb
Normal file
Binary file not shown.
BIN
labs/lab7_done/MyClass/obj/Debug/net9.0/apphost
Executable file
BIN
labs/lab7_done/MyClass/obj/Debug/net9.0/apphost
Executable file
Binary file not shown.
BIN
labs/lab7_done/MyClass/obj/Debug/net9.0/ref/MyClass.dll
Normal file
BIN
labs/lab7_done/MyClass/obj/Debug/net9.0/ref/MyClass.dll
Normal file
Binary file not shown.
BIN
labs/lab7_done/MyClass/obj/Debug/net9.0/refint/MyClass.dll
Normal file
BIN
labs/lab7_done/MyClass/obj/Debug/net9.0/refint/MyClass.dll
Normal file
Binary file not shown.
73
labs/lab7_done/MyClass/obj/MyClass.csproj.nuget.dgspec.json
Normal file
73
labs/lab7_done/MyClass/obj/MyClass.csproj.nuget.dgspec.json
Normal file
@@ -0,0 +1,73 @@
|
||||
{
|
||||
"format": 1,
|
||||
"restore": {
|
||||
"/home/nik/oop/labs/lab7/MyClass/MyClass.csproj": {}
|
||||
},
|
||||
"projects": {
|
||||
"/home/nik/oop/labs/lab7/MyClass/MyClass.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "/home/nik/oop/labs/lab7/MyClass/MyClass.csproj",
|
||||
"projectName": "MyClass",
|
||||
"projectPath": "/home/nik/oop/labs/lab7/MyClass/MyClass.csproj",
|
||||
"packagesPath": "/home/nik/.nuget/packages/",
|
||||
"outputPath": "/home/nik/oop/labs/lab7/MyClass/obj/",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"/home/nik/.nuget/NuGet/NuGet.Config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"net9.0"
|
||||
],
|
||||
"sources": {
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net9.0": {
|
||||
"targetAlias": "net9.0",
|
||||
"projectReferences": {}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
},
|
||||
"restoreAuditProperties": {
|
||||
"enableAudit": "true",
|
||||
"auditLevel": "low",
|
||||
"auditMode": "direct"
|
||||
},
|
||||
"SdkAnalysisLevel": "9.0.100"
|
||||
},
|
||||
"frameworks": {
|
||||
"net9.0": {
|
||||
"targetAlias": "net9.0",
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48",
|
||||
"net481"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"downloadDependencies": [
|
||||
{
|
||||
"name": "Microsoft.AspNetCore.App.Ref",
|
||||
"version": "[9.0.9, 9.0.9]"
|
||||
}
|
||||
],
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/9.0.110/PortableRuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
15
labs/lab7_done/MyClass/obj/MyClass.csproj.nuget.g.props
Normal file
15
labs/lab7_done/MyClass/obj/MyClass.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)' == '' ">/home/nik/.nuget/packages/</NuGetPackageRoot>
|
||||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">/home/nik/.nuget/packages/</NuGetPackageFolders>
|
||||
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.12.4</NuGetToolVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<SourceRoot Include="/home/nik/.nuget/packages/" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -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" />
|
||||
78
labs/lab7_done/MyClass/obj/project.assets.json
Normal file
78
labs/lab7_done/MyClass/obj/project.assets.json
Normal file
@@ -0,0 +1,78 @@
|
||||
{
|
||||
"version": 3,
|
||||
"targets": {
|
||||
"net9.0": {}
|
||||
},
|
||||
"libraries": {},
|
||||
"projectFileDependencyGroups": {
|
||||
"net9.0": []
|
||||
},
|
||||
"packageFolders": {
|
||||
"/home/nik/.nuget/packages/": {}
|
||||
},
|
||||
"project": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "/home/nik/oop/labs/lab7/MyClass/MyClass.csproj",
|
||||
"projectName": "MyClass",
|
||||
"projectPath": "/home/nik/oop/labs/lab7/MyClass/MyClass.csproj",
|
||||
"packagesPath": "/home/nik/.nuget/packages/",
|
||||
"outputPath": "/home/nik/oop/labs/lab7/MyClass/obj/",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"/home/nik/.nuget/NuGet/NuGet.Config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"net9.0"
|
||||
],
|
||||
"sources": {
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net9.0": {
|
||||
"targetAlias": "net9.0",
|
||||
"projectReferences": {}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
},
|
||||
"restoreAuditProperties": {
|
||||
"enableAudit": "true",
|
||||
"auditLevel": "low",
|
||||
"auditMode": "direct"
|
||||
},
|
||||
"SdkAnalysisLevel": "9.0.100"
|
||||
},
|
||||
"frameworks": {
|
||||
"net9.0": {
|
||||
"targetAlias": "net9.0",
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48",
|
||||
"net481"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"downloadDependencies": [
|
||||
{
|
||||
"name": "Microsoft.AspNetCore.App.Ref",
|
||||
"version": "[9.0.9, 9.0.9]"
|
||||
}
|
||||
],
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/9.0.110/PortableRuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
10
labs/lab7_done/MyClass/obj/project.nuget.cache
Normal file
10
labs/lab7_done/MyClass/obj/project.nuget.cache
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"version": 2,
|
||||
"dgSpecHash": "VNfUtU6tkz0=",
|
||||
"success": true,
|
||||
"projectFilePath": "/home/nik/oop/labs/lab7/MyClass/MyClass.csproj",
|
||||
"expectedPackageFiles": [
|
||||
"/home/nik/.nuget/packages/microsoft.aspnetcore.app.ref/9.0.9/microsoft.aspnetcore.app.ref.9.0.9.nupkg.sha512"
|
||||
],
|
||||
"logs": []
|
||||
}
|
||||
Reference in New Issue
Block a user