source:
trunk/sources/HeuristicLab.Persistence/3.3/Core/TypeExtensions.cs
@
1555
Last change on this file since 1555 was 1555, checked in by epitzer, 15 years ago | |
---|---|
File size: 353 bytes |
Line | |
---|---|
1 | using System; |
2 | using System.Text; |
3 | |
4 | namespace HeuristicLab.Persistence.Core { |
5 | |
6 | public static class TypeExtensions { |
7 | |
8 | public static string VersionInvariantName(this Type type) { |
9 | StringBuilder sb = new StringBuilder(); |
10 | TypeStringBuilder.BuildVersionInvariantName(type, sb); |
11 | return sb.ToString(); |
12 | } |
13 | |
14 | } |
15 | |
16 | } |
Note: See TracBrowser
for help on using the repository browser.