Nettoyages et refactorisations.
* ITitle.cs: * RssFeeds.cs: * Blog.cs: * BasePost.cs: * YaEvent.cs: * Estimate.cs: * BaseEvent.cs: * Activity.cs: * UTBlogEntryCollection.cs: * UUTBlogEntryCollection.cs: refactorisation: Les titres obtiennent une interface logicielle dédiée. * ErrorHtmlFormatter.cs: Pour note: conception à revoir * PerformerProfile.cs: refactorisation: Les identifiant deviennent génériques * IRating.cs: * IComment.cs: * IIdentified.cs: refactorisation: Les identifiant et commentaires deviennent génériques * ITagBackup.cs: refactorisation: un meilleur nom pour cette interface qui n'a pas encore d'implementeur. * UserNameBase.cs: xml doc * UserSkill.cs: * UserSkillComment.cs: Les commentaire deviennent génériques * OtherWebException.cs: classe obsolete * ViewRenderer.cs: classe obsolète * YavscModel.csproj: nettoyages de classes obsoletes, ajout des nouvelles interfaces et de la classe de base implementant l' "activité".
This commit is contained in:
parent
66993346cb
commit
d430d73915
24 changed files with 195 additions and 233 deletions
|
|
@ -33,7 +33,7 @@ namespace Yavsc.Model.Blogs
|
|||
/// <summary>
|
||||
/// Base post.
|
||||
/// </summary>
|
||||
public class BasePost: IRating {
|
||||
public class BasePost: IRating, ITitle {
|
||||
/// <summary>
|
||||
/// The identifier.
|
||||
/// </summary>
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ namespace Yavsc.Model.Blogs
|
|||
/// <summary>
|
||||
/// Blog.
|
||||
/// </summary>
|
||||
public class Blog
|
||||
public class Blog: ITitle
|
||||
{
|
||||
string title;
|
||||
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ namespace Yavsc.Model.Blogs
|
|||
/// <summary>
|
||||
/// Unique User and Title blog entry collection.
|
||||
/// </summary>
|
||||
public class UTBlogEntryCollection : BlogEntryCollection {
|
||||
public class UTBlogEntryCollection : BlogEntryCollection, ITitle {
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="Yavsc.Model.Blogs.UTBlogEntryCollection"/> class.
|
||||
|
|
@ -41,7 +41,8 @@ namespace Yavsc.Model.Blogs
|
|||
/// Gets the title.
|
||||
/// </summary>
|
||||
/// <value>The title.</value>
|
||||
public string Title { get { return _title; } }
|
||||
public string Title { get { return _title; }
|
||||
set { _title = value; } }
|
||||
|
||||
/// <summary>
|
||||
/// Returns a <see cref="System.String"/> that represents the current <see cref="Yavsc.Model.Blogs.UUTBlogEntryCollection"/>.
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ namespace Yavsc.Model.Blogs
|
|||
/// <summary>
|
||||
/// Unique User and Title blog entry collection.
|
||||
/// </summary>
|
||||
public class UUTBlogEntryCollection : UUBlogEntryCollection {
|
||||
public class UUTBlogEntryCollection : UUBlogEntryCollection, ITitle {
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="Yavsc.Model.Blogs.UUTBlogEntryCollection"/> class.
|
||||
/// </summary>
|
||||
|
|
@ -41,7 +41,8 @@ namespace Yavsc.Model.Blogs
|
|||
/// Gets the title.
|
||||
/// </summary>
|
||||
/// <value>The title.</value>
|
||||
public string Title { get { return _title; } }
|
||||
public string Title { get { return _title; }
|
||||
set { _title = value; } }
|
||||
|
||||
/// <summary>
|
||||
/// Returns a <see cref="System.String"/> that represents the current <see cref="Yavsc.Model.Blogs.UUTBlogEntryCollection"/>.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue