commits

date

comment

69709
by Project Collectio...
(150 downloads)
Oct 1, 2012
11:10 PM

Upgrade: New Version of LabDefaultTemplate.xaml. To upgrade your build definitions, please visit the following link: http://go.microsoft.com/fwlink/?LinkId=254563

69708
by Project Collectio...
(0 downloads)
Oct 1, 2012
11:06 PM

Checked in by server upgrade

32395
by Jacco
(361 downloads)
Mar 21, 2009
11:48 AM

Added a TypeOf<T> static class helper
Added
Type.GetValues

And some tests

(not finished)

32394
by Jacco
(36 downloads)
Mar 21, 2009
11:18 AM

Added signing

<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>nxl.snk</AssemblyOriginatorKeyFile>

Added files:
EnumTests.cs
XmlWriterTests.cs

And the key-file

32393
by Jacco
(8 downloads)
Mar 21, 2009
11:17 AM

Added tests

32392
by Jacco
(38 downloads)
Mar 21, 2009
11:16 AM

32391
by Jacco
(29 downloads)
Mar 21, 2009
11:16 AM

Added same key as main project (is that OK?)

32390
by Jacco
(30 downloads)
Mar 21, 2009
11:15 AM

Added
int.IsPrime

And a temporary
ValueType.IsPrimeNew

32389
by Jacco
(29 downloads)
Mar 21, 2009
11:14 AM

Added
IConvertible.ToDays

Does same as Days but for all IConvertibles, may have some unwanted extensions

Name is better I think

32388
by Jacco
(35 downloads)
Mar 21, 2009
11:11 AM

Moved the resource manager
Changed some comments (not happy with it does same as Left)
Added:
string.Truncate

32387
by Jacco
(34 downloads)
Mar 21, 2009
11:09 AM

Added ToHex extension for
byte, sbyte, short, ushort, int, uint, long, ulong and also for
byte?, sbyte?, short?, ushort?, int?, uint?, long?, ulong?

Tried to have some HexOptions:

[Flags]
public enum HexOptions
{
None = 0,
Default = CaseDefault | EndianLittle | LayoutDefault,
CaseUpper = 1,
CaseLower = 0,
CaseDefault = 0,
EndianLittle = 2,
EndianBig = 4,
// EndianMiddle = EndianBig | EndianLittle, // easy to implement
EndianDefault = 2,
Layout8Bit = 0,
// Layout16Bit = 8, // when this is used we need to append 0x00 sometimes
// Layout32Bit = 16, // when this is used we need to append 0x000000 somtimes
LayoutDefault = 0
}

EndianMiddle and the LayoutXXX options are not yet implemented

Uses a copy of an unsafe class of the .NET frame (Xml)

Has some internals that need testing

Also added a BytesBuilder class that is a "wrapper" for a stringbuilder to build a byte array.

32386
by Jacco
(34 downloads)
Mar 21, 2009
11:04 AM

Added:
IEnumerable.IsNullOrEmpty
IEnumerable.IsEmpty (throws exception if null)
IListSource.IsNullOrEmpty
todo IContainer

32385
by Jacco
(34 downloads)
Mar 21, 2009
11:02 AM

Added two extensions for
Stream.StreamLines (rename needed)
One is not an extension but one that accepts a function that returns a stream for delayed construction. (Am not happy with it yet)

32384
by Jacco
(34 downloads)
Mar 21, 2009
11:00 AM

Added extensions:
object.IsNull
object.IsNotNull
ValueType.IsEmpty (which should probably be renamed to IsDefault)
ValueType.IsNotEmpty (same goes here)

32383
by Jacco
(32 downloads)
Mar 21, 2009
10:57 AM

To reuse resource strings of the .NET framework I added this class
!! It is not finished yet since it should be able to choose different assembly ResourceStrings.cs

32382
by Jacco
(32 downloads)
Mar 21, 2009
10:56 AM

Here the setting is stored:

<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>nxl.snk</AssemblyOriginatorKeyFile>

Also added

<DocumentationFile>bin\Debug\CodeBetter.Extensions.XML</DocumentationFile>

So XML files get generated for Sandcastle documentation generation

<AllowUnsafeBlocks>true</AllowUnsafeBlocks>

Because the ToHex functionality uses one unsafe class (copied from Microsoft)

Three files added:
EnumExtensions.cs
ResourceStrings.cs
XmlWriterExtensions.cs

32381
by Jacco
(28 downloads)
Mar 21, 2009
10:53 AM

Because the main library contains internal classes I want to test with the test library I added an InternalsVisibleTo here. Also I signed the test assembly (with the same key). This was necessary for the InternalsVisibleTo to work. Also followed a hint of VS2008 to change the [assembly: AssemblyKeyFile("../../nxl.snk")] to an setting.

32380
by Jacco
(30 downloads)
Mar 21, 2009
10:47 AM

Test for the XmlWriter extensions

32377
by Jacco
(36 downloads)
Mar 21, 2009
9:54 AM

XmlWriterExtension added

32219
by Jacco
(36 downloads)
Mar 14, 2009
12:28 PM

Updated the ToDouble and ToFloat tests so they work anywhere in the world

32218
by Jacco
(31 downloads)
Mar 14, 2009
12:26 PM

Updated GetDouble and GetFloat tests so they work anywhere in the world

32217
by Jacco
(28 downloads)
Mar 14, 2009
12:25 PM

Updated CopyTest so that is works anywhere in the world

32135
by Jacco
(9 downloads)
Mar 12, 2009
7:35 AM

Corrected the RightOf test RightOf_StartIndex
Should expect an exception

32134
by Jacco
(24 downloads)
Mar 12, 2009
7:10 AM

Added a few tests RightOf string extension

32133
by Jacco
(5 downloads)
Mar 12, 2009
7:08 AM

Added RightOf string extension (totals 4 overloads)
Also added a ResourceManager singleton to be able to reuse the mscorlib exception messages. These are translated to the current language for the user.