[This is preliminary documentation and is subject to change.]

Provides logging functionality.

Namespace: org.critterai.nmgen
Assembly: cai-nmgen (in cai-nmgen.dll) Version: 0.4.0.0 (0.4.0.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public class BuildContext
Public Class BuildContext
public ref class BuildContext

Members

               
 All Members  Constructors   Fields   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
BuildContext()()()()
Constructor.
AppendMessages(BuildContext)
Appends messages from the specified context to the current context.
ErrorLabel
The message prefix used for error messages.
Finalize()()()()
Destructor.
(Overrides Object..::..Finalize()()()().)
GetMessages()()()()
Gets all messages in the message buffer.
GetMessagesFlat()()()()
Gets all messages in the message buffer as a single, new line delimited string.
InfoLabel
The message prefix used for informational messages.
LoadTestMessages(BuildContext, Int32)
Tests the operation of the context by adding up to 100 test messages.
Log(array<String>[]()[][])
Appends log messages to the current context.
Log(String, Object)
Posts an informational message to the message buffer.
Log(String, String, Object)
Posts a message to the message buffer with a custom category.
LogError(String, Object)
Posts an error message to the message buffer.
LogWarning(String, Object)
Posts a warning message to the message buffer.
MessageCount
The number of messages in the buffer. [Limit: <= 1000]
ResetLog()()()()
Clears all messages from the message buffer.
WarningLabel
The message prefix used for warning messages.

Remarks

This class can be used as a base for a more complete build context.

The message buffer can hold a maximum of 1000 messages comprised of 64K characters. Any messages added after the buffer limit is reached will be ignored.

Inheritance Hierarchy

See Also