diff options
Diffstat (limited to 'lib/utility/AnonymousMapper.cs')
| -rw-r--r-- | lib/utility/AnonymousMapper.cs | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/lib/utility/AnonymousMapper.cs b/lib/utility/AnonymousMapper.cs index a17ffc6..9b7d7fb 100644 --- a/lib/utility/AnonymousMapper.cs +++ b/lib/utility/AnonymousMapper.cs @@ -1,19 +1,19 @@ -using System;
-
-namespace gorilla.utility
-{
- public class AnonymousMapper<Input, Output> : Mapper<Input, Output>
- {
- readonly Converter<Input, Output> converter;
-
- public AnonymousMapper(Converter<Input, Output> converter)
- {
- this.converter = converter;
- }
-
- public Output map_from(Input item)
- {
- return converter(item);
- }
- }
-}
\ No newline at end of file +using System; + +namespace jive.utility +{ + public class AnonymousMapper<Input, Output> : Mapper<Input, Output> + { + readonly Converter<Input, Output> converter; + + public AnonymousMapper(Converter<Input, Output> converter) + { + this.converter = converter; + } + + public Output map_from(Input item) + { + return converter(item); + } + } +} |
