joshika39.Core
meant to enhance the basic C# functionalities, like the Console.Readline
or storing data in json
format. The project is actively being updated. If you have any enchantment idea create an Enhancement Issue or a Bug on that matter.
- Download the
Core
package from nuget.org via any Nuget package manager - Downlaod it from github.com via any Nuget package manager
First you have to create a new ServiceCollection
and then create an instance from the CoreModule
class.
Then call the LoadModules
function of the CoreModule
class with the desired namespace.
NOTE: The namespace is the scope of your project which uses the
joshika39.Core
package
Finally you can use the implementations from the result of the collection.BuildServiceProvider()
which has a type of IServiceProvider
var collection = new ServiceCollection();
new CoreModule().LoadModules(collection, "reader-tests");
var provider = collection.BuildServiceProvider();
Check the Wiki for further details.
-
Console
functionalities -
Json
functionalities -
File
functionalities -
String
functionalities