mirror of https://github.com/mono/CppSharp.git
c-sharpdotnetmonobindingsbridgecclangcpluspluscppsharpglueinteropparserparsingpinvokeswigsyntax-treevisitorsxamarinxamarin-bindings
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
934 B
28 lines
934 B
<#@ template language="C#" inherits="EnumBase" #> |
|
<#@ import namespace="System.IO" #> |
|
<#@ import namespace="System.Linq" #> |
|
<#@ import namespace="System.Collections.Generic" #> |
|
<#@ import namespace="Mono.Cxxi" #> |
|
<# |
|
var @namespace = Generator.Lib.BaseNamespace + (Enum.ParentNamespace != null? "." + string.Join (".", Enum.ParentNamespace.FullyQualifiedName) : ""); |
|
|
|
if (!Nested) { |
|
#> |
|
|
|
// ------------------------------------------------------------------------- |
|
// Managed enum for <#= Enum.Name #> |
|
// Generated from <#= Path.GetFileName (Generator.InputFileName) #> on <#= DateTime.Now #> |
|
// |
|
// This file was auto generated. Do not edit. |
|
// ------------------------------------------------------------------------- |
|
|
|
namespace <#= @namespace #> { |
|
<# } /* if !Nested */ #> |
|
public enum <#= Enum.Name #> { |
|
<# foreach (var item in Enum.Items) { #> |
|
<#= item.Name #> = <#= item.Value #>, |
|
<# } #> |
|
} |
|
<# if (!Nested) { #> |
|
} |
|
<# } #> |