Skip to content

Commit 5cd4e14

Browse files
author
Matthias Radestock
committed
merge bug19111 into default
2 parents e764207 + 2bc9d48 commit 5cd4e14

File tree

1 file changed

+57
-0
lines changed

1 file changed

+57
-0
lines changed

projects/client/Apigen/src/apigen/Apigen.cs

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,63 @@ public void EmitSpecComment(object o) {
347347
public void EmitPrelude() {
348348
EmitLine("// Autogenerated code. Do not edit.");
349349
EmitLine("");
350+
EmitLine("// This source code is dual-licensed under the Apache License, version");
351+
EmitLine("// 2.0, and the Mozilla Public License, version 1.1.");
352+
EmitLine("//");
353+
EmitLine("// The APL v2.0:");
354+
EmitLine("//");
355+
EmitLine("//---------------------------------------------------------------------------");
356+
EmitLine("// Copyright (C) 2007-2009 LShift Ltd., Cohesive Financial");
357+
EmitLine("// Technologies LLC., and Rabbit Technologies Ltd.");
358+
EmitLine("//");
359+
EmitLine("// Licensed under the Apache License, Version 2.0 (the \"License\");");
360+
EmitLine("// you may not use this file except in compliance with the License.");
361+
EmitLine("// You may obtain a copy of the License at");
362+
EmitLine("//");
363+
EmitLine("// http://www.apache.org/licenses/LICENSE-2.0");
364+
EmitLine("//");
365+
EmitLine("// Unless required by applicable law or agreed to in writing, software");
366+
EmitLine("// distributed under the License is distributed on an \"AS IS\" BASIS,");
367+
EmitLine("// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.");
368+
EmitLine("// See the License for the specific language governing permissions and");
369+
EmitLine("// limitations under the License.");
370+
EmitLine("//---------------------------------------------------------------------------");
371+
EmitLine("//");
372+
EmitLine("// The MPL v1.1:");
373+
EmitLine("//");
374+
EmitLine("//---------------------------------------------------------------------------");
375+
EmitLine("// The contents of this file are subject to the Mozilla Public License");
376+
EmitLine("// Version 1.1 (the \"License\"); you may not use this file except in");
377+
EmitLine("// compliance with the License. You may obtain a copy of the License at");
378+
EmitLine("// http://www.rabbitmq.com/mpl.html");
379+
EmitLine("//");
380+
EmitLine("// Software distributed under the License is distributed on an \"AS IS\"");
381+
EmitLine("// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the");
382+
EmitLine("// License for the specific language governing rights and limitations");
383+
EmitLine("// under the License.");
384+
EmitLine("//");
385+
EmitLine("// The Original Code is The RabbitMQ .NET Client.");
386+
EmitLine("//");
387+
EmitLine("// The Initial Developers of the Original Code are LShift Ltd,");
388+
EmitLine("// Cohesive Financial Technologies LLC, and Rabbit Technologies Ltd.");
389+
EmitLine("//");
390+
EmitLine("// Portions created before 22-Nov-2008 00:00:00 GMT by LShift Ltd,");
391+
EmitLine("// Cohesive Financial Technologies LLC, or Rabbit Technologies Ltd");
392+
EmitLine("// are Copyright (C) 2007-2008 LShift Ltd, Cohesive Financial");
393+
EmitLine("// Technologies LLC, and Rabbit Technologies Ltd.");
394+
EmitLine("//");
395+
EmitLine("// Portions created by LShift Ltd are Copyright (C) 2007-2009 LShift");
396+
EmitLine("// Ltd. Portions created by Cohesive Financial Technologies LLC are");
397+
EmitLine("// Copyright (C) 2007-2009 Cohesive Financial Technologies");
398+
EmitLine("// LLC. Portions created by Rabbit Technologies Ltd are Copyright");
399+
EmitLine("// (C) 2007-2009 Rabbit Technologies Ltd.");
400+
EmitLine("//");
401+
EmitLine("// All Rights Reserved.");
402+
EmitLine("//");
403+
EmitLine("// Contributor(s): ______________________________________.");
404+
EmitLine("//");
405+
EmitLine("//---------------------------------------------------------------------------");
406+
EmitLine("");
350407
EmitLine("using RabbitMQ.Client;");
351408
EmitLine("using RabbitMQ.Client.Exceptions;");
352409
EmitLine("");

0 commit comments

Comments
 (0)