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
public class ViewLocationExpander : IViewLocationExpander | |
{ | |
public IEnumerable<string> ExpandViewLocations(ViewLocationExpanderContext context, IEnumerable<string> viewLocations) | |
{ | |
string[] locations = new string[] | |
{ | |
"~/Features/{1}/{0}.cshtml", | |
"~/Features/Shared/{0}.cshtml", | |
}; | |
return locations; |
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
public class UriImageLoaderIos : IUriImageLoader | |
{ | |
public string GetUri(string baseImageUri) | |
{ | |
if (string.IsNullOrEmpty(baseImageUri)) | |
{ | |
throw new ArgumentNullException("baseImageUri"); | |
} | |
if (UIScreen.MainScreen.Scale > 2.0) | |
{ |