00001
00002
00003
00004
00005
00006 namespace NewGamePhysics.Networking
00007 {
00008 using System;
00009
00010 using NewGamePhysics.Utilities;
00011
00015 public class InfoLink
00016 {
00020 public string Category;
00021
00025 public string SubCategory;
00026
00030 public string Title;
00031
00035 public SerializableUri Uri;
00036
00040 public InfoLink()
00041 {
00042 this.Category = string.Empty;
00043 this.SubCategory = string.Empty;
00044 this.Title = string.Empty;
00045 this.Uri = null;
00046 }
00047
00055 public InfoLink(string category, string subCategory, string title, Uri uri)
00056 {
00057 this.Category = category;
00058 this.SubCategory = subCategory;
00059 this.Title = title;
00060 this.Uri = uri;
00061 }
00062
00067 public override string ToString()
00068 {
00069 return string.Format("Category:{0} Subcategory:{1} Title:{2} Url:{3}",
00070 this.Category,
00071 this.SubCategory,
00072 this.Title,
00073 this.Uri.ToString());
00074 }
00075 }
00076 }