aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2018-08-01 10:27:33 +0200
committerGravatar Jan Tattermusch <jtattermusch@google.com>2018-08-01 10:27:33 +0200
commit5e6af822419e8106f96ab1441aa24e27eab1d5b7 (patch)
tree5a94f70bd73300dd4e1c4acbe7b8d1d60bc54135
parent85b00527910d575b3018cd62bf50dc99033278ba (diff)
add copyright notice for HelloworldXamarin
-rw-r--r--examples/csharp/HelloworldXamarin/Droid/MainActivity.cs20
-rw-r--r--examples/csharp/HelloworldXamarin/Droid/Properties/AssemblyInfo.cs20
-rw-r--r--examples/csharp/HelloworldXamarin/iOS/AppDelegate.cs20
-rw-r--r--examples/csharp/HelloworldXamarin/iOS/Main.cs20
-rw-r--r--examples/csharp/HelloworldXamarin/iOS/ViewController.cs20
5 files changed, 95 insertions, 5 deletions
diff --git a/examples/csharp/HelloworldXamarin/Droid/MainActivity.cs b/examples/csharp/HelloworldXamarin/Droid/MainActivity.cs
index 5883f79f09..353943ced6 100644
--- a/examples/csharp/HelloworldXamarin/Droid/MainActivity.cs
+++ b/examples/csharp/HelloworldXamarin/Droid/MainActivity.cs
@@ -1,4 +1,22 @@
-using Android.App;
+#region Copyright notice and license
+
+// Copyright 2018 The gRPC Authors
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#endregion
+
+using Android.App;
using Android.Widget;
using Android.OS;
using System.Threading.Tasks;
diff --git a/examples/csharp/HelloworldXamarin/Droid/Properties/AssemblyInfo.cs b/examples/csharp/HelloworldXamarin/Droid/Properties/AssemblyInfo.cs
index 4c952aa191..5a479659da 100644
--- a/examples/csharp/HelloworldXamarin/Droid/Properties/AssemblyInfo.cs
+++ b/examples/csharp/HelloworldXamarin/Droid/Properties/AssemblyInfo.cs
@@ -1,4 +1,22 @@
-using System.Reflection;
+#region Copyright notice and license
+
+// Copyright 2018 The gRPC Authors
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#endregion
+
+using System.Reflection;
using System.Runtime.CompilerServices;
using Android.App;
diff --git a/examples/csharp/HelloworldXamarin/iOS/AppDelegate.cs b/examples/csharp/HelloworldXamarin/iOS/AppDelegate.cs
index 5c95359087..e7620f91a2 100644
--- a/examples/csharp/HelloworldXamarin/iOS/AppDelegate.cs
+++ b/examples/csharp/HelloworldXamarin/iOS/AppDelegate.cs
@@ -1,4 +1,22 @@
-using Foundation;
+#region Copyright notice and license
+
+// Copyright 2018 The gRPC Authors
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#endregion
+
+using Foundation;
using UIKit;
namespace HelloworldXamarin.iOS
diff --git a/examples/csharp/HelloworldXamarin/iOS/Main.cs b/examples/csharp/HelloworldXamarin/iOS/Main.cs
index 76b1598577..a4ddf35c70 100644
--- a/examples/csharp/HelloworldXamarin/iOS/Main.cs
+++ b/examples/csharp/HelloworldXamarin/iOS/Main.cs
@@ -1,4 +1,22 @@
-using System;
+#region Copyright notice and license
+
+// Copyright 2018 The gRPC Authors
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#endregion
+
+using System;
using System.Collections.Generic;
using System.Linq;
diff --git a/examples/csharp/HelloworldXamarin/iOS/ViewController.cs b/examples/csharp/HelloworldXamarin/iOS/ViewController.cs
index ba4618c018..c553c1eb48 100644
--- a/examples/csharp/HelloworldXamarin/iOS/ViewController.cs
+++ b/examples/csharp/HelloworldXamarin/iOS/ViewController.cs
@@ -1,4 +1,22 @@
-using System;
+#region Copyright notice and license
+
+// Copyright 2018 The gRPC Authors
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#endregion
+
+using System;
using System.Threading.Tasks;
using Grpc.Core;