From 1794e84292cded9903e65ae1171ec0f454cd82d4 Mon Sep 17 00:00:00 2001 From: JerryImMouse Date: Fri, 14 Jun 2024 08:17:26 +0500 Subject: [PATCH] nuget stuff --- .gitignore | 5 ++++- Jerry.Utilities/Jerry.Utilities.csproj | 12 ++++++++++-- README.md | 15 +++++++-------- 3 files changed, 21 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index fe06267..9bb3348 100644 --- a/.gitignore +++ b/.gitignore @@ -225,4 +225,7 @@ AppPackages/ ##### # End of core ignore list, below put you custom 'per project' settings (patterns or path) -##### \ No newline at end of file +##### + +# Nuget +nuget.config \ No newline at end of file diff --git a/Jerry.Utilities/Jerry.Utilities.csproj b/Jerry.Utilities/Jerry.Utilities.csproj index bace3d5..c1b4f8f 100644 --- a/Jerry.Utilities/Jerry.Utilities.csproj +++ b/Jerry.Utilities/Jerry.Utilities.csproj @@ -6,9 +6,13 @@ enable true JerryImMouse.Project.Utilities - 0.0.6 + 0.0.7 JerryImMouse JerryImMouse + https://github.com/JerryImMouse/jerry-utils + LICENSE.txt + README.md + JerryImMouse @@ -16,5 +20,9 @@ - + + + + + diff --git a/README.md b/README.md index de89f4b..877063b 100644 --- a/README.md +++ b/README.md @@ -8,14 +8,14 @@ Currently it contains: - **TypeHelpers, CollectionExtensions** - **MathHelper, LockUtilities** - **[Http Utility](#http-utility)** -> ### Important Note
+> ### Important Note > All this utilities depends on each other, so make sure you copied all parts of this pack into your project. ## Inversion of Control realization IoC manager built with three simple DependencyContainers which inherits IDependencyCollection interface, so you can choose what realization you need to use in your case. Also provided simple IoCManager to retrieve or inject dependencies into DependencyCollection. You can find its realization [here](https://github.com/JerryImMouse/jerry-utils/blob/master/Project.Utilities/IoC/General/IoCManager.cs) -> ### Important Note
+> ### Important Note > IoCManager is being built using IoCManagerBuilder class, in coupe with InitializeDependencies method > So you need to build settings with builder and pass them into InitializeDependencies method @@ -28,13 +28,13 @@ Currently there are three realizations of IDependencyCollection interface: ### FrozenDependencyCollection Uses FrozenDictionary to store dependency types and instances. Created for fast searching values in it. -FrozenDictionary is immutable, so if I wanted to inject something I had to convert it back to Dictionary and then again to FrozenDictioanary, this operations takes a lot of runtime time(~500 microseconds).
-So I created another implementation with usual Dictionary for periodical registering.
+FrozenDictionary is immutable, so if I wanted to inject something I had to convert it back to Dictionary and then again to FrozenDictioanary, this operations takes a lot of runtime time(~500 microseconds). +So I created another implementation with usual Dictionary for periodical registering. [Realization](https://github.com/JerryImMouse/jerry-utils/blob/master/Project.Utilities/IoC/Frozen/FrozenDependencyCollection.cs) ### DependencyCollection -Uses simple Dicionary type to store dependency types and their instances.
-Created to replace FrozenDictionary because of high speed of adding items.
+Uses simple Dicionary type to store dependency types and their instances. +Created to replace FrozenDictionary because of high speed of adding items. [Realization](https://github.com/JerryImMouse/jerry-utils/blob/master/Project.Utilities/IoC/Default/DependencyCollection.cs) ### ReferencedDependencyCollection @@ -42,10 +42,9 @@ Uses FrozenDictionary to store dependency types and instances, BUT it index its If you want to know more you can checkout its realization [here](https://github.com/JerryImMouse/jerry-utils/blob/master/Project.Utilities/IoC/Referenced/DepIdx.cs) ## Logging -This pack includes "advanced" logging system with ANSI colors for windows consoles and colorless if linux. Also supports logging straight to files, you can specify which handler to use by HandlerFlags enum.
If you want to know how to use it look [here](https://github.com/JerryImMouse/jerry-utils/blob/master/Project.Utilities/Examples/LoggingExample/ExampleProgram.cs)
+This pack includes "advanced" logging system with ANSI colors for windows consoles and colorless if linux. Also supports logging straight to files, you can specify which handler to use by HandlerFlags enum. If you want to know how to use it look [here](https://github.com/JerryImMouse/jerry-utils/blob/master/Project.Utilities/Examples/LoggingExample/ExampleProgram.cs) [Logger Realization](https://github.com/JerryImMouse/jerry-utils/blob/master/Project.Utilities/Logging/Logger.cs) ## Http Utility This one implements simple MainListener class that wraps HttpListener for ease of use, this also implements handlers group interface that can be inherited and used to create a class of handlers for http requests. HttpContext is a wrapper class that wraps around HttpListenerContext and provides a lot of tools to respond on http requests easily. Created for my personal use as I needed it. -
\ No newline at end of file