Mercurial > pub > bltoolkit
comparison Source/Properties/Revision.tt @ 0:f990fcb411a9
Копия текущей версии из github
author | cin |
---|---|
date | Thu, 27 Mar 2014 21:46:09 +0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:f990fcb411a9 |
---|---|
1 <#@ template language="C#v3.5" debug="True" #> | |
2 <#@ output extension=".generated.cs" #> | |
3 <#@ assembly name="System.Core" #> | |
4 <#@ import namespace="System.Linq" #> | |
5 // Autogenerated. Do not modify! | |
6 | |
7 namespace BLToolkit | |
8 { | |
9 partial class BLToolkitConstants | |
10 { | |
11 // <summary> | |
12 // Revision component of version. | |
13 // <summary> | |
14 public const string Revision = "<#= Revision() #>"; | |
15 } | |
16 } | |
17 | |
18 <#+ | |
19 string Revision() | |
20 { | |
21 try | |
22 { | |
23 return System.IO.File.ReadAllLines(@"..\..\_svn\entries").ElementAt(3); | |
24 } | |
25 catch | |
26 { | |
27 return "0"; | |
28 } | |
29 } | |
30 #> |