This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Runtime.InteropServices; | |
using System.Windows; | |
using System.Windows.Interop; | |
using Walterlv.Demo.Interop.Native; | |
namespace Walterlv.Demo.Interop | |
{ | |
public class WindowBlur | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class DiConfig { | |
public: | |
template <class InstanceType, class Deleter, class ...Deps> | |
void add(InstanceFactoryFunction<InstanceType, Deleter, Deps...> instance_factory); | |
Injector build_injector(); | |
private: | |
using InitializerFn = std::function<void(Injector&)>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
#include <memory> | |
#include <chrono> | |
#include <atomic> | |
#include <vector> | |
#include <mutex> | |
#include <functional> | |
#include <type_traits> | |
#include "pplxtasks.h" | |
#include <event_dispatcher_timer.hpp> |