C# (CSharp) Loyc Namespace

Nested Namespaces

Loyc.Collections
Loyc.Ecs
Loyc.Geometry
Loyc.LLParserGenerator
Loyc.Math
Loyc.MiniTest
Loyc.Syntax
Loyc.Tests
Loyc.Utilities
Loyc.VisualStudio

Classes

Name Description
ConsoleMessageSink Sends all messages to System.Console.WriteLine(), with hard-coded colors for Error, Warning, Note, Verbose, and Detail.
ExceptionExt Extension methods for exceptions.
EzStopwatch A wrapper around Stopwatch with a more convenient interface, currently oriented around measuring milliseconds (TODO: increase similarity to Stopwatch)
Localize Localize is a global hook into which a string-mapping localizer can be installed. It is designed to make internationalization exceptionally easy for developers. TODO: expand I18N features based on Mozilla's L20N.
LogException An exception that includes a "context" object as part of a LogMessage structure, typically used to indicate where an error occurred.
MessageSinkFromDelegate This helper class lets you implement IMessageSink with one or two delegates (a writer method, and an optional severity filter).
NullMessageSink Discards all messages. However, there is a Count property that increases by one with each message received, as well as an ErrorCount.
Range Contains the functions used by the Enhanced C# in, .. and ... operators... plus the handy PutInRange() methods.
StringBuilderExt Extension methods that add some functionality of string to StringBuilder.
StringExt Extension methods for strings, such as SplitAt, Left, Right, Format and Slice.
SymbolTests
SymbolTests.FractalShape
SymbolTests.ShapeType
TraceMessageSink Sends all messages to System.Diagnostics.Trace.WriteLine(string).
TypeExt Extension methods for Type.
UStringTests