FileGenerator.CodeGenerator.WriteStart C# (CSharp) Method

WriteStart() protected method

protected WriteStart ( string namespaceName ) : void
namespaceName string
return void
    protected void WriteStart(string namespaceName)
    {
      _Writer.WriteLine("//=================================================================================================");
      _Writer.WriteLine("// Copyright 2013-" + DateTime.Now.Year + " Dirk Lemstra <https://magick.codeplex.com/>");
      _Writer.WriteLine("//");
      _Writer.WriteLine("// Licensed under the ImageMagick License (the \"License\"); you may not use this file except in");
      _Writer.WriteLine("// compliance with the License. You may obtain a copy of the License at");
      _Writer.WriteLine("//");
      _Writer.WriteLine("//   http://www.imagemagick.org/script/license.php");
      _Writer.WriteLine("//");
      _Writer.WriteLine("// Unless required by applicable law or agreed to in writing, software distributed under the");
      _Writer.WriteLine("// License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either");
      _Writer.WriteLine("// express or implied. See the License for the specific language governing permissions and");
      _Writer.WriteLine("// limitations under the License.");
      _Writer.WriteLine("//=================================================================================================");
      _Writer.WriteLine("// <auto-generated/>");
      _Writer.WriteLine();
      WriteUsing();
      _Writer.WriteLine("namespace " + namespaceName);
      WriteStartColon();
    }