Last active
May 10, 2017 08:12
-
-
Save 5up3rman/874a009a0769192cf84a37384d75ba1a to your computer and use it in GitHub Desktop.
Live Photo Glass Mapper Sc Custom
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 static IDependencyResolver CreateResolver() | |
{ | |
var config = new Glass.Mapper.Sc.Config(); | |
var dependencyResolver = new DependencyResolver(config); | |
dependencyResolver.DataMapperFactory.Insert(0, () => new LivePhotoDataMapper()); | |
return dependencyResolver; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment