Ejemplo n.º 1
0
 public void AddTile(ITile tile)
 {
     if (cache.ContainsKey(tile.Name))
     {
         throw TileException.DoubleDefinition(tile.Name);
     }
     cache.Add(tile.Name, tile);
 }
Ejemplo n.º 2
0
 public static Exception ErrorInTile(TileException te, ParseContext context)
 {
     return MakePartial(new TileExceptionWithContext(te.Message)).Decorate(context).KeepHttpErrorCode(te);
 }
Ejemplo n.º 3
0
 public static Exception ErrorInTile(TileException te, ParseContext context)
 {
     return(MakePartial(new TileExceptionWithContext(te.Message)).Decorate(context).KeepHttpErrorCode(te));
 }