public LocalDataProtectionProvider( IProtectedData protectedData, IDataProtectionProvider dataProtectionProvider, IDesktopPlatformService platformService) : base(protectedData, dataProtectionProvider) { this.platformService = platformService; }
public SteamServiceImpl(IDesktopPlatformService platformService, IHttpService http) { this.platformService = platformService; this.http = http; mSteamDirPath = platformService.GetSteamDirPath(); mSteamProgramPath = platformService.GetSteamProgramPath(); UserVdfPath = SteamDirPath == null ? null : Path.Combine(SteamDirPath, "config", "loginusers.vdf"); AppInfoPath = SteamDirPath == null ? null : Path.Combine(SteamDirPath, "appcache", "appinfo.vdf"); LibrarycacheDirPath = SteamDirPath == null ? null : Path.Combine(SteamDirPath, "appcache", "librarycache"); if (!File.Exists(UserVdfPath)) { UserVdfPath = null; } if (!File.Exists(AppInfoPath)) { AppInfoPath = null; } if (!Directory.Exists(LibrarycacheDirPath)) { LibrarycacheDirPath = null; } }
public HostsFileServiceImpl(IDesktopPlatformService s) { this.s = s; }
public PlatformNotificationServiceImpl(IDesktopPlatformService dps) { this.dps = dps; }