|
|
@ -144,33 +144,6 @@ namespace Yavsc.Model.Blogs
|
|
|
|
return result;
|
|
|
|
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);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|