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

Commit cd0751c

Browse files
committed
Adding APACHE 2.0 headers
1 parent fa49334 commit cd0751c

File tree

3 files changed

+57
-6
lines changed

3 files changed

+57
-6
lines changed

dotnet/Google.Apis.YouTube.Samples.Playlists/PlaylistUpdates.cs

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,21 @@
1-
using System;
1+
/*
2+
* Copyright 2015 Google Inc. All Rights Reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*
16+
*/
17+
18+
using System;
219
using System.IO;
320
using System.Reflection;
421
using System.Threading;
@@ -85,4 +102,4 @@ private async Task Run()
85102
Console.WriteLine("Playlist item id {0} was added to playlist id {1}.", newPlaylistItem.Id, newPlaylist.Id);
86103
}
87104
}
88-
}
105+
}

dotnet/Google.Apis.YouTube.Samples.Search/Search.cs

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,21 @@
1-
using System;
1+
/*
2+
* Copyright 2015 Google Inc. All Rights Reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*
16+
*/
17+
18+
using System;
219
using System.Collections.Generic;
320
using System.IO;
421
using System.Reflection;
@@ -91,4 +108,4 @@ private async Task Run()
91108
Console.WriteLine(String.Format("Playlists:\n{0}\n", string.Join("\n", playlists)));
92109
}
93110
}
94-
}
111+
}

dotnet/Google.Apis.YouTube.Samples.Upload/UploadVideo.cs

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,21 @@
1-
using System;
1+
/*
2+
* Copyright 2015 Google Inc. All Rights Reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*
16+
*/
17+
18+
using System;
219
using System.IO;
320
using System.Reflection;
421
using System.Threading;
@@ -103,4 +120,4 @@ void videosInsertRequest_ResponseReceived(Video video)
103120
Console.WriteLine("Video id '{0}' was successfully uploaded.", video.Id);
104121
}
105122
}
106-
}
123+
}

0 commit comments

Comments
 (0)