Formatting cleanup.

This commit is contained in:
Jeff Ames
2008-08-18 00:39:10 +00:00
parent 531f6c01eb
commit 6ef9d4da90
208 changed files with 2980 additions and 3163 deletions

View File

@@ -42,7 +42,7 @@ namespace OpenSim.Framework.Console
private readonly object m_syncRoot = new object();
public conscmd_callback m_cmdParser;
/// <summary>
/// The default prompt text.
/// </summary>
@@ -249,7 +249,7 @@ namespace OpenSim.Framework.Console
{
line = System.Console.ReadLine();
}
return line;
}
catch (Exception e)

View File

@@ -30,10 +30,10 @@ using System;
namespace OpenSim.Framework.Console
{
public delegate void ConsoleCommand(string[] comParams);
/// <summary>
/// Holder object for a new console plugin command
///
///
/// Override the methods like Run and IsHelpfull (but the defaults might work ok.)
/// </summary>
public class ConsolePluginCommand
@@ -52,10 +52,10 @@ namespace OpenSim.Framework.Console
private string[] m_cmdText;
/// <summary>
/// Construct a new ConsolePluginCommand
///
/// Construct a new ConsolePluginCommand
///
/// for use with OpenSim.RegisterConsolePluginCommand(myCmd);
///
///
/// </summary>
/// <param name="command">in the form of "showme new commands"</param>
/// <param name="dlg">ommand delegate used in running</param>
@@ -68,13 +68,13 @@ namespace OpenSim.Framework.Console
}
/// <summary>
/// Returns the match length this command has upon the 'cmdWithParams'
/// Returns the match length this command has upon the 'cmdWithParams'
/// At least a higher number for "show plugin status" then "show" would return
/// This is used to have multi length command verbs
///
///
/// @see OopenSim.RunPluginCommands
/// It will only run the one with the highest number
///
///
/// </summary>
public int matchLength(string cmdWithParams)
{
@@ -106,8 +106,8 @@ namespace OpenSim.Framework.Console
}
currentParam++;
}
}
}
string[] sendCmdParams = cmdParams;
if (skipParams > 0)
{

View File

@@ -39,7 +39,7 @@ namespace OpenSim.Framework.Console
{
override protected void Append(LoggingEvent le)
{
try
try
{
string loggingMessage = RenderLoggingEvent(le);
@@ -47,7 +47,7 @@ namespace OpenSim.Framework.Console
Regex RE = new Regex(regex, RegexOptions.Multiline);
MatchCollection matches = RE.Matches(loggingMessage);
// Get some direct matches $1 $4 is a
if (matches.Count == 1)
{