2 instantiations of WeatherReport
SocialWeather (2)
Pipe\PipeWeatherStreamFormatter.cs (1)
41return new WeatherReport
Protobuf\ProtobufWeatherStreamFormatter.cs (1)
15return Task.FromResult(new SocialWeather.WeatherReport
12 references to WeatherReport
SocialWeather (12)
Pipe\PipeWeatherStreamFormatter.cs (3)
8public class PipeWeatherStreamFormatter : IStreamFormatter<WeatherReport> 10public async Task<WeatherReport> ReadAsync(Stream stream) 50public async Task WriteAsync(WeatherReport report, Stream stream)
Protobuf\ProtobufWeatherStreamFormatter.cs (3)
8public class ProtobufWeatherStreamFormatter : IStreamFormatter<SocialWeather.WeatherReport> 10public Task<SocialWeather.WeatherReport> ReadAsync(Stream stream) 24public async Task WriteAsync(SocialWeather.WeatherReport weatherReport, Stream stream)
SocialWeatherConnectionHandler.cs (2)
32var formatter = _formatterResolver.GetFormatter<WeatherReport>( 47var weatherReport = await formatter.ReadAsync(stream);
Startup.cs (4)
39formatterResolver.AddFormatter<WeatherReport, JsonStreamFormatter<WeatherReport>>("json"); 40formatterResolver.AddFormatter<WeatherReport, ProtobufWeatherStreamFormatter>("protobuf"); 41formatterResolver.AddFormatter<WeatherReport, PipeWeatherStreamFormatter>("pipe");