NFluent.Extensibility.MessageBlock.FullLabel C# (CSharp) Method

FullLabel() private method

The full label.
private FullLabel ( ) : string
return string
        private string FullLabel()
        {
            string fullLabel;
            if (string.IsNullOrEmpty(this.comparisonLabel))
            {
                if (this.customMessage == null)
                {
                    fullLabel = string.Format("The {0}:", this.block);
                }
                else
                {
                    fullLabel = this.block.CustomMessage(this.customMessage);
                }
            }
            else
            {
                fullLabel = string.Format(
                    this.customMessage ?? "The {0}: {1}", 
                    this.block, 
                    this.comparisonLabel);
            }

            return fullLabel;
        }