Skip to content

Commit 08a6dcf

Browse files
committed
Add autogenerated code notice in headers
1 parent e56ea9d commit 08a6dcf

7 files changed

+76
-6
lines changed

UnitsNet/Scripts/Include-GenerateNumberExtensionsSourceCode.ps1

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@ function GenerateNumberExtensionsSourceCode($unitClass)
33
$className = $unitClass.Name;
44
$units = $unitClass.Units;
55
@"
6+
//------------------------------------------------------------------------------
7+
// <auto-generated>
8+
// This code was generated by \GenerateUnits.bat.
9+
//
10+
// Changes to this file will be lost when the code is regenerated.
11+
// The build server regenerates the code before each build and a pre-build
12+
// step will regenerate the code on each local build.
13+
// </auto-generated>
14+
//------------------------------------------------------------------------------
15+
616
// Copyright (c) 2007 Andreas Gullberg Larsen ([email protected]).
717
// https://github.com/anjdreas/UnitsNet
818
//

UnitsNet/Scripts/Include-GenerateUnitClassEnumSourceCode.ps1

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
11
function GenerateUnitClassEnumSourceCode($unitClasses)
22
{
33
@"
4-
// Copyright © 2007 Andreas Gullberg Larsen ([email protected]).
4+
//------------------------------------------------------------------------------
5+
// <auto-generated>
6+
// This code was generated by \GenerateUnits.bat.
7+
//
8+
// Changes to this file will be lost when the code is regenerated.
9+
// The build server regenerates the code before each build and a pre-build
10+
// step will regenerate the code on each local build.
11+
// </auto-generated>
12+
//------------------------------------------------------------------------------
13+
14+
// Copyright (c) 2007 Andreas Gullberg Larsen ([email protected]).
515
// https://github.com/anjdreas/UnitsNet
616
//
717
// Permission is hereby granted, free of charge, to any person obtaining a copy

UnitsNet/Scripts/Include-GenerateUnitClassSourceCode.ps1

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,17 @@ function GenerateUnitClassSourceCode($unitClass)
2828
}
2929
}
3030
@"
31-
// Copyright © 2007 Andreas Gullberg Larsen ([email protected]).
31+
//------------------------------------------------------------------------------
32+
// <auto-generated>
33+
// This code was generated by \GenerateUnits.bat.
34+
//
35+
// Changes to this file will be lost when the code is regenerated.
36+
// The build server regenerates the code before each build and a pre-build
37+
// step will regenerate the code on each local build.
38+
// </auto-generated>
39+
//------------------------------------------------------------------------------
40+
41+
// Copyright (c) 2007 Andreas Gullberg Larsen ([email protected]).
3242
// https://github.com/anjdreas/UnitsNet
3343
//
3444
// Permission is hereby granted, free of charge, to any person obtaining a copy

UnitsNet/Scripts/Include-GenerateUnitEnumSourceCode.ps1

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,17 @@ function GenerateUnitEnumSourceCode($unitClass) {
33
$units = $unitClass.Units;
44
$unitEnumName = "$($className)Unit";
55
@"
6-
// Copyright © 2007 Andreas Gullberg Larsen ([email protected]).
6+
//------------------------------------------------------------------------------
7+
// <auto-generated>
8+
// This code was generated by \GenerateUnits.bat.
9+
//
10+
// Changes to this file will be lost when the code is regenerated.
11+
// The build server regenerates the code before each build and a pre-build
12+
// step will regenerate the code on each local build.
13+
// </auto-generated>
14+
//------------------------------------------------------------------------------
15+
16+
// Copyright (c) 2007 Andreas Gullberg Larsen ([email protected]).
717
// https://github.com/anjdreas/UnitsNet
818
//
919
// Permission is hereby granted, free of charge, to any person obtaining a copy

UnitsNet/Scripts/Include-GenerateUnitSystemDefaultSourceCode.ps1

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
11
function GenerateUnitSystemDefaultSourceCode($unitClasses)
22
{
33
@"
4-
// Copyright © 2007 Andreas Gullberg Larsen ([email protected]).
4+
//------------------------------------------------------------------------------
5+
// <auto-generated>
6+
// This code was generated by \GenerateUnits.bat.
7+
//
8+
// Changes to this file will be lost when the code is regenerated.
9+
// The build server regenerates the code before each build and a pre-build
10+
// step will regenerate the code on each local build.
11+
// </auto-generated>
12+
//------------------------------------------------------------------------------
13+
14+
// Copyright (c) 2007 Andreas Gullberg Larsen ([email protected]).
515
// https://github.com/anjdreas/UnitsNet
616
//
717
// Permission is hereby granted, free of charge, to any person obtaining a copy

UnitsNet/Scripts/Include-GenerateUnitTestBaseClassSourceCode.ps1

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,17 @@ function GenerateUnitTestBaseClassSourceCode($unitClass)
99
$unitEnumName = "$($className)Unit";
1010

1111
@"
12-
// Copyright © 2007 Andreas Gullberg Larsen ([email protected]).
12+
//------------------------------------------------------------------------------
13+
// <auto-generated>
14+
// This code was generated by \GenerateUnits.bat.
15+
//
16+
// Changes to this file will be lost when the code is regenerated.
17+
// The build server regenerates the code before each build and a pre-build
18+
// step will regenerate the code on each local build.
19+
// </auto-generated>
20+
//------------------------------------------------------------------------------
21+
22+
// Copyright (c) 2007 Andreas Gullberg Larsen ([email protected]).
1323
// https://github.com/anjdreas/UnitsNet
1424
//
1525
// Permission is hereby granted, free of charge, to any person obtaining a copy

UnitsNet/Scripts/Include-GenerateUnitTestPlaceholderSourceCode.ps1

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,17 @@ function GenerateUnitTestPlaceholderSourceCode($unitClass)
22
{
33
$className = $unitClass.Name;
44
@"
5-
// Copyright © 2007 Andreas Gullberg Larsen ([email protected]).
5+
//------------------------------------------------------------------------------
6+
// <auto-generated>
7+
// This code was generated by \GenerateUnits.bat.
8+
//
9+
// Changes to this file will be lost when the code is regenerated.
10+
// The build server regenerates the code before each build and a pre-build
11+
// step will regenerate the code on each local build.
12+
// </auto-generated>
13+
//------------------------------------------------------------------------------
14+
15+
// Copyright (c) 2007 Andreas Gullberg Larsen ([email protected]).
616
// https://github.com/anjdreas/UnitsNet
717
//
818
// Permission is hereby granted, free of charge, to any person obtaining a copy

0 commit comments

Comments
 (0)