public WeatherRequestWWO(WeatherInput future, WeatherInput past = null, RefreshType reftype = RefreshType.FullRefresh) { m_info_future = future; m_info_historical = past; m_reftype = reftype; m_weatherinfo = new WeatherNullPtr();//This is a NUll PTr Pattern so that there would always be a next actor and not a null pointer }
public WeatherController(WeatherInput future, WeatherInput past = null, RefreshType reftype = RefreshType.FullRefresh) { m_info_future = future; m_info_historical = past; m_reftype = reftype; BuildResponsibilityChain(); }
public WeatherRequestZOWA(WeatherInput future, WeatherInput past = null, RefreshType reftype = RefreshType.FullRefresh) { m_info_future = future; m_info_historical = past; m_reftype = reftype; m_weatherinfo = new WeatherNullPtr(); }
public void SetInput(WeatherInput future, WeatherInput past = null, RefreshType reftype = RefreshType.FullRefresh) { m_info_future = future; m_info_historical = past; m_refresh = reftype; }
public string ToString(WeatherInput key) { string h_key = key.query + key.num_of_days.ToString(); return(h_key); }