Code Cleanup: Assemblies
This commit is contained in:
@@ -5,8 +5,25 @@ namespace Swarmops.Basic.Types
|
||||
{
|
||||
public class BasicMediaEntry : IHasIdentity
|
||||
{
|
||||
public BasicMediaEntry (int id, int keywordId, string mediaName, bool isBlog, string title, string url,
|
||||
DateTime dateTime)
|
||||
private readonly DateTime dateTime;
|
||||
private readonly int id;
|
||||
private readonly bool isBlog;
|
||||
private readonly int keywordId;
|
||||
private readonly string mediaName;
|
||||
private readonly string title;
|
||||
private readonly string url;
|
||||
|
||||
#region IHasIdentity Members
|
||||
|
||||
public int Identity
|
||||
{
|
||||
get { return Id; }
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
public BasicMediaEntry(int id, int keywordId, string mediaName, bool isBlog, string title, string url,
|
||||
DateTime dateTime)
|
||||
{
|
||||
this.id = id;
|
||||
this.keywordId = keywordId;
|
||||
@@ -17,7 +34,7 @@ namespace Swarmops.Basic.Types
|
||||
this.dateTime = dateTime;
|
||||
}
|
||||
|
||||
public BasicMediaEntry (BasicMediaEntry original)
|
||||
public BasicMediaEntry(BasicMediaEntry original)
|
||||
: this(
|
||||
original.id, original.keywordId, original.mediaName, original.isBlog, original.title, original.url,
|
||||
original.dateTime)
|
||||
@@ -31,17 +48,17 @@ namespace Swarmops.Basic.Types
|
||||
|
||||
public int Id
|
||||
{
|
||||
get { return id; }
|
||||
get { return this.id; }
|
||||
}
|
||||
|
||||
public int KeywordId
|
||||
{
|
||||
get { return keywordId; }
|
||||
get { return this.keywordId; }
|
||||
}
|
||||
|
||||
public string Title
|
||||
{
|
||||
get { return title; }
|
||||
get { return this.title; }
|
||||
}
|
||||
|
||||
public string MediaName
|
||||
@@ -52,34 +69,17 @@ namespace Swarmops.Basic.Types
|
||||
|
||||
public string Url
|
||||
{
|
||||
get { return url; }
|
||||
get { return this.url; }
|
||||
}
|
||||
|
||||
public DateTime DateTime
|
||||
{
|
||||
get { return dateTime; }
|
||||
get { return this.dateTime; }
|
||||
}
|
||||
|
||||
public bool IsBlog
|
||||
{
|
||||
get { return this.isBlog; }
|
||||
}
|
||||
|
||||
private int id;
|
||||
private DateTime dateTime;
|
||||
private string title;
|
||||
private string mediaName;
|
||||
private string url;
|
||||
private int keywordId;
|
||||
private bool isBlog;
|
||||
|
||||
#region IHasIdentity Members
|
||||
|
||||
public int Identity
|
||||
{
|
||||
get { return Id; }
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user