From 974a8675b428c75a5c9870b503e0e2725ff641ae Mon Sep 17 00:00:00 2001 From: Osyagina_Anna Date: Wed, 1 May 2024 21:36:42 +0400 Subject: [PATCH] LabWork06 --- ProjectMotorboat/ProjectMotorboat/BoatDelegate.cs | 6 ------ .../CollectionGenericObjects/AbstractCompany.cs | 3 +-- .../CollectionGenericObjects/CollectionType.cs | 7 +------ .../CollectionGenericObjects/HarborService.cs | 2 +- .../CollectionGenericObjects/ICollectionGenericObjects.cs | 7 +------ .../CollectionGenericObjects/ListGenericObjects.cs | 8 +------- .../CollectionGenericObjects/MassiveGenericObjects.cs | 4 +--- .../CollectionGenericObjects/StorageCollection.cs | 4 ---- .../ProjectMotorboat/Drownings/DirectionType.cs | 7 +------ .../ProjectMotorboat/Drownings/DrawningBoat.cs | 6 ------ .../ProjectMotorboat/Drownings/ExtentionDrawningBoat.cs | 5 ----- ProjectMotorboat/ProjectMotorboat/Entities/EntityBoat.cs | 8 +------- ProjectMotorboat/ProjectMotorboat/FormBoatCollection.cs | 1 - 13 files changed, 8 insertions(+), 60 deletions(-) diff --git a/ProjectMotorboat/ProjectMotorboat/BoatDelegate.cs b/ProjectMotorboat/ProjectMotorboat/BoatDelegate.cs index d7c5e5d..dc0416c 100644 --- a/ProjectMotorboat/ProjectMotorboat/BoatDelegate.cs +++ b/ProjectMotorboat/ProjectMotorboat/BoatDelegate.cs @@ -1,10 +1,4 @@ using ProjectMotorboat.Drownings; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - namespace ProjectMotorboat; public delegate void BoatDelegate(DrawningBoat car); \ No newline at end of file diff --git a/ProjectMotorboat/ProjectMotorboat/CollectionGenericObjects/AbstractCompany.cs b/ProjectMotorboat/ProjectMotorboat/CollectionGenericObjects/AbstractCompany.cs index 128367e..c7ad6bf 100644 --- a/ProjectMotorboat/ProjectMotorboat/CollectionGenericObjects/AbstractCompany.cs +++ b/ProjectMotorboat/ProjectMotorboat/CollectionGenericObjects/AbstractCompany.cs @@ -1,5 +1,4 @@ -using ProjectMotorboat.CollectionGenericObjects; -using ProjectMotorboat.Drownings; +using ProjectMotorboat.Drownings; namespace ProjectMotorboat.CollectionGenericObjects; diff --git a/ProjectMotorboat/ProjectMotorboat/CollectionGenericObjects/CollectionType.cs b/ProjectMotorboat/ProjectMotorboat/CollectionGenericObjects/CollectionType.cs index eb3ec09..5d33f5c 100644 --- a/ProjectMotorboat/ProjectMotorboat/CollectionGenericObjects/CollectionType.cs +++ b/ProjectMotorboat/ProjectMotorboat/CollectionGenericObjects/CollectionType.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - + namespace ProjectMotorboat.CollectionGenericObjects; public enum CollectionType diff --git a/ProjectMotorboat/ProjectMotorboat/CollectionGenericObjects/HarborService.cs b/ProjectMotorboat/ProjectMotorboat/CollectionGenericObjects/HarborService.cs index be39f68..92b0618 100644 --- a/ProjectMotorboat/ProjectMotorboat/CollectionGenericObjects/HarborService.cs +++ b/ProjectMotorboat/ProjectMotorboat/CollectionGenericObjects/HarborService.cs @@ -1,4 +1,4 @@ -using ProjectMotorboat.CollectionGenericObjects; + using ProjectMotorboat.Drownings; namespace ProjectMotorboat.CollectionGenericObjects; diff --git a/ProjectMotorboat/ProjectMotorboat/CollectionGenericObjects/ICollectionGenericObjects.cs b/ProjectMotorboat/ProjectMotorboat/CollectionGenericObjects/ICollectionGenericObjects.cs index 155355d..21b201c 100644 --- a/ProjectMotorboat/ProjectMotorboat/CollectionGenericObjects/ICollectionGenericObjects.cs +++ b/ProjectMotorboat/ProjectMotorboat/CollectionGenericObjects/ICollectionGenericObjects.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - + namespace ProjectMotorboat.CollectionGenericObjects; public interface ICollectionGenericObjects diff --git a/ProjectMotorboat/ProjectMotorboat/CollectionGenericObjects/ListGenericObjects.cs b/ProjectMotorboat/ProjectMotorboat/CollectionGenericObjects/ListGenericObjects.cs index f9cfbe5..0a0c710 100644 --- a/ProjectMotorboat/ProjectMotorboat/CollectionGenericObjects/ListGenericObjects.cs +++ b/ProjectMotorboat/ProjectMotorboat/CollectionGenericObjects/ListGenericObjects.cs @@ -1,10 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace ProjectMotorboat.CollectionGenericObjects; +namespace ProjectMotorboat.CollectionGenericObjects; public class ListGenericObjects : ICollectionGenericObjects diff --git a/ProjectMotorboat/ProjectMotorboat/CollectionGenericObjects/MassiveGenericObjects.cs b/ProjectMotorboat/ProjectMotorboat/CollectionGenericObjects/MassiveGenericObjects.cs index 6047760..4eef7ae 100644 --- a/ProjectMotorboat/ProjectMotorboat/CollectionGenericObjects/MassiveGenericObjects.cs +++ b/ProjectMotorboat/ProjectMotorboat/CollectionGenericObjects/MassiveGenericObjects.cs @@ -1,6 +1,4 @@ - - -namespace ProjectMotorboat.CollectionGenericObjects; +namespace ProjectMotorboat.CollectionGenericObjects; public class MassiveGenericObjects : ICollectionGenericObjects where T : class { diff --git a/ProjectMotorboat/ProjectMotorboat/CollectionGenericObjects/StorageCollection.cs b/ProjectMotorboat/ProjectMotorboat/CollectionGenericObjects/StorageCollection.cs index bcd556a..c83a440 100644 --- a/ProjectMotorboat/ProjectMotorboat/CollectionGenericObjects/StorageCollection.cs +++ b/ProjectMotorboat/ProjectMotorboat/CollectionGenericObjects/StorageCollection.cs @@ -1,9 +1,5 @@ using ProjectMotorboat.Drownings; -using System; -using System.Collections.Generic; -using System.Linq; using System.Text; -using System.Threading.Tasks; namespace ProjectMotorboat.CollectionGenericObjects; diff --git a/ProjectMotorboat/ProjectMotorboat/Drownings/DirectionType.cs b/ProjectMotorboat/ProjectMotorboat/Drownings/DirectionType.cs index 1741509..5ef15f9 100644 --- a/ProjectMotorboat/ProjectMotorboat/Drownings/DirectionType.cs +++ b/ProjectMotorboat/ProjectMotorboat/Drownings/DirectionType.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - + namespace ProjectMotorboat.Drownings { public enum DirectionType diff --git a/ProjectMotorboat/ProjectMotorboat/Drownings/DrawningBoat.cs b/ProjectMotorboat/ProjectMotorboat/Drownings/DrawningBoat.cs index 8a6c937..d117ab8 100644 --- a/ProjectMotorboat/ProjectMotorboat/Drownings/DrawningBoat.cs +++ b/ProjectMotorboat/ProjectMotorboat/Drownings/DrawningBoat.cs @@ -1,10 +1,4 @@ using ProjectMotorboat.Entities; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - namespace ProjectMotorboat.Drownings; public class DrawningBoat diff --git a/ProjectMotorboat/ProjectMotorboat/Drownings/ExtentionDrawningBoat.cs b/ProjectMotorboat/ProjectMotorboat/Drownings/ExtentionDrawningBoat.cs index 39a31be..4106627 100644 --- a/ProjectMotorboat/ProjectMotorboat/Drownings/ExtentionDrawningBoat.cs +++ b/ProjectMotorboat/ProjectMotorboat/Drownings/ExtentionDrawningBoat.cs @@ -1,9 +1,4 @@ using ProjectMotorboat.Entities; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace ProjectMotorboat.Drownings; public static class ExtentionDrawningBoat diff --git a/ProjectMotorboat/ProjectMotorboat/Entities/EntityBoat.cs b/ProjectMotorboat/ProjectMotorboat/Entities/EntityBoat.cs index 9dfd7c1..d588e23 100644 --- a/ProjectMotorboat/ProjectMotorboat/Entities/EntityBoat.cs +++ b/ProjectMotorboat/ProjectMotorboat/Entities/EntityBoat.cs @@ -1,10 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace ProjectMotorboat.Entities; +namespace ProjectMotorboat.Entities; public class EntityBoat { diff --git a/ProjectMotorboat/ProjectMotorboat/FormBoatCollection.cs b/ProjectMotorboat/ProjectMotorboat/FormBoatCollection.cs index ddfc166..13dc2d2 100644 --- a/ProjectMotorboat/ProjectMotorboat/FormBoatCollection.cs +++ b/ProjectMotorboat/ProjectMotorboat/FormBoatCollection.cs @@ -1,6 +1,5 @@ using ProjectMotorboat.CollectionGenericObjects; using ProjectMotorboat.Drownings; -using System.Windows.Forms; namespace ProjectMotorboat; public partial class FormBoatCollection : Form