Created
February 18, 2024 16:43
-
-
Save beginnerapps/0f3f6e47e5235677c7b4c46c71ab175f to your computer and use it in GitHub Desktop.
EnvironmentContext iOS
This file contains hidden or 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.iOS | |
{ | |
public sealed class EnvironmentContext : IEnvironmentContext | |
{ | |
public Features.Environment.Environment Environment => Features.Environment.Environment.DEV; //Read Environment From PList! | |
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