internal override string TitleFormatter(IEnumerable <GPXLoader.Cache> caches)
 {
     if (caches.Count() == 0)
     {
         return(string.Empty);
     }
     GPXLoader.Cache c = caches.First();
     return(String.Format("Caches hidden in the month of: {0:M-yyyy}", c.Hidden));
 }
 internal override string TitleFormatter(IEnumerable <GPXLoader.Cache> caches)
 {
     if (caches.Count() == 0)
     {
         return(string.Empty);
     }
     GPXLoader.Cache c = caches.First();
     return(String.Format("Difficulty: {0}, Terrain: {1}", c.Difficulty, c.Terrain));
 }
 internal override string TitleFormatter(IEnumerable <GPXLoader.Cache> caches)
 {
     if (caches.Count() == 0)
     {
         return(string.Empty);
     }
     GPXLoader.Cache c = caches.First();
     return(String.Format("Caches found on: {0:M-d}", c.Found));
 }
Exemple #4
0
 internal override string TitleFormatter(IEnumerable <GPXLoader.Cache> caches)
 {
     if (caches.Count() == 0)
     {
         return(string.Empty);
     }
     GPXLoader.Cache c = caches.First();
     return(String.Format("Caches hidden by: {0}", c.Owner));
 }
Exemple #5
0
 //this is used if "simple listing" is checked.  Not sure if needed.
 internal static String SimpleCacheFormatter(GPXLoader.Cache c)
 {
     return(String.Format("{0:MM-dd-yy} {1} {2} {3} {4}\n", c.Found, c.Name, c.State, c.Code, (c.Archived ? "(archived)" : string.Empty)));
 }
Exemple #6
0
 abstract internal String CacheFormatter(GPXLoader.Cache c);
 internal override string ExportFormatter(IEnumerable <GPXLoader.Cache> caches)
 {
     GPXLoader.Cache c = caches.First();
     return(String.Format("Hidden {0:M-yyyy}", c.Hidden));
 }
 internal override String CacheFormatter(GPXLoader.Cache c)
 {
     return(String.Format("{0:MM-dd-yy} {1} {2} {3}:{3} log:{3} {4}\n", c.Found, c.Name, c.State, c.Code, (c.Archived ? "(archived)" : string.Empty)));
 }
 internal override string ExportFormatter(IEnumerable <GPXLoader.Cache> caches)
 {
     GPXLoader.Cache c = caches.First();
     return(String.Format("Difficulty {0} Terrain {1}", c.Difficulty, c.Terrain));
 }
 internal override string ExportFormatter(IEnumerable <GPXLoader.Cache> caches)
 {
     GPXLoader.Cache c = caches.First();
     return(String.Format("Found {0:M-d}", c.Found));
 }
 internal override string CacheFormatter(GPXLoader.Cache c)
 {
     return(String.Format("{5:yyyy} {0} {1}/{2} {3} {4}:{4} log:{4} {6}\n", c.Name, c.Difficulty, c.Terrain, c.State, c.Code, c.Found, (c.Archived ? "(archived)" : string.Empty)));
 }