Skip to content
This repository was archived by the owner on Dec 12, 2024. It is now read-only.

Commit 7051966

Browse files
authored
Add license to source code. (#8)
* Add license to C# files. * Add license to C files. * Add license to .h files. * Add license to Swift files.
1 parent d437094 commit 7051966

File tree

446 files changed

+1742
-420
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

446 files changed

+1742
-420
lines changed

Dynamo/CodeElementCollection.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using System;
25
using System.Collections.Generic;
36
using System.Linq;
47

Dynamo/CodeWriter.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using System;
25
using System.Globalization;
36
using System.IO;
47

Dynamo/CommaListElementCollection.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using System;
25
using System.Collections.Generic;
36

47
namespace Dynamo {

Dynamo/DecoratedCodeElementCollection.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System.Collections.Generic;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using System.Collections.Generic;
25

36
namespace Dynamo {
47
public class DecoratedCodeElementCollection<T> : CodeElementCollection<T> where T : ICodeElement {

Dynamo/DelegatedCommaListElementCollection.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using System;
25
using System.Collections.Generic;
36

47
namespace Dynamo {

Dynamo/DelegatedSimpleElement.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using System;
25

36
namespace Dynamo {
47
public abstract class DelegatedSimpleElement : ICodeElement {

Dynamo/Dynamo.CSLang/CSArgument.cs

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-

1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
24
namespace Dynamo.CSLang {
35
public class CSArgument : DelegatedSimpleElement {
46
public CSArgument (ICSExpression expr)

Dynamo/Dynamo.CSLang/CSArray1D.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using System;
25
using System.Collections.Generic;
36

47
namespace Dynamo.CSLang

Dynamo/Dynamo.CSLang/CSAssignment.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using System;
25
using Dynamo;
36

47
namespace Dynamo.CSLang {

Dynamo/Dynamo.CSLang/CSAttribute.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using System;
25
using System.Runtime.InteropServices;
36

47
namespace Dynamo.CSLang {

Dynamo/Dynamo.CSLang/CSBaseExpression.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using System;
25
using Dynamo;
36

47
namespace Dynamo.CSLang {

Dynamo/Dynamo.CSLang/CSBinaryExpression.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using System;
25

36

47
namespace Dynamo.CSLang {

Dynamo/Dynamo.CSLang/CSBinding.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using System;
25
using System.Linq;
36
using System.Collections.Generic;
47

Dynamo/Dynamo.CSLang/CSClass.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using System;
25
using System.Collections.Generic;
36
using System.Linq;
47
using Dynamo;

Dynamo/Dynamo.CSLang/CSCodeBlock.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using System;
25
using System.Collections.Generic;
36

47
namespace Dynamo.CSLang {

Dynamo/Dynamo.CSLang/CSComment.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using System;
25
using System.Collections.Generic;
36

47
namespace Dynamo.CSLang {

Dynamo/Dynamo.CSLang/CSConditionalCompilation.cs

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using System;
25
using Dynamo;
36

47
namespace Dynamo.CSLang {
@@ -24,4 +27,4 @@ public static CSConditionalCompilation If (CSIdentifier condition)
2427
return new CSConditionalCompilation (new CSIdentifier ("#if"), Exceptions.ThrowOnNull (condition, nameof (condition)));
2528
}
2629
}
27-
}
30+
}

Dynamo/Dynamo.CSLang/CSConstant.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using System;
25
using Dynamo;
36
using System.IO;
47
using System.CodeDom.Compiler;

Dynamo/Dynamo.CSLang/CSDelegateTypeDecl.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using System;
25

36
namespace Dynamo.CSLang {
47
public class CSDelegateTypeDecl : DelegatedSimpleElement, ICSStatement {

Dynamo/Dynamo.CSLang/CSEnum.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using System;
25
using System.Collections.Generic;
36
using System.Linq;
47

Dynamo/Dynamo.CSLang/CSFieldDeclaration.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using System;
25
using System.Collections.Generic;
36
using System.Linq;
47
using Dynamo;

Dynamo/Dynamo.CSLang/CSFile.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using System;
25
using System.Collections.Generic;
36
using System.Linq;
47
using Dynamo;

Dynamo/Dynamo.CSLang/CSFileBasic.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using System;
25

36
namespace Dynamo.CSLang {
47
public class CSFileBasic : ICodeElementSet {

Dynamo/Dynamo.CSLang/CSFixed.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using System;
25
using System.Collections.Generic;
36

47
namespace Dynamo.CSLang {

Dynamo/Dynamo.CSLang/CSForEach.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using System;
25
namespace Dynamo.CSLang {
36
public class CSForEach : CodeElementCollection<ICodeElement>, ICSStatement {
47

Dynamo/Dynamo.CSLang/CSFunctionCall.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using System;
25

36
namespace Dynamo.CSLang {
47
public class CSFunctionCall : CSBaseExpression, ICSLineable {

Dynamo/Dynamo.CSLang/CSGenericConstraint.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using System;
25
using System.Collections.Generic;
36

47
namespace Dynamo.CSLang {

Dynamo/Dynamo.CSLang/CSGenericTypeDeclaration.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using System;
25
using System.Collections.Generic;
36

47
namespace Dynamo.CSLang {

Dynamo/Dynamo.CSLang/CSIdentifier.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using System;
25
using Dynamo;
36

47
namespace Dynamo.CSLang {

Dynamo/Dynamo.CSLang/CSIfElse.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using System;
25
using System.Collections.Generic;
36

47
namespace Dynamo.CSLang {

Dynamo/Dynamo.CSLang/CSIndexExpression.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using System;
25

36
namespace Dynamo.CSLang {
47
public class CSIndexExpression : CSBaseExpression {

Dynamo/Dynamo.CSLang/CSInheritance.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using System;
25
using System.Collections.Generic;
36
using System.Linq;
47
using System.IO;

Dynamo/Dynamo.CSLang/CSInitializer.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using System;
25
using System.Collections.Generic;
36

47
namespace Dynamo.CSLang {

Dynamo/Dynamo.CSLang/CSInterface.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using System;
25
using System.Collections.Generic;
36
using System.Linq;
47

Dynamo/Dynamo.CSLang/CSLambda.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using System;
25
using System.Linq;
36
using System.Collections.Generic;
47

Dynamo/Dynamo.CSLang/CSLine.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using System;
25
using Dynamo;
36

47
namespace Dynamo.CSLang {

Dynamo/Dynamo.CSLang/CSMethod.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using System;
25
using System.Collections.Generic;
36
using System.Linq;
47
using Dynamo;

Dynamo/Dynamo.CSLang/CSNamespace.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using System;
25
using Dynamo;
36
using System.Linq;
47
using System.Collections.Generic;

Dynamo/Dynamo.CSLang/CSParameter.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using System;
25
using System.Collections.Generic;
36
using System.Linq;
47
using Dynamo;

Dynamo/Dynamo.CSLang/CSParenthesisExpression.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using System;
25

36
namespace Dynamo.CSLang {
47
public class CSParenthesisExpression : CSBaseExpression {

Dynamo/Dynamo.CSLang/CSProperty.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using System;
25
using System.Text;
36
using System.Collections.Generic;
47
using System.Linq;

Dynamo/Dynamo.CSLang/CSReturn.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
namespace Dynamo.CSLang {
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
namespace Dynamo.CSLang {
25
public class CSReturn : DelegatedSimpleElement, ICSExpression, ICSLineable {
36
public CSReturn (ICSExpression expr)
47
{

Dynamo/Dynamo.CSLang/CSTernary.cs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
using System;
1+
// Copyright (c) Microsoft Corporation.
2+
// Licensed under the MIT License.
3+
4+
using System;
25

36
namespace Dynamo.CSLang {
47
public class CSTernary : CSBaseExpression {

0 commit comments

Comments
 (0)