KGy SOFT

KGySoft.CoreLibraries Namespace

KGy SOFT Core Libraries Help
Contains general library classes. Some of them are just additions to the standard .NET classes providing better performance, such as the generic EnumTEnum and EnumComparerTEnum classes. Some others provide new functionality, such as the HiResTimer class. Additionally, contains many extensions to many classes including the Enum, Type, Random types as well as several primitive types and many other.
Classes

  ClassDescription
Public classByteArrayExtensions
Contains extension methods for the byte[] type.
Public classCharExtensions
Contains extension methods for the char type.
Public classCollectionExtensions
Public classDateTimeExtensions
Contains extension methods for the DateTime type.
Public classDecimalExtensions
Contains extension methods for the decimal type.
Public classDictionaryExtensions
Public classDoubleExtensions
Contains extension methods for the double type.
Public classEnumTEnum
Generic helper class for the Enum class. Provides high performance solutions for already existing functionality in the Enum class along with some additional features.
Public classCode exampleEnumComparerTEnum
Public classEnumerableExtensions
Public classEnumExtensions
Contains extension methods for the Enum type.
Public classEventArgsT
Represents a simple event argument of type T.
Public classFiles
Contains file-related methods.
Public classFloatExtensions
Contains extension methods for the float type.
Public classGenerateObjectSettings
Represents the settings for generating an object by the NextObject extension methods.
Public classHiResTimer
Represents a high resolution timer that allows precise timing even with sub-milliseconds intervals. The timer executes on a separated high priority thread.
Public classHiResTimerElapsedEventArgs
Provides data for the HiResTimer.Elapsed event.
Public classListExtensions
Public classObjectExtensions
Contains extension methods for the Object type.
Public classCode exampleRandomExtensions
Contains extension methods for the Random type.
See the Examples section for an example.
Public classStreamExtensions
Contains extension methods for the Stream type.
Public classStringExtensions
Contains extension methods for the string type.
Public classThreadSafeRandom
Represents a thread-safe pseudo-random number generator. Provides also a shared instance accessible via the static Instance property.
Public classTypeExtensions
Contains extension methods for the Type type.
Public classWaitHandleExtensions
Contains extension methods for the WaitHandle type.
Structures

  StructureDescription
Public structureRangeT
Represents a range with lower and upper bounds.
Delegates

  DelegateDescription
Public delegateConversion
Represents a delegate for a type conversion. A conversion can be registered by the RegisterConversion extension method.
Public delegateConversionAttempt
Represents a delegate for a type conversion attempt. A conversion can be registered by the RegisterConversion extension method.
Enumerations

  EnumerationDescription
Public enumerationEnumFormattingOptions
Public enumerationFloatScale
Represents the scaling strategy when generating random floating-point numbers.
Public enumerationObjectInitialization
Represents a strategy for initializing types when generating random objects.
Public enumerationStringCreation
Represents a strategy for generating random strings.
Public enumerationTypeNameKind
Represents name formatting options for the TypeExtensions.GetName methods.