From 9b435a910d33d5e2a31cf392199dc6a22ca3e298 Mon Sep 17 00:00:00 2001 From: Alexandru Macocian Date: Fri, 26 Mar 2021 12:13:50 +0100 Subject: [PATCH] Added license --- LICENSE | 21 ++++++ Slim/Slim.csproj | 15 +++- Slim/Slim.xml | 178 ++++++++++++++++++++++++++++++++++++++++++++--- 3 files changed, 201 insertions(+), 13 deletions(-) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..5844c61 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2020 Macocian Alexandru Victor + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/Slim/Slim.csproj b/Slim/Slim.csproj index aed060a..afc9a3a 100644 --- a/Slim/Slim.csproj +++ b/Slim/Slim.csproj @@ -7,16 +7,25 @@ Service lifetime management and dependency injection framework. - 1.0.2.0 - 1.0.2.0 + 1.0.2.1 + 1.0.2.1 https://github.com/AlexMacocian/Slim - 1.2.0 + 1.2.1 true true + true + LICENSE C:\Users\Owner\source\repos\Slim\Slim\Slim.xml + + + True + + + + diff --git a/Slim/Slim.xml b/Slim/Slim.xml index 81b96ff..7171a55 100644 --- a/Slim/Slim.xml +++ b/Slim/Slim.xml @@ -9,6 +9,17 @@ Interface for . + + + Register the current service manager as a valid dependency. + + Same functionality as calling with current . + + + + Builds all registered singletons. + + Marks a type of exception to be caught and handled. @@ -31,13 +42,48 @@ Interface allowing to produce services for the . + + + Register a service into with . + Registers the service for all interfaces it implements. + + Type of implementation. + Thrown when contains an entry for the provided interface type. + + + + Register a service into with . + Registers the service for all interfaces it implements. + + Type of implementation. + Factory for the implementation. + Thrown when the provided serviceFactory is null. + Thrown when contains an entry for the provided interface type. + + + + Register a service into with . + Registers the service for all interfaces it implements. + + Type of implementation. + Thrown when contains an entry for the provided interface type. + + + + Register a service into with . + Registers the service for all interfaces it implements. + + Type of implementation. + Factory for the implementation. + Thrown when the provided serviceFactory is null. + Thrown when contains an entry for the provided interface type. + Register a service into with . Type of interface. Type of implementation. - Thrown when the provided serviceFactory is null. Thrown when contains an entry for the provided interface type. @@ -56,7 +102,6 @@ Type of interface. Type of implementation. - Thrown when the provided serviceFactory is null. Thrown when contains an entry for the provided interface type. @@ -75,7 +120,6 @@ Type of interface. Type of implementation. - Thrown when the provided serviceFactory is null. Thrown when contains an entry for the provided interface type. @@ -94,10 +138,9 @@ Type of interface. Type of implementation. - Thrown when the provided serviceFactory is null. Thrown when contains an entry for the provided interface type. - + Register a service into with . @@ -107,6 +150,42 @@ Thrown when the provided serviceFactory is null. Thrown when contains an entry for the provided interface type. + + + Register a service into with . + Registers the service for all interfaces it implements. + + Type of implementation. + Thrown when contains an entry for the provided interface type. + + + + Register a service into with . + Registers the service for all interfaces it implements. + + Type of implementation. + Factory for implementation. + Thrown when the provided serviceFactory is null. + Thrown when contains an entry for the provided interface type. + + + + Register a service into with . + Registers the service for all interfaces it implements. + + Type of implementation. + Thrown when contains an entry for the provided interface type. + + + + Register a service into with . + Registers the service for all interfaces it implements. + + Type of implementation. + Factory for implementation. + Thrown when the provided serviceFactory is null. + Thrown when contains an entry for the provided interface type. + Interface allowing to request services from the . @@ -139,7 +218,6 @@ Type of interface. Type of implementation. - Thrown when the provided serviceFactory is null. Thrown when contains an entry for the provided interface type. @@ -158,7 +236,6 @@ Type of interface. Type of implementation. - Thrown when the provided serviceFactory is null. Thrown when contains an entry for the provided interface type. @@ -177,7 +254,6 @@ Type of interface. Type of implementation. - Thrown when the provided serviceFactory is null. Thrown when contains an entry for the provided interface type. @@ -196,10 +272,9 @@ Type of interface. Type of implementation. - Thrown when the provided serviceFactory is null. Thrown when contains an entry for the provided interface type. - + Register a service into with . @@ -209,6 +284,84 @@ Thrown when the provided serviceFactory is null. Thrown when contains an entry for the provided interface type. + + + Register a service into with . + Registers the service for all interfaces it implements. + + Type of implementation. + Thrown when contains an entry for the provided interface type. + + + + Register a service into with . + Registers the service for all interfaces it implements. + + Type of implementation. + Factory for the implementation. + Thrown when the provided serviceFactory is null. + Thrown when contains an entry for the provided interface type. + + + + Register a service into with . + Registers the service for all interfaces it implements. + + Type of implementation. + Thrown when contains an entry for the provided interface type. + + + + Register a service into with . + Registers the service for all interfaces it implements. + + Type of implementation. + Factory for the implementation. + Thrown when the provided serviceFactory is null. + Thrown when contains an entry for the provided interface type. + + + + Register a service into with . + Registers the service for all interfaces it implements. + + Type of implementation. + Thrown when contains an entry for the provided interface type. + + + + Register a service into with . + Registers the service for all interfaces it implements. + + Type of implementation. + Factory for implementation. + Thrown when the provided serviceFactory is null. + Thrown when contains an entry for the provided interface type. + + + + Register a service into with . + Registers the service for all interfaces it implements. + + Type of implementation. + Thrown when contains an entry for the provided interface type. + + + + Register a service into with . + Registers the service for all interfaces it implements. + + Type of implementation. + Factory for implementation. + Thrown when the provided serviceFactory is null. + Thrown when contains an entry for the provided interface type. + + + + Register the current service manager as a valid dependency. + + Same functionality as calling with current . + Resolves and returns the required service. @@ -242,5 +395,10 @@ Calls on all singletons. + + + Build all registered singletons. + +