From 5e6af822419e8106f96ab1441aa24e27eab1d5b7 Mon Sep 17 00:00:00 2001 From: Jan Tattermusch Date: Wed, 1 Aug 2018 10:27:33 +0200 Subject: add copyright notice for HelloworldXamarin --- .../csharp/HelloworldXamarin/Droid/MainActivity.cs | 20 +++++++++++++++++++- .../Droid/Properties/AssemblyInfo.cs | 20 +++++++++++++++++++- examples/csharp/HelloworldXamarin/iOS/AppDelegate.cs | 20 +++++++++++++++++++- examples/csharp/HelloworldXamarin/iOS/Main.cs | 20 +++++++++++++++++++- .../csharp/HelloworldXamarin/iOS/ViewController.cs | 20 +++++++++++++++++++- 5 files changed, 95 insertions(+), 5 deletions(-) (limited to 'examples/csharp') 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; -- cgit v1.2.3