cleans used code
This commit is contained in:
@ -144,33 +144,6 @@ namespace Yavsc.Model.Blogs
|
||||
return result;
|
||||
} }
|
||||
|
||||
/// <summary>
|
||||
/// Gets a value indicating whether this <see cref="Yavsc.Model.Blogs.BlogEntryCollection"/> concerns A unique title.
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if concerns A unique title; otherwise, <c>false</c>.</value>
|
||||
[Obsolete("And what if no title? Do you really need this test?")]
|
||||
public bool ConcernsAUniqueTitle {
|
||||
get {
|
||||
if (this.Count <= 1)
|
||||
return true;
|
||||
else
|
||||
return this.All (x => Titles [0] == x.Title);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Gets a value indicating whether this <see cref="Yavsc.Model.Blogs.BlogEntryCollection"/> concerns A unique title.
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if concerns A unique title; otherwise, <c>false</c>.</value>
|
||||
[Obsolete("And what if no title? Do you really need this test?")]
|
||||
public bool ConcernsAUniqueUser {
|
||||
get {
|
||||
if (this.Count <= 1)
|
||||
return true;
|
||||
else
|
||||
return this.All (x => x.UserName == this[0].UserName);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -1,3 +1,7 @@
|
||||
2015-08-20 Paul Schneider <paul@pschneider.fr>
|
||||
|
||||
* BlogEntryCollection.cs: cleans used code
|
||||
|
||||
2015-08-20 Paul Schneider <paul@pschneider.fr>
|
||||
|
||||
* BlogEntryCollection.cs: ConcernsAUniqueTitle and
|
||||
|
Reference in New Issue
Block a user