Skip to content

Commit 5e9438e

Browse files
committed
Apply change to copyright notice in file headers
1 parent 011988e commit 5e9438e

665 files changed

Lines changed: 65881 additions & 79734 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 19 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,20 @@
1-
// --------------------------------------------------------------------------------------------------------------------
2-
// <copyright file="ExampleAttribute.cs" company="OxyPlot">
3-
// The MIT License (MIT)
4-
//
5-
// Copyright (c) 2014 OxyPlot contributors
6-
//
7-
// Permission is hereby granted, free of charge, to any person obtaining a
8-
// copy of this software and associated documentation files (the
9-
// "Software"), to deal in the Software without restriction, including
10-
// without limitation the rights to use, copy, modify, merge, publish,
11-
// distribute, sublicense, and/or sell copies of the Software, and to
12-
// permit persons to whom the Software is furnished to do so, subject to
13-
// the following conditions:
14-
//
15-
// The above copyright notice and this permission notice shall be included
16-
// in all copies or substantial portions of the Software.
17-
//
18-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
19-
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
20-
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
21-
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
22-
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
23-
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
24-
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25-
// </copyright>
26-
// --------------------------------------------------------------------------------------------------------------------
27-
28-
using System;
29-
30-
namespace ExampleLibrary
31-
{
32-
[AttributeUsage(AttributeTargets.Method)]
33-
public class ExampleAttribute : Attribute
34-
{
35-
public string Title { get; set; }
36-
public ExampleAttribute(string title = null)
37-
{
38-
this.Title = title;
39-
}
40-
}
1+
// --------------------------------------------------------------------------------------------------------------------
2+
// <copyright file="ExampleAttribute.cs" company="OxyPlot">
3+
// Copyright (c) 2014 OxyPlot contributors
4+
// </copyright>
5+
// --------------------------------------------------------------------------------------------------------------------
6+
7+
using System;
8+
9+
namespace ExampleLibrary
10+
{
11+
[AttributeUsage(AttributeTargets.Method)]
12+
public class ExampleAttribute : Attribute
13+
{
14+
public string Title { get; set; }
15+
public ExampleAttribute(string title = null)
16+
{
17+
this.Title = title;
18+
}
19+
}
4120
}
Lines changed: 19 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,20 @@
1-
// --------------------------------------------------------------------------------------------------------------------
2-
// <copyright file="ExamplesAttribute.cs" company="OxyPlot">
3-
// The MIT License (MIT)
4-
//
5-
// Copyright (c) 2014 OxyPlot contributors
6-
//
7-
// Permission is hereby granted, free of charge, to any person obtaining a
8-
// copy of this software and associated documentation files (the
9-
// "Software"), to deal in the Software without restriction, including
10-
// without limitation the rights to use, copy, modify, merge, publish,
11-
// distribute, sublicense, and/or sell copies of the Software, and to
12-
// permit persons to whom the Software is furnished to do so, subject to
13-
// the following conditions:
14-
//
15-
// The above copyright notice and this permission notice shall be included
16-
// in all copies or substantial portions of the Software.
17-
//
18-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
19-
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
20-
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
21-
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
22-
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
23-
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
24-
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25-
// </copyright>
26-
// --------------------------------------------------------------------------------------------------------------------
27-
28-
using System;
29-
30-
namespace ExampleLibrary
31-
{
32-
[AttributeUsage(AttributeTargets.Class)]
33-
public class ExamplesAttribute : Attribute
34-
{
35-
public string Category { get; set; }
36-
public ExamplesAttribute(string category = null)
37-
{
38-
this.Category = category;
39-
}
40-
}
1+
// --------------------------------------------------------------------------------------------------------------------
2+
// <copyright file="ExamplesAttribute.cs" company="OxyPlot">
3+
// Copyright (c) 2014 OxyPlot contributors
4+
// </copyright>
5+
// --------------------------------------------------------------------------------------------------------------------
6+
7+
using System;
8+
9+
namespace ExampleLibrary
10+
{
11+
[AttributeUsage(AttributeTargets.Class)]
12+
public class ExamplesAttribute : Attribute
13+
{
14+
public string Category { get; set; }
15+
public ExamplesAttribute(string category = null)
16+
{
17+
this.Category = category;
18+
}
19+
}
4120
}
Lines changed: 69 additions & 90 deletions
Original file line numberDiff line numberDiff line change
@@ -1,91 +1,70 @@
1-
// --------------------------------------------------------------------------------------------------------------------
2-
// <copyright file="ErrorItem.cs" company="OxyPlot">
3-
// The MIT License (MIT)
4-
//
5-
// Copyright (c) 2014 OxyPlot contributors
6-
//
7-
// Permission is hereby granted, free of charge, to any person obtaining a
8-
// copy of this software and associated documentation files (the
9-
// "Software"), to deal in the Software without restriction, including
10-
// without limitation the rights to use, copy, modify, merge, publish,
11-
// distribute, sublicense, and/or sell copies of the Software, and to
12-
// permit persons to whom the Software is furnished to do so, subject to
13-
// the following conditions:
14-
//
15-
// The above copyright notice and this permission notice shall be included
16-
// in all copies or substantial portions of the Software.
17-
//
18-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
19-
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
20-
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
21-
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
22-
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
23-
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
24-
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25-
// </copyright>
26-
// <summary>
27-
// Represents an error item.
28-
// </summary>
29-
// --------------------------------------------------------------------------------------------------------------------
30-
31-
namespace ExampleLibrary
32-
{
33-
using OxyPlot;
34-
35-
/// <summary>
36-
/// Represents an error item.
37-
/// </summary>
38-
public class ErrorItem
39-
{
40-
/// <summary>
41-
/// Initializes a new instance of the <see cref="ErrorItem" /> class.
42-
/// </summary>
43-
public ErrorItem()
44-
{
45-
}
46-
47-
/// <summary>
48-
/// Initializes a new instance of the <see cref="ErrorItem" /> class.
49-
/// </summary>
50-
/// <param name="x">The x.</param>
51-
/// <param name="y">The y.</param>
52-
/// <param name="xerror">The xerror.</param>
53-
/// <param name="yerror">The yerror.</param>
54-
public ErrorItem(double x, double y, double xerror, double yerror)
55-
{
56-
this.X = x;
57-
this.Y = y;
58-
this.XError = xerror;
59-
this.YError = yerror;
60-
}
61-
62-
/// <summary>
63-
/// Gets or sets the X.
64-
/// </summary>
65-
public double X { get; set; }
66-
67-
/// <summary>
68-
/// Gets or sets the Y.
69-
/// </summary>
70-
public double Y { get; set; }
71-
72-
/// <summary>
73-
/// Gets or sets the X error.
74-
/// </summary>
75-
public double XError { get; set; }
76-
77-
/// <summary>
78-
/// Gets or sets the Y error.
79-
/// </summary>
80-
public double YError { get; set; }
81-
82-
/// <summary>
83-
/// Returns c# code that generates this instance.
84-
/// </summary>
85-
/// <returns>C# code.</returns>
86-
public string ToCode()
87-
{
88-
return CodeGenerator.FormatConstructor(this.GetType(), "{0},{1},{2},{3}", this.X, this.Y, this.XError, this.YError);
89-
}
90-
}
1+
// --------------------------------------------------------------------------------------------------------------------
2+
// <copyright file="ErrorItem.cs" company="OxyPlot">
3+
// Copyright (c) 2014 OxyPlot contributors
4+
// </copyright>
5+
// <summary>
6+
// Represents an error item.
7+
// </summary>
8+
// --------------------------------------------------------------------------------------------------------------------
9+
10+
namespace ExampleLibrary
11+
{
12+
using OxyPlot;
13+
14+
/// <summary>
15+
/// Represents an error item.
16+
/// </summary>
17+
public class ErrorItem
18+
{
19+
/// <summary>
20+
/// Initializes a new instance of the <see cref="ErrorItem" /> class.
21+
/// </summary>
22+
public ErrorItem()
23+
{
24+
}
25+
26+
/// <summary>
27+
/// Initializes a new instance of the <see cref="ErrorItem" /> class.
28+
/// </summary>
29+
/// <param name="x">The x.</param>
30+
/// <param name="y">The y.</param>
31+
/// <param name="xerror">The xerror.</param>
32+
/// <param name="yerror">The yerror.</param>
33+
public ErrorItem(double x, double y, double xerror, double yerror)
34+
{
35+
this.X = x;
36+
this.Y = y;
37+
this.XError = xerror;
38+
this.YError = yerror;
39+
}
40+
41+
/// <summary>
42+
/// Gets or sets the X.
43+
/// </summary>
44+
public double X { get; set; }
45+
46+
/// <summary>
47+
/// Gets or sets the Y.
48+
/// </summary>
49+
public double Y { get; set; }
50+
51+
/// <summary>
52+
/// Gets or sets the X error.
53+
/// </summary>
54+
public double XError { get; set; }
55+
56+
/// <summary>
57+
/// Gets or sets the Y error.
58+
/// </summary>
59+
public double YError { get; set; }
60+
61+
/// <summary>
62+
/// Returns c# code that generates this instance.
63+
/// </summary>
64+
/// <returns>C# code.</returns>
65+
public string ToCode()
66+
{
67+
return CodeGenerator.FormatConstructor(this.GetType(), "{0},{1},{2},{3}", this.X, this.Y, this.XError, this.YError);
68+
}
69+
}
9170
}

0 commit comments

Comments
 (0)