public LauncherPage( IComputerNameProvider computerNameProvider, ILauncherIdProvider launcherIdProvider, IHardwareIdProvider hardwareIdProvider, ILauncherConfigProvider launcherConfigProvider, IForgameAuthProvider forgameAuthProvider) { InitializeComponent(); _launcherConfigProvider = launcherConfigProvider; _forgameAuthProvider = forgameAuthProvider; var gamesConfigDataProvider = new GamesConfigCdnDataProvider(); var gamesConfigParser = new GamesConfigXmlParser(); var gamesConfigProvider = new GamesConfigProvider(gamesConfigDataProvider, gamesConfigParser); Task.Run(gamesConfigProvider.Init); var gameInWindowsRegistrator = new GameInWindowsRegistrator(); _gameManager = new GameManager(gameInWindowsRegistrator, gamesConfigProvider); var ws = new WebSocket(computerNameProvider, launcherIdProvider, hardwareIdProvider); _gameAuthProvider = new GameAuthProvider(ws); Load += LauncherPage_Load; }
public WebSocket( IComputerNameProvider computerNameProvider, ILauncherIdProvider launcherIdProvider, IHardwareIdProvider hardwareIdProvider) { _computerNameProvider = computerNameProvider; _launcherIdProvider = launcherIdProvider; _hardwareIdProvider = hardwareIdProvider; }
public ForgameAuthProvider( IComputerNameProvider computerNameProvider, ILauncherIdProvider launcherIdProvider, IHardwareIdProvider hardwareIdProvider) { _computerNameProvider = computerNameProvider; _launcherIdProvider = launcherIdProvider; _hardwareIdProvider = hardwareIdProvider; }
public AesStorage(IComputerNameProvider computerNameProvider) { _computerNameProvider = computerNameProvider; }
public ComputerNameGreetingProvider(IComputerNameProvider computerNameProvider) { _computerNameProvider = computerNameProvider; }