Skip to content

KsWare/KsWare.Presentation.StaticWrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KsWare.Presentation.StaticWrapper

[DRAFT] Replacements for static classes.

Replacements

Case Solution
Application.Current.Dispatcher ApplicationDispatcher
Application ApplicationWrapper

Nuget Development Feet

https://ci.appveyor.com/nuget/KsWare.Presentation.StaticWrapper

ApplicationDispatcher

Extendable static class. ### Usage: Static:

ApplicationDispatcher.Do.RunAsync(...)

or if you prefer MEF:

[Import] IApplicationDispatcher ApplicationDispatcher;
ApplicationDispatcher.Do.RunAsync(...)

Extended:

ApplicationDispatcher.Do.AnythingCustom(...);
ApplicationDispatcher.Do.AnythingCustom();

ApplicationWrapper

Extendable static class. ### Usage: MEF:

[Import] IApplication _application;
foreach(w in _application.Windows) DoAnothing(w);

Extended:

_application.Do.AnythingCustom(...);
var v = _application.Get.AnythingCustom();

About

Wrapper for Application, Dispatcher, etc.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages