UnityEngine.NUnit.Framework.Constraints.MessageWriter.WritePredicate C# (CSharp) Method

WritePredicate() public abstract method

Writes the text for a predicate.
public abstract WritePredicate ( string predicate ) : void
predicate string The predicate.
return void
        public abstract void WritePredicate(string predicate);

Usage Example

		/// <summary>
		/// Write the constraint description to a MessageWriter
		/// </summary>
		/// <param name="writer">The writer on which the description is displayed</param>
		public override void WriteDescriptionTo(MessageWriter writer)
		{
			writer.WritePredicate( "property " + name );
            if (baseConstraint != null)
            {
                if (baseConstraint is EqualConstraint)
                    writer.WritePredicate("equal to");
                baseConstraint.WriteDescriptionTo(writer);
            }
        }
All Usage Examples Of UnityEngine.NUnit.Framework.Constraints.MessageWriter::WritePredicate