Provider initializer clean-template-library for Softwares
This library was created from cropped source-code template from original source. Some code sections are left to be an example. :)
EasyProviders
EasyProviders is an advanced provider/service control singleton-instanced library.
Uses : .NET CORE 1.1 Class Library
Controls and wizards are available for users to:
- Create as easy as possible custom provider service
- Control all providers/services with a single line of code.
- Boot/Shutdown your providers, analyze with StopWatch easily.
- Provide to great, compact, collective, regular manager-accessing in large projects & games etc...
using EasyProviders.Services;
using EasyProviders.Services.Accessibility;
using EasyProviders.Services.Advertising;
using EasyProviders.Services.Analytics;
using EasyProviders.Services.Audio;
using EasyProviders.Services.Globalization;
using EasyProviders.Services.Holiday;
using EasyProviders.Services.Internationalization;
using EasyProviders.Services.IO;
using EasyProviders.Services.Multilingualization;
using EasyProviders.Services.Personalization;
using EasyProviders.Services.Social;
using EasyProviders.Services.Storage;
using EasyProviders.Services.Store;
using EasyProviders.Services.Achievement;
using EasyProviders.Services.Localization;
using EasyProviders.Services.Notification;
GameServices SDK = new GameServices();
Dictionary<ProviderType, ServiceProvider.InitializeContext> initDic = new Dictionary<ProviderType, ServiceProvider.InitializeContext>();
initDic.Add(ProviderType.Accessibility, new AccessibilityProvider.InitializeContext());
initDic.Add(ProviderType.Achievement, new AchievementProvider.InitializeContext());
initDic.Add(ProviderType.Advertising, new AdvertisingProvider.InitializeContext());
initDic.Add(ProviderType.Analytics, new AnalyticsProvider.InitializeContext());
initDic.Add(ProviderType.Audio, new AudioProvider.InitializeContext());
initDic.Add(ProviderType.Globalization, new GlobalizationProvider.InitializeContext());
initDic.Add(ProviderType.Holiday, new HolidayProvider.InitializeContext());
initDic.Add(ProviderType.Internationalization, new InternationalizationProvider.InitializeContext());
initDic.Add(ProviderType.IO, new IOProvider.InitializeContext());
initDic.Add(ProviderType.Localization, new LocalizationProvider.InitializeContext());
initDic.Add(ProviderType.Multilingualization, new MultilingualizationProvider.InitializeContext());
initDic.Add(ProviderType.Notification, new NotificationProvider.InitializeContext());
initDic.Add(ProviderType.Personalization, new PersonalizationProvider.InitializeContext());
initDic.Add(ProviderType.Social, new SocialProvider.InitializeContext());
initDic.Add(ProviderType.Storage, new StorageProvider.InitializeContext());
initDic.Add(ProviderType.Store, new StoreProvider.InitializeContext());
SDK.SetSafeMode(false);
SDK.SetDebugMode(false);
Variable | Type |
---|---|
IsDebugMode |
public (readonly) |
IsSafeMode |
public (readonly) |
SDK.Initialize(initDic);
SDK.Boot(delegate (bool success) {
if (success) {
//OnSuccess
} else {
//OnFailed
}
});
SDK.Shutdown(delegate (bool success) {
if (success) {
//OnSuccess
} else {
//OnFailed
}
});
EasyProviders was created to serve three purposes:
EasyProviders is a advanced providers/services/managers/singleton controller
-
To act as a library to control providers/services/managers.
-
To provide a strong debugging, life-saver and advanced library for any bigger software & game project that requires a singleton/manager system architecture.
-
Instead of writing long and complex code every time, it provides the easiest and strongest way.
Project Manager - Furkan Türkal (GitHub: dentrax)
We publish source for the [EasyProviders] in three rolling branches:
We publish source for the engine in three rolling branches:
The release branch is extensively tested by our QA team and makes a great starting point for learning the EasyProviders.
The promoted branch is updated with builds for our team members to use. It's a good balance between getting the latest cool stuff and knowing most things work.
The master branch tracks live changes by our EasyProviders team. This is the cutting edge and may be buggy - it may not even compile.
Other short-lived branches may pop-up from time to time as we stabilize new releases or hotfixes.
The base project code is copyrighted by Furkan 'Dentrax' Türkal and is covered by single licence.
All program code (i.e. C#, Java) is licensed under GPL v3.0 unless otherwise specified. Please see the "LICENSE" file for more information.
Please check the CONTRIBUTING.md file for contribution instructions and naming guidelines.
EasyProviders was created by Furkan 'Dentrax' Türkal
You can contact EasyProviders by URL: CONTACT
Best Regards