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
# BlogML import script originally sourced from: | |
# https://github.com/philippkueng/philippkueng.github.com/tree/30ef1570f06d33938b18d5eee7767d6641b9a779/source/_import | |
# Best post I could find about how to use it was here: | |
# http://philippkueng.ch/migrate-from-blogengine-dot-net-to-jekyll.html | |
# | |
# how to install | |
# -------------- | |
# mkdir source/_importer | |
# cp blogml.rb to the source/_importer/ you created above | |
# cp your BlogML.xml to the same source/_importer/ directory |
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 CachedAlbumRepository : IAlbumRepository | |
{ | |
private readonly IAlbumRepository _albumRepository; | |
public CachedAlbumRepository(IAlbumRepository albumRepository) | |
{ | |
_albumRepository = albumRepository; | |
} | |
private static readonly object CacheLockObject = new object(); |