using AS1024.GeoFeed.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AS1024.GeoFeed.Core.Interfaces
{
///
/// Represents a persistent cache GeoFeed provider
///
public interface IGeoFeedPersistentCacheProvider
{
///
/// Name of the provider
///
public string ProviderName { get; }
///
/// Returns the GeoFeed
///
/// String of the CSV geofeed
public string GetGeoFeed();
///
/// Stores the GeoFeed in the cache backend
///
/// GeoFeed retrieved from the backend
///
public Task CacheGeoFeed(IList pGeoFeeds);
}
}