aboutsummaryrefslogtreecommitdiff
path: root/Classes/Config.cs
diff options
context:
space:
mode:
authorAryadev Chavali <aryadevchavali1@gmail.com>2019-02-04 11:36:48 +0000
committerAryadev Chavali <aryadevchavali1@gmail.com>2019-02-04 11:36:48 +0000
commitee874ec782f750cc6c2610818b8a276c21fed99e (patch)
tree05b0e03c5fff25b2715d433514cb54429a725af1 /Classes/Config.cs
parent95e75992bca29ee213627e86f58e60054e13bb13 (diff)
downloadnewsaggregator-ee874ec782f750cc6c2610818b8a276c21fed99e.tar.gz
newsaggregator-ee874ec782f750cc6c2610818b8a276c21fed99e.tar.bz2
newsaggregator-ee874ec782f750cc6c2610818b8a276c21fed99e.zip
Moved classes to general area because it isn't just used in the aggregator
Diffstat (limited to 'Classes/Config.cs')
-rw-r--r--Classes/Config.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/Classes/Config.cs b/Classes/Config.cs
new file mode 100644
index 0000000..f7a94d1
--- /dev/null
+++ b/Classes/Config.cs
@@ -0,0 +1,16 @@
+using System;
+
+namespace Aggregator.Classes {
+ /// <summary>
+ /// Class to represent position for each piece of data in a class
+ /// To be used in conjunction with article for each source
+ /// </summary>
+ public class Config {
+ public string Source { get; set; }
+ public int Title { get; set; }
+ public int Description { get; set; }
+ public int ImageLink { get; set; }
+ public int ArticleLink { get; set; }
+ public int PublishDate { get; set; }
+ }
+}