internal static string ConvertChangeFrequencyToString(ChangeFrequencies changeFreq) { string retVal = ""; switch (changeFreq) { case ChangeFrequencies.always: retVal = "always"; break; case ChangeFrequencies.daily: retVal = "daily"; break; case ChangeFrequencies.hourly: retVal = "hourly"; break; case ChangeFrequencies.monthly: retVal = "monthly"; break; case ChangeFrequencies.never: retVal = "never"; break; case ChangeFrequencies.weekly: retVal = "weekly"; break; case ChangeFrequencies.yearly: retVal = "yearly"; break; } return retVal; }
public SitePage(string loc, DateTime lastMod, ChangeFrequencies changeFreq, double priority) { _loc = loc; _lastMod = lastMod; _changeFreq = changeFreq; _priority = priority; }