From db1eac66a4d343f97906b32941e00f886b720e5a Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Sat, 2 Feb 2019 13:34:24 +0000 Subject: Made a class to represent positions for each property of data inside an XML document --- Aggregator/Classes/Class1.cs | 6 ------ Aggregator/Classes/Config.cs | 13 +++++++++++++ 2 files changed, 13 insertions(+), 6 deletions(-) delete mode 100644 Aggregator/Classes/Class1.cs create mode 100644 Aggregator/Classes/Config.cs diff --git a/Aggregator/Classes/Class1.cs b/Aggregator/Classes/Class1.cs deleted file mode 100644 index b122c6a..0000000 --- a/Aggregator/Classes/Class1.cs +++ /dev/null @@ -1,6 +0,0 @@ -using System; - -namespace Classes { - public class Class1 { - } -} diff --git a/Aggregator/Classes/Config.cs b/Aggregator/Classes/Config.cs new file mode 100644 index 0000000..172164f --- /dev/null +++ b/Aggregator/Classes/Config.cs @@ -0,0 +1,13 @@ +using System; + +namespace Classes { + public class Config { + public int Title { get; set; } + public int Description { get; set; } + public int ImageLink { get; set; } + public int ArticleLink { get; set; } + + public int Author { get; set; } + public int PublishDate { get; set; } + } +} -- cgit v1.2.3-13-gbd6f