Created
February 18, 2024 16:44
-
-
Save beginnerapps/abad5716b0bbe3c8d733ab68eadccfc0 to your computer and use it in GitHub Desktop.
EnvironmentContext Android
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 BingoMania.Features.Environment; | |
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace BingoMania.Platforms.Android | |
{ | |
public sealed class EnvironmentContext : IEnvironmentContext | |
{ | |
public Features.Environment.Environment Environment => Features.Environment.Environment.DEV; //Read Environment From Manifest! | |
public string DbPath => Path.Combine(System.Environment.GetFolderPath(System.Environment.SpecialFolder.LocalApplicationData), Constants.DataStore); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment