Created
March 9, 2018 00:42
-
-
Save Clancey/573fb5960d0076127c0188501d3643e9 to your computer and use it in GitHub Desktop.
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
public class TestPlatformService : IPlatformServices | |
{ | |
public TestPlatformService() | |
{ | |
} | |
public bool IsInvokeRequired => false; | |
public string RuntimePlatform => "UnitTests"; | |
public void BeginInvokeOnMainThread(Action action) | |
{ | |
action(); | |
} | |
public Ticker CreateTicker() | |
{ | |
throw new NotImplementedException(); | |
} | |
public Assembly[] GetAssemblies() => AppDomain.CurrentDomain.GetAssemblies(); | |
public string GetMD5Hash(string input) | |
{ | |
throw new NotImplementedException(); | |
} | |
public double GetNamedSize(NamedSize size, Type targetElementType, bool useOldSizes) | |
{ | |
throw new NotImplementedException(); | |
} | |
public Task<Stream> GetStreamAsync(Uri uri, CancellationToken cancellationToken) | |
{ | |
throw new NotImplementedException(); | |
} | |
public IIsolatedStorageFile GetUserStoreForApplication() | |
{ | |
throw new NotImplementedException(); | |
} | |
public void OpenUriAction(Uri uri) | |
{ | |
throw new NotImplementedException(); | |
} | |
public void QuitApplication() | |
{ | |
throw new NotImplementedException(); | |
} | |
public void StartTimer(TimeSpan interval, Func<bool> callback) | |
{ | |
throw new NotImplementedException(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment