Sdl.Web.Common/Models/RichText.cs
/// <summary>
/// Determines whether the <see cref="RichText"/> instance is empty.
/// </summary>
/// <returns><c>true</c> if the <see cref="RichText"/> instance is empty.</returns>
Determines whether the  instance is empty.
Determines whether the instance is empty .
public bool IsEmpty()
        {
            IRichTextFragment firstFragment = Fragments.FirstOrDefault();
            return (firstFragment == null) || (firstFragment.ToHtml().Length == 0);
        }
public bool IsEmpty ( ) { IRichTextFragment firstFragment = Fragments . FirstOrDefault ( ) ; return ( firstFragment == null ) || ( firstFragment . ToHtml ( ) . Length == 0 ) ; }
Determines whether the  instance is empty.
Determines whether the instance is empty .
// TODO: implementation is not 100% correct: first fragment could be empty, but there could be more fragments. Good enough for now.
true instance is empty.
true instance is empty .