aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAryadev Chavali <aryadevchavali1@gmail.com>2019-02-02 13:34:24 +0000
committerAryadev Chavali <aryadevchavali1@gmail.com>2019-02-02 13:34:24 +0000
commitdb1eac66a4d343f97906b32941e00f886b720e5a (patch)
tree9b934efc0b2855a2dd3655a9bf7722fc826cd926
parent06194fa9ab6412508f63140d9138e1225b2a88ef (diff)
downloadnewsaggregator-db1eac66a4d343f97906b32941e00f886b720e5a.tar.gz
newsaggregator-db1eac66a4d343f97906b32941e00f886b720e5a.tar.bz2
newsaggregator-db1eac66a4d343f97906b32941e00f886b720e5a.zip
Made a class to represent positions for each property of data inside an XML document
-rw-r--r--Aggregator/Classes/Class1.cs6
-rw-r--r--Aggregator/Classes/Config.cs13
2 files changed, 13 insertions, 6 deletions
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; }
+ }
+}