From e9c301163554270a09930470199d3efb50f9ae26 Mon Sep 17 00:00:00 2001 From: malimova Date: Sun, 2 Jun 2024 21:06:40 +0400 Subject: [PATCH] =?UTF-8?q?ListImplements=20=D1=81=20=D0=BE=D1=88=D0=B8?= =?UTF-8?q?=D0=B1=D0=BA=D0=BE=D0=B9,=20=D0=BF=D0=BE=D1=82=D0=BE=D0=BC=20?= =?UTF-8?q?=D0=B8=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB=D1=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ConfectioneryListImplement/BackUpInfo.cs | 21 +++++++++++++++ .../ImplementationExtension.cs | 27 +++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 Confectionery/ConfectioneryListImplement/BackUpInfo.cs create mode 100644 Confectionery/ConfectioneryListImplement/ImplementationExtension.cs diff --git a/Confectionery/ConfectioneryListImplement/BackUpInfo.cs b/Confectionery/ConfectioneryListImplement/BackUpInfo.cs new file mode 100644 index 0000000..854cb16 --- /dev/null +++ b/Confectionery/ConfectioneryListImplement/BackUpInfo.cs @@ -0,0 +1,21 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace ConfectioneryListImplement.Implements +{ + public class BackUpInfo + { + public List? GetList() where T : class, new() + { + throw new NotImplementedException(); + } + + public Type? GetTypeByModelInterface(string modelInterfaceName) + { + throw new NotImplementedException(); + } + } +} diff --git a/Confectionery/ConfectioneryListImplement/ImplementationExtension.cs b/Confectionery/ConfectioneryListImplement/ImplementationExtension.cs new file mode 100644 index 0000000..6e58c2d --- /dev/null +++ b/Confectionery/ConfectioneryListImplement/ImplementationExtension.cs @@ -0,0 +1,27 @@ +using ConfectioneryContracts.DI; +using ConfectioneryContracts.StoragesContracts; +using ConfectioneryListImplement.Implements; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace ConfectioneryListImplement +{ + public class ImplementationExtension : IImplementationExtension + { + public int Priority => 0; + + public void RegisterServices() + { + DependencyManager.Instance.RegisterType(); + DependencyManager.Instance.RegisterType(); + DependencyManager.Instance.RegisterType(); + DependencyManager.Instance.RegisterType(); + DependencyManager.Instance.RegisterType(); + DependencyManager.Instance.RegisterType(); + DependencyManager.Instance.RegisterType(); + } + } +}