- VB.NET source file that contains an extension method that yields each line of a given text. The following line separators are recognized: CRLF (0D0A), LFCR (0A0D), LF (0A), CR (0D), VT (0B), FF (0C), LS (2028) and PS (2029). Supported versions: .NET Framework 3.5 .NET Framework 4.0 .NET Framework 4.5 .NET Framework 4.5.1 .NET Framework 4.5.2 .NET Framework 4.6 .NET Framework 4.6.1 Language requirement: Visual Basic 11 (shipped in 2012 with .NET 4.5) This package is part of the "SingleFile.VB" collection that consists of small utilities in the form of VB.NET source files, usually two of them per package, namely the code file and the test file (Microsoft standard unit tests) as well as the license files that are shared over all "Single.VB" packages. Some philosophy: Extension methods and other static utility functions are not shared accross projects resp. assemblies but included wherever they are needed. For that reason they are declared "Friend" and namespace-less as they are supposed to be part of the project's current namespace. Unit test files are added directly to the project and declared "Public" because of limitations of that framework, but they are only compiled in debug mode (through a compiler directive that checks for the "DEBUG" keyword). This allows to keep the tests very near to the code which simplifies access to internal members but does not bulk the published version. The reference to "Microsoft.VisualStudio.TestTools.UnitTesting" (assembly "Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll") is only needed during development and may be declared with "Copy Local = False". The NuGet package version is global across all "Single.VB" packages, and they always reference other packages of the same version (most recent at the time of publishing). This greatly simplifies my dependency handling and therefore improves the quality of the NuGet packages, but may leed to an updated package that does not contain any code change. I apologize for that inconvenience. Your feedback and/or contribution is welcome. Please contact me on firstname.lastname@example.org.
- View on NuGet: http://www.nuget.org/packages/SingleFile.VB.ExtString.EnumerateLines
Here are the packages that version 1.0.25 of SingleFile.VB.ExtString.EnumerateLines depends on.SingleFile.VB.LicenseInfo.MitLicense : (1.0.27)
TagsSingleFile.VB.ExtString.EnumerateLines ExtString_EnumerateLines.vb Test_ExtString_EnumerateLines.vb split enumerate get yield splitIntoLines splitLines getLines enumerateLines yieldLines extension method SingleFile.VB SingleFile VB.NET Source Christoph Hafner email@example.com
Installing with NuGet
PM> Install-Package SingleFile.VB.ExtString.EnumerateLines
Packages that Depend on SingleFile.VB.ExtString.EnumerateLines
No packages were found that depend on version 1.0.25.