| Change Set |
Date |
Downloads |
Comment |
32395
by
Jacco
|
Mar 21 at
11:48 AM
|
146 |
Added a TypeOf<T> static class helper Added Type.GetValues
And some tests
(not finished) |
32394
by
Jacco
|
Mar 21 at
11:18 AM
|
14 |
Added signing
<SignAssembly>true</SignAssembly> <AssemblyOriginatorKeyFile>nxl.snk</AssemblyOriginatorKeyFile>
Added files: EnumTests.cs XmlWriterTests.cs
And the key-file
|
32393
by
Jacco
|
Mar 21 at
11:17 AM
|
8 |
Added tests |
32392
by
Jacco
|
Mar 21 at
11:16 AM
|
16 |
|
32391
by
Jacco
|
Mar 21 at
11:16 AM
|
11 |
Added same key as main project (is that OK?) |
32390
by
Jacco
|
Mar 21 at
11:15 AM
|
11 |
Added int.IsPrime
And a temporary ValueType.IsPrimeNew |
32389
by
Jacco
|
Mar 21 at
11:14 AM
|
10 |
Added IConvertible.ToDays
Does same as Days but for all IConvertibles, may have some unwanted extensions
Name is better I think
|
32388
by
Jacco
|
Mar 21 at
11:11 AM
|
17 |
Moved the resource manager Changed some comments (not happy with it does same as Left) Added: string.Truncate |
32387
by
Jacco
|
Mar 21 at
11:09 AM
|
16 |
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
|
Mar 21 at
11:04 AM
|
15 |
Added: IEnumerable.IsNullOrEmpty IEnumerable.IsEmpty (throws exception if null) IListSource.IsNullOrEmpty todo IContainer
|
32385
by
Jacco
|
Mar 21 at
11:02 AM
|
17 |
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
|
Mar 21 at
11:00 AM
|
17 |
Added extensions: object.IsNull object.IsNotNull ValueType.IsEmpty (which should probably be renamed to IsDefault) ValueType.IsNotEmpty (same goes here)
|
32383
by
Jacco
|
Mar 21 at
10:57 AM
|
14 |
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
|
Mar 21 at
10:56 AM
|
11 |
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
|
Mar 21 at
10:53 AM
|
12 |
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
|
Mar 21 at
10:47 AM
|
11 |
Test for the XmlWriter extensions |
32377
by
Jacco
|
Mar 21 at
9:54 AM
|
17 |
XmlWriterExtension added |
32219
by
Jacco
|
Mar 14 at
12:28 PM
|
19 |
Updated the ToDouble and ToFloat tests so they work anywhere in the world |
32218
by
Jacco
|
Mar 14 at
12:26 PM
|
11 |
Updated GetDouble and GetFloat tests so they work anywhere in the world |
32217
by
Jacco
|
Mar 14 at
12:25 PM
|
15 |
Updated CopyTest so that is works anywhere in the world |
32135
by
Jacco
|
Mar 12 at
7:35 AM
|
9 |
Corrected the RightOf test RightOf_StartIndex Should expect an exception |
32134
by
Jacco
|
Mar 12 at
7:10 AM
|
12 |
Added a few tests RightOf string extension |
32133
by
Jacco
|
Mar 12 at
7:08 AM
|
5 |
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. |
30675
by
KarlSeg
|
Jan 26 at
4:17 PM
|
87 |
Added string.ToDecimal() |
29431
by
KarlSeg
|
Dec 29 2008 at
7:57 PM
|
88 |
Added Date extensions to support Epoch-times and IList.Map |