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

OfType() public method

Requests that a specific type is included in the description block.
Default type is the type of the object instance given in constructor.
public OfType ( Type forcedType ) : MessageBlock
forcedType Type /// Type to include in the description. ///
return MessageBlock
        public MessageBlock OfType(Type forcedType)
        {
            this.value.WithType(forcedType);
            return this;
        }