1
I Use This!
Inactive

News

Analyzed 1 day ago. based on code collected 1 day ago.
Posted almost 18 years ago by jeevanjj
Use the Environment.GetCommandLineArgs() method to retrieve the command-line arguments, instead of having to pass the args string array to the ConsoleFx entry point.Comments: Fixed.
Posted almost 18 years ago by jeevanjj
const string colorMarkupRE = @"<(\w*):(\w*)>";MatchCollection matches = Regex.Matches(resolvedText, colorMarkupRE);Inside the method void ConsoleEx.Write(string text, params object[] args), the color markup regular expression is compiled into ... [More] .NET's inner representation every time Write is called, which is rather inefficient. private static Regex colorMarkup = new Regex(@"<(\w*):(\w*)>",RegexOptions.None);would really help. You might even consider using RegexOptions.Compiled at the cost of increased start-up time.Comments: Thanks SealedSun, the issue has been fixed. The changes have been checked into the Subversion repository at SourceForge. [Less]
Posted almost 18 years ago by jeevanjj
const string colorMarkupRE = @"<(\w*):(\w*)>";MatchCollection matches = Regex.Matches(resolvedText, colorMarkupRE);Inside the method void ConsoleEx.Write(string text, params object[] args), the color markup regular expression is compiled into ... [More] .NET's inner representation every time Write is called, which is rather inefficient. private static Regex colorMarkup = new Regex(@"<(\w*):(\w*)>",RegexOptions.None);would really help. You might even consider using RegexOptions.Compiled at the cost of increased start-up time.Comments: Thanks SealedSun, the issue has been fixed. The changes have been checked into the Subversion repository at SourceForge. [Less]
Posted almost 18 years ago by jeevanjj
const string colorMarkupRE = @"<(\w*):(\w*)>";MatchCollection matches = Regex.Matches(resolvedText, colorMarkupRE);Inside the method void ConsoleEx.Write(string text, params object[] args), the color markup regular expression is compiled into ... [More] .NET's inner representation every time Write is called, which is rather inefficient. private static Regex colorMarkup = new Regex(@"<(\w*):(\w*)>",RegexOptions.None);would really help. You might even consider using RegexOptions.Compiled at the cost of increased start-up time.Comments: Thanks SealedSun, the issue has been fixed. The changes have been checked into the Subversion repository at SourceForge. [Less]
Posted almost 18 years ago by jeevanjj
int CommandLine.Parse(string[] args)For this overload of the Parse() method, we will not have access to the created T program object. Only the program mode is returned. However, we will need to access the program object in order to read parameter ... [More] properties, values set in the switch methods, etc.Can we change the method's signature to:int CommandLine.Parse(string[] args, out T program)Comments: Fixed [Less]
Posted almost 18 years ago by jeevanjj
int CommandLine.Parse<T>(string[] args)For this overload of the Parse() method, we will not have access to the created T program object. Only the program mode is returned. However, we will need to access the program object in order to read ... [More] parameter properties, values set in the switch methods, etc.Can we change the method's signature to:int CommandLine.Parse<T>(string[] args, out T program)Comments: Fixed [Less]
Posted almost 18 years ago by jeevanjj
int CommandLine.Parse<T>(string[] args)For this overload of the Parse() method, we will not have access to the created T program object. Only the program mode is returned. However, we will need to access the program object in order to read ... [More] parameter properties, values set in the switch methods, etc.Can we change the method's signature to:int CommandLine.Parse<T>(string[] args, out T program)Comments: Fixed [Less]
Posted almost 18 years ago by SealedSun
const string colorMarkupRE = @"<(\w*):(\w*)>";MatchCollection matches = Regex.Matches(resolvedText, colorMarkupRE);Inside the method void ConsoleEx.Write(string text, params object[] args), the color markup regular expression is compiled into ... [More] .NET's inner representation every time Write is called, which is rather inefficient. private static Regex colorMarkup = new Regex(@"<(\w*):(\w*)>",RegexOptions.None);would really help. You might even consider using RegexOptions.Compiled at the cost of increased start-up time. [Less]
Posted almost 18 years ago by SealedSun
const string colorMarkupRE = @"<(\w*):(\w*)>";MatchCollection matches = Regex.Matches(resolvedText, colorMarkupRE);Inside the method void ConsoleEx.Write(string text, params object[] args), the color markup regular expression is compiled into ... [More] .NET's inner representation every time Write is called, which is rather inefficient. private static Regex colorMarkup = new Regex(@"<(\w*):(\w*)>",RegexOptions.None);would really help. You might even consider using RegexOptions.Compiled at the cost of increased start-up time. [Less]
Posted almost 18 years ago by SealedSun
const string colorMarkupRE = @"<(\w*):(\w*)>";MatchCollection matches = Regex.Matches(resolvedText, colorMarkupRE);Inside the method void ConsoleEx.Write(string text, params object[] args), the color markup regular expression is compiled into ... [More] .NET's inner representation every time Write is called, which is rather inefficient. private static Regex colorMarkup = new Regex(@"<(\w*):(\w*)>",RegexOptions.None);would really help. You might even consider using RegexOptions.Compiled at the cost of increased start-up time. [Less]