-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #38 from BUTR/code-formatting/fix-codeformatting
Automated PR to fix formatting errors
- Loading branch information
Showing
12 changed files
with
39 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
using System; | ||
using System; | ||
using System.Xml.Serialization; | ||
|
||
namespace BUTR.CrashReportServer.Models.Sitemaps; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
using System.Xml.Serialization; | ||
using System.Xml.Serialization; | ||
|
||
namespace BUTR.CrashReportServer.Models.Sitemaps; | ||
|
||
[XmlRoot(ElementName="sitemap", Namespace="http://www.sitemaps.org/schemas/sitemap/0.9")] | ||
[XmlRoot(ElementName = "sitemap", Namespace = "http://www.sitemaps.org/schemas/sitemap/0.9")] | ||
public class Sitemap | ||
{ | ||
[XmlElement(ElementName="loc", Namespace="http://www.sitemaps.org/schemas/sitemap/0.9")] | ||
{ | ||
[XmlElement(ElementName = "loc", Namespace = "http://www.sitemaps.org/schemas/sitemap/0.9")] | ||
public string Location { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
using System.Collections.Generic; | ||
using System.Collections.Generic; | ||
using System.Xml.Serialization; | ||
|
||
namespace BUTR.CrashReportServer.Models.Sitemaps; | ||
|
||
[XmlRoot(ElementName="sitemapindex", Namespace="http://www.sitemaps.org/schemas/sitemap/0.9")] | ||
[XmlRoot(ElementName = "sitemapindex", Namespace = "http://www.sitemaps.org/schemas/sitemap/0.9")] | ||
public class SitemapIndex | ||
{ | ||
{ | ||
|
||
[XmlElement(ElementName="sitemap", Namespace="http://www.sitemaps.org/schemas/sitemap/0.9")] | ||
[XmlElement(ElementName = "sitemap", Namespace = "http://www.sitemaps.org/schemas/sitemap/0.9")] | ||
public List<Sitemap> Sitemap { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,27 @@ | ||
using System; | ||
using System; | ||
using System.Xml.Serialization; | ||
|
||
namespace BUTR.CrashReportServer.Models.Sitemaps; | ||
|
||
[XmlRoot(ElementName="url", Namespace="http://www.sitemaps.org/schemas/sitemap/0.9")] | ||
[XmlRoot(ElementName = "url", Namespace = "http://www.sitemaps.org/schemas/sitemap/0.9")] | ||
public class Url | ||
{ | ||
[XmlElement(ElementName="loc", Namespace="http://www.sitemaps.org/schemas/sitemap/0.9")] | ||
[XmlElement(ElementName = "loc", Namespace = "http://www.sitemaps.org/schemas/sitemap/0.9")] | ||
public string Location { get; set; } | ||
|
||
[XmlIgnore] | ||
public DateTime TimeStamp { get; set; } | ||
[XmlElement(ElementName="lastmod", Namespace="http://www.sitemaps.org/schemas/sitemap/0.9")] | ||
|
||
[XmlElement(ElementName = "lastmod", Namespace = "http://www.sitemaps.org/schemas/sitemap/0.9")] | ||
public string LastMod | ||
{ | ||
get => TimeStamp.ToString("yyyy-MM-ddTHH:mm:sszzz"); | ||
set => TimeStamp = DateTime.Parse(value); | ||
} | ||
|
||
[XmlElement(ElementName="changefreq", Namespace="http://www.sitemaps.org/schemas/sitemap/0.9")] | ||
[XmlElement(ElementName = "changefreq", Namespace = "http://www.sitemaps.org/schemas/sitemap/0.9")] | ||
public ChangeFrequency ChangeFrequency { get; set; } | ||
|
||
[XmlElement(ElementName="priority", Namespace="http://www.sitemaps.org/schemas/sitemap/0.9")] | ||
[XmlElement(ElementName = "priority", Namespace = "http://www.sitemaps.org/schemas/sitemap/0.9")] | ||
public double Priority { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
using System.Collections.Generic; | ||
using System.Collections.Generic; | ||
using System.Xml.Serialization; | ||
|
||
namespace BUTR.CrashReportServer.Models.Sitemaps; | ||
|
||
[XmlRoot(ElementName="urlset", Namespace="http://www.sitemaps.org/schemas/sitemap/0.9")] | ||
public class Urlset { | ||
[XmlRoot(ElementName = "urlset", Namespace = "http://www.sitemaps.org/schemas/sitemap/0.9")] | ||
public class Urlset | ||
{ | ||
|
||
[XmlElement(ElementName="url", Namespace="http://www.sitemaps.org/schemas/sitemap/0.9")] | ||
public List<Url> Url { get; set; } | ||
[XmlElement(ElementName = "url", Namespace = "http://www.sitemaps.org/schemas/sitemap/0.9")] | ||
public List<Url> Url { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters